@agentskit/cli
The agentskit CLI — init, chat, run, dev, doctor, ai, tunnel, rag, config.
@agentskit/cli is the operational front door to the ecosystem. It is how you bootstrap a project, run an agent, inspect your setup, and keep moving without writing scaffolding code first.
#When to reach for it
- You want to scaffold a new agent project.
- You want to chat / run an agent from a terminal.
- You want
agentskit ai "<description>"to generate a typed scaffold from plain language.
#Best fit
- Start here when you want proof of the ecosystem before wiring packages by hand.
- Use
initwhen you want a runnable starter. - Use
chat,run, anddevwhen you want a fast operator workflow around the same stack. - Use
doctorwhen setup friction is slowing the team down.
#Install
npx @agentskit/cli <command>
# or globally:
npm install -g @agentskit/cli#Commands
| Command | Purpose |
|---|---|
agentskit init | Scaffold a new project (react / ink / runtime / multi-agent). |
agentskit chat | Interactive chat in the terminal (Ink). |
agentskit run "<task>" | Run an agent once. |
agentskit dev | Dev server with hot-reload. |
agentskit doctor | Diagnose env (providers, keys, tooling). |
agentskit ai "<description>" | NL → typed AgentSchema + scaffolded project. |
agentskit tunnel | ngrok-style tunnel for webhooks. |
agentskit rag | Local RAG helpers (ingest / search). |
agentskit config | Read / write local config. |
#Why it matters
The CLI makes AgentsKit feel like a product, not just a pile of packages. It shortens the path from “I want to try this” to “I have a working agent project” more than any single reference page can.
#Programmatic helpers
@agentskit/cli/ai—scaffoldAgent·writeScaffold·createAdapterPlanner.
#Recipes
#Stability
- Version:
0.8.2 - Tier: beta
- Contract: evolving
- Roadmap: see packages roadmap for what this package needs to reach v1.0.
#Related
#Source
npm: @agentskit/cli · repo: packages/cli
Explore nearby
- PeerPackages overview
Every AgentsKit package at a glance — what it does, when to reach for it, where to read the deep dive.
- PeerRoadmap
Per-package stability status, current version, and what each package needs to reach v1.0.
- Peer@agentskit/core
Shared contract layer — TypeScript types, headless chat controller, stream helpers. Zero-dep, under 10 KB gzipped.