intelligo-dev/intelligo
The application framework for vertical AI SaaS | auth, workspaces, billing, credits, execution boundary, page registry. You build the agent.
What it solves
AI products are two halves: the agent (your prompts, tools, and domain logic) and the surrounding SaaS infrastructure that is identical for every product—who is signed in, which workspace they belong to, whether their plan allows a request, what it costs, who to bill, and what to tell an auditor. Teams waste most of their time rebuilding this second half. Intelligo ships it finished as tested, typed packages so you can spend your effort on the agent that makes your product unique.
How it works
Intelligo is a monorepo of npm packages (auth, billing, executions, chat, core, jobs, audit, admin, next, mastra, cli) that install into your own Next.js application. It relies on a single PostgreSQL database (pgvector included) with no Redis. Your agent code stays fully native—you use the Vercel AI SDK, Mastra, or anything else exactly as its own docs describe, with no IntelligoAgent wrapper. Every AI run is 'bracketed, never wrapped': you call executions.begin() before your agent call and run.complete() after, so Intelligo checks the plan, holds credits against the workspace, records the run, settles actual token costs, and writes audit events. UI pages (login, dashboard, chat panel, billing settings, admin console) are installed as editable source code via a shadcn-style registry, with config files and next-intl translation namespaces so your customizations survive future upgrades.
Who it's for
Teams building production vertical AI SaaS who would otherwise build this infrastructure in-house, fork a SaaS boilerplate they must maintain alone, or get locked into an all-in-one AI platform that owns their agent. It targets developers using Next.js 16, strict TypeScript, Node 22+, pnpm, and PostgreSQL with pgvector.
Highlights
- Ships complete multi-tenant auth, roles, invitations, ownership transfer, and audited impersonation
- Includes a credit-based billing system with plan registry, feature gates, quotas, Stripe subscriptions, credit packs, and idempotent webhooks
- Execution boundary admits, meters, and settles every AI run without double-billing, using compare-and-swap and automatic expiry for dead processes
- Installs UI blocks as source code via a shadcn registry, with config and message files preserving your edits across re-installs
- Enforces architecture rules through failing tests (dependency direction, tenant scoping, model-id registration) rather than just documents
Related
- Project
- Project
- Project
- Project
- Project