Mastra loop plus a tool registry. Copy the demo agent and write your own instructions and tools.
A great product starts with a pluggable agent. This template ships chat, tools, and billing together.
Your Agent SaaS foundation — frontend to database.Everything you need to ship an agent product in one starter.
Built for your next agent product.
Auth, credits, streaming chat, subscriptions, and admin — clone the template, then swap in your vertical agent.
Spend credits before each run. Stripe grants subscription credits. WeChat and Alipay stubs are ready to fill in.
SSE streams thoughts, tools, and text. The homepage prompt jumps straight into the chat workspace.
Better-Auth, CASL, and an admin board already cover users, orders, and run logs.
About Seedep.
How is this different from a plain chatbot starter?
Besides chat, you get a credits wallet, subscriptions, permissions, and admin. The agent layer is pluggable — swap instructions and tools to become your vertical product.
Can I try it without an LLM API key?
Yes. Without LLM_API_KEY the demo agent runs offline, still spending credits and streaming SSE so you can validate the product loop.
How do I add my own agent?
Copy libs/agent/agents/demo, change instructions and tools, register it. Auth, billing, and admin stay untouched.
How do credits and subscriptions work?
Each agent run spends credits first. Stripe Checkout plus webhooks grant subscription credits. WeChat and Alipay stubs live under libs/payment.
What is the stack?
Nuxt, Better-Auth, Drizzle/PostgreSQL, AI SDK, Tailwind, and a shared design system.
Put your next agent idea into this template.
Start with a chat, prove the runtime, then grow it into your SaaS.
