Build AI Agent Swarms.
Skip the boilerplate.
The ultimate foundation for building and monetizing multi-agent systems. Complete with intelligent routing, task delegation, auth, and billing. Go from idea to production in hours.
No credit card required · Free plan available · Deploy in minutes

Everything you need to ship.
The foundational features of every great SaaS are already built-in, so you can spend your time focusing on your unique agent logic.
Authentication
Secure login, registration, and magic links powered by Auth.js.
Stripe Billing
Flexible subscription plans with automatic webhook syncing.
Customer Portal
Self-serve billing management, plan upgrades, and invoices.
Team Workspaces
Invite members, manage roles, and share resources seamlessly.
Admin Dashboard
High-level overview of users, revenue, and system health.
Dark Mode
Native light, dark, and system theme support out of the box.
MDX Blog
SEO-optimized, markdown-powered blog to drive organic traffic.
Email Templates
Beautifully styled, responsive transactional emails via Resend.
Database ORM
Type-safe database interactions configured with Prisma or Drizzle.
Rate Limiting
Built-in endpoint protection to prevent abuse and manage load.
Edge Ready
Optimized for Vercel Edge functions for lightning-fast responses.
i18n Support
Ready-to-configure internationalization for global audiences.
Background Workflows
Provide a high-level goal and watch the AI generate a deterministic, step-by-step execution plan. Workflows run in the background for minutes or hours without timing out, while you watch the agent "think" and execute live in the chat UI.
- Goal-Driven Planning
- Durable Execution Queue
- Live Run Ledger
True Human-in-the-Loop
Critical steps can be strictly flagged to require human review. Workflows automatically pause and alert you. Approve, reject, or provide feedback directly in the chat window, and the agent instantly resumes.
- Built-in Guardrails
- Seamless Approval Flow
- Email & Dashboard Alerts
Action Required
Workflow paused
The Legal Agent has finished reviewing the contract. Do you want to finalize and send to the client?
The Asset Interceptor
No more digging through endless chat logs. The system intelligently catches final deliverables as they are created and deposits them into a centralized, searchable vault.
hero-banner.png
Image • 2.4 MB
seo-report.md
Document • 12 KB
leads_q3.csv
Data • 840 KB
logo-variant.svg
Vector • 45 KB
Focus on your AI logic.
We handled the plumbing.
Building a robust, scalable multi-agent SaaS from scratch takes months. Skip the boilerplate setup and go straight to market.
| Component | Build Yourself | With Boilerplate |
|---|---|---|
| Universal Agentic Chat & Routing | 4-6 weeks | Pre-built |
| Background Execution Queue (QStash) | 3-4 weeks | Pre-built |
| Human-in-the-Loop (HITL) Guardrails | 2-3 weeks | Pre-built |
| Asset Interceptor & Vault UI | 2-3 weeks | Pre-built |
| Authentication (OAuth, Magic Links) | 1-2 weeks | Pre-built |
| Stripe Subscriptions & Webhooks | 2-3 weeks | Pre-built |
| Multi-tenant Organizations & Teams | 3-4 weeks | Pre-built |
| Admin Dashboard & ROI Analytics | 2-3 weeks | Pre-built |
| Dark Mode & Responsive UI | 1-2 weeks | Pre-built |
| Security, Patches & Dependency Updates | Ongoing | Included |
| Total Time to Launch | 4-6 Months | Days |
Launch in minutes, not months.
Watch how easy it is to clone the boilerplate, configure your custom agents in the registry, and deploy a production-ready vertical SaaS.
Frequently Asked Questions
Everything you need to know about the boilerplate, the architecture, and licensing.
Built for makers, by makers.
See how developers and founders are using our boilerplate to ship complex multi-agent systems in days, not months.
John Doe
Full Stack Developer
"The Agent Swarm boilerplate has truly revolutionized my workflow. The decoupled orchestrator and built-in QStash background queues saved me months of architecture design. I shipped my vertical AI product in a single weekend."
Alice Smith
SaaS Founder
"I wanted to build an AI tool for legal tech but dreaded the Stripe and Auth setup. This starter kit gave me the plumbing and the LLM routing out of the box. I just focused on my custom agent prompts and hit deploy."
David Johnson
DevOps Engineer
"Handling long-running agent tasks without Vercel timeouts was a nightmare until I used this boilerplate. The serverless-proof queueing is brilliantly implemented."
Michael Wilson
Product Manager
"The 'Human-in-the-Loop' guardrails are exactly what our enterprise clients demand. Being able to pause an agent, review its work, and approve it directly in the chat UI is an absolute game-changer for safety."
Sophia Garcia
AI Engineer
"I love how easy it is to add a new tool to the registry. The UI and LLM routers instantly pick it up. Plus, the Zod-enforced schemas make it mathematically impossible for the LLM to hallucinate function arguments."
Emily Brown
Indie Hacker
"I skipped all the boring stuff. Auth, the Stripe customer portal, and the dashboard were ready on day one. I was able to start charging customers immediately while I perfected my multi-agent workflows."
Jason Stan
Software Architect
"The Chat-as-State UI is a masterpiece. Users can actually watch the agents 'think' and execute step-by-step in the background ledger. It builds so much trust with the end user compared to a loading spinner."
Built with AgentSwarm
Explore how creators, developers, and founders are leveraging our boilerplate to ship production-ready vertical AI products in days.

TalentHive
Multi-agent recruiter swarm that autonomously sources, screens, and schedules candidate interviews.

LedgerOS
Automated bookkeeping swarm that reconciles transactions, flags anomalies, and generates financial reports.

LegalSwarm
Multi-agent system for automated contract review, redlining, and risk compliance analysis.

ContentFlow
SEO optimization pipeline scaling full-funnel content generation via background research and writing agents.

Resolve Desk
Autonomous customer success agents that research internal knowledge bases and resolve L1/L2 support tickets.

OutreachAgents
B2B sales swarm that researches prospects, drafts hyper-personalized outreach, and manages follow-ups.

PropMind
Property management AI that coordinates maintenance workflows, tenant communications, and lease renewals.

CodeQA
Automated software testing swarm that writes, executes, and debugs end-to-end test suites in the background.