CLI
agentskit init
Scaffold a new project — 9 starter templates spanning React, SvelteKit, Nuxt, Ink, Vite+Ink, Cloudflare Workers, Bun, runtime, and multi-agent.
agentskit init is the fastest way to get from blank folder to a working AgentsKit project. It is the best entry point when you want proof that the ecosystem already composes in practice.
pnpm dlx agentskit init
# or
npm create agentskit@latestInteractive. Picks template + provider + memory backend.
#Flags
| Flag | Purpose |
|---|---|
--template <name> | react / nextjs / sveltekit / nuxt / ink / vite-ink / cloudflare-workers / bun / deno-deploy / expo / angular / runtime / multi-agent |
--provider <name> | openai / anthropic / ollama / ... |
--name <dir> | target directory |
--no-install | skip pnpm install |
#Templates
- react — Vite +
@agentskit/react+useChat+ headless components. - nextjs — Next.js App Router +
@agentskit/reactclient + a streaming Edge Route Handler atapp/api/chat/route.ts. - sveltekit —
@agentskit/svelte+ a+server.tsroute streaming over fetch. - nuxt —
@agentskit/vue+ a Nitroserver/api/chat.post.tsevent handler. - ink — terminal chat via
@agentskit/ink, run withtsx. - vite-ink — same Ink chat but with
vite-node --watchfor hot reload during dev. - cloudflare-workers — edge runtime +
itty-router+wrangler.tomlwithnodejs_compat. Bind D1 / KV when wiring memory. - bun —
Bun.servewith--hotreload; the fastest dev loop on the list. - deno-deploy —
Deno.serve+deployctl+npm:imports for the AgentsKit packages. - expo — Expo Router +
expo-secure-storefor token persistence; mobile chat screen ready to wire. - angular — Angular 21 standalone bootstrap + Signals, ready for
@agentskit/angular. - runtime — standalone
createRuntimewith ReAct loop, no UI. - multi-agent — supervisor topology starter (planner + delegates).
#When to use it
- You want a working starter instead of assembling packages by hand.
- You are evaluating how the packages fit together in a real project.
- You want the shortest path from docs to a repo you can actually run.