Quickstart
Welcome to ZettAgent—a Cloudflare-native control plane for multi-agent workflows. This guide spins up your first environment and deploys the platform to Cloudflare Pages + Workers using OpenNext.
1. Prerequisites
- Node.js 20+
- Cloudflare account with Workers, R2, KV, D1 access
- Wrangler CLI
npm i -g wrangler
2. Install dependencies
npm install
npm run cf-typegen
3. Configure environment
Copy .env.example to .env.local and fill in:
CF_ACCOUNT_ID,CF_API_TOKENR2_BUCKET,KV_NAMESPACE,AUTH_SECRETLLM_PROVIDER(cf-aioropenai)
4. Run locally
npm run dev
Visit http://localhost:3000—the app router uses edge-compatible APIs so you can test flows end-to-end.
The self-service console is available under /register, /login, and /console for account creation, auth, API key management, and usage telemetry.
5. Build for Workers
npm run preview
This command generates .open-next artifacts and runs them inside workerd. When you are satisfied:
npm run deploy
OpenNext pushes your site, APIs, and Durable Objects to Cloudflare.
Need help? Email founders@zettagent.com for production onboarding.