AgentZero.
StackManifestDocsLog
Get — $129Get AgentZero — $129
v1.0 · founding member window open

THE HARDENED
BOILERPLATE
FOR AGENTS.

Skip 40–80 hours of architecture work. Deploy a billable AI product in one day — auth, agents, RAG, billing, credit guards, all wired together and ready to ship.

Next.js 16 · AI SDK 6 · Supabase · Auth.js v5 · Lemon Squeezy · pgvector

Get AgentZero — $129Read the architecture

Founding member price — $249 $129. One-time. No subscription.

TypeScript-firstOne-time licenceYou own the codeDeploys on Vercel
bash — ~/projects
$ git clone https://github.com/agentzero/boilerplate Cloning into 'boilerplate'... remote: Enumerating objects: 1,842 done. Receiving objects: 100% (1842/1842), 4.2 MB$ cp .env.example .env.local ✓ ready. fill in your keys and deploy.

architecture overview · hover to explore

RAG PIPELINEMODEL INFERENCECREDIT GUARDEVAL LOOPAGENTCONTROLLERv1.0.0
Next.js 16AI SDK 6SupabaseAuth.js v5pgvectorLemon SqueezyTypeScriptZodVercelReAct LoopRAG PipelineMulti-tenantNext.js 16AI SDK 6SupabaseAuth.js v5pgvectorLemon SqueezyTypeScriptZodVercelReAct LoopRAG PipelineMulti-tenant
40–80
hours saved vs scratch
6
production domains pre-assembled
1
day to a deployed billable product
$129
founding member one-time licence
architecture

Every directory earns its place.

The codebase is structured the way a senior engineer would build it. Not a tutorial project — a production scaffold you fork and ship.

project structure
/app
── /dashboard—agents · billing · settings
── /api
── /lib
│ ── /ai—RAG · AI SDK 6
│ ── /credits—credit guard · billing
── /supabase—database · multi-tenancy
module detail
→/lib/ai
RAG Pipeline

Vector embedding pipeline built on AI SDK 6 with pgvector in Supabase. Chunk → embed → store → retrieve. Fully typed. Drop in your documents and the agent has long-term memory from day one. Streaming retrieval, no boilerplate.

AI SDK 6pgvectorSupabaseStreaming
stack

Six domains. Pre-assembled.

Six domains. Pre-assembled.

Auth, multi-tenancy, agent orchestration, vector memory, credit guards, billing — integrated and tested, not bolted together the night before launch.

Auth + Multi-tenancy

Auth.js v5 with full organisation-level isolation. Every user, every agent run, every data row scoped to a tenant from day one. RLS everywhere.

Auth.js v5 · Supabase RLS · Next.js middleware
Agent Orchestration

ReAct loop with streaming tool calls. Configurable per-agent: model, tools, system prompt, knowledge base. Visible reasoning chain in the UI.

AI SDK 6 · Next.js 16 · Server Actions
Vector Memory (RAG)

PDF and TXT ingestion, automatic chunking, pgvector embeddings, semantic retrieval. Agents read your documents before every run without extra config.

pgvector · Supabase · AI SDK embeddings
Credit Guard System

Pre-run balance checks, per-run deduction, usage logging per agent. Runs block automatically at zero in a single atomic transaction. No race conditions.

Supabase DB · Server-side guard · Atomic txn
Billing Infrastructure

Lemon Squeezy handles billing as Merchant of Record — VAT compliance across 50+ countries handled for you. Credit top-ups, payment history, invoice download, webhook handling, all wired.

Lemon Squeezy · Webhooks · Supabase ledger
Type-safe Codebase

End-to-end TypeScript. Zod validation on all agent I/O. Database schemas fully typed via Supabase codegen. Refactor with confidence from day one.

TypeScript · Zod · Supabase codegen
founder's log

Built in public.
In South Africa.
Funded by bartending.

No VC round. No team. One developer, shipping until it's production-ready. Every line written between shifts.

timelocationentry
2 AMPretoriabartending funds the build. just pushed auth.js v5 multi-tenant config. running clean on Vercel.
9 PM—RAG pipeline is streaming via vector chunks. it works.
11 PMPretoriacredit guard deployed. pre-run balance check + per-run deduction in a single DB transaction. no race conditions.
3 AM—lemon squeezy webhooks wired. top-up flow end-to-end working. bought a coffee with the first test payment.
6 PMPretoriadeployed to Vercel. cold start under 200ms. shipping this.
2 AMPretoria

bartending funds the build. just pushed auth.js v5 multi-tenant config. running clean on Vercel.

9 PM—

RAG pipeline is streaming via vector chunks. it works.

11 PMPretoria

credit guard deployed. pre-run balance check + per-run deduction in a single DB transaction. no race conditions.

3 AM—

lemon squeezy webhooks wired. top-up flow end-to-end working. bought a coffee with the first test payment.

6 PMPretoria

deployed to Vercel. cold start under 200ms. shipping this.

pricing

One price. You own it.

No subscription. No seat fees. No lock-in. Buy once, fork it, deploy it, charge your users whatever you like.

founding member — limited
$129
$249 after founding window closes

Everything in the standard licence. Same code, same architecture. Founding price closes when the window ends — no fake timer, no scarcity theatre.

  • ✓Complete Next.js 16 + AI SDK 6 codebase
  • ✓Auth.js v5 multi-tenant architecture
  • ✓RAG pipeline with pgvector
  • ✓Lemon Squeezy billing + credit guard system
  • ✓Streaming ReAct agent loop
  • ✓Type-safe end-to-end with Zod
  • ✓Deploy to Vercel in one command
  • ✓Lifetime access to all future updates
standard licence
$249

Same codebase. Standard price after the founding window closes. Still a one-time purchase. Still yours forever.

  • ✓Everything in founding licence
  • ✓No founding discount
  • ✓No early-access update priority
Join waitlist for standard

Questions? hello@agentzero.dev · Built in SA. Funded by bartending. Owned by you.

AgentZero.© 2026 · one-time licence · built in Pretoria
DocsGitHubX / Twitter
✦