Interactive CLI for bootstrapping Warden agents with support for both A2A and LangGraph protocols.
Install the CLI globally:
npm install -g warden-codeThen run it with:
wardenOr just run it directly:
npx warden-codeThis launches an interactive CLI where you can create new agents.
| Command | Description |
|---|---|
/new [path] |
Create a new agent interactively [optionally provide a path] |
/help |
Show available commands |
/clear |
Clear the terminal |
/exit |
Exit the CLI |
Run /new to start the agent creation wizard:
- Agent name - a name for your agent
- Description - what your agent does
- Model - Echo (just a demo that echoes input) or OpenAI (GPT-powered)
- Capability - Streaming or Multi-turn conversations
- Skills - Define agent capabilities (optional)
After generation, your agent will be ready at src/agent.ts.
| Model | Description |
|---|---|
| Echo + Streaming | Minimal streaming agent that echoes input |
| Echo + Multi-turn | Minimal multi-turn conversation agent |
| OpenAI + Streaming | GPT-powered agent with streaming responses |
| OpenAI + Multi-turn | GPT-powered agent with conversation history |
All options use AgentServer from @wardenprotocol/agent-kit, which exposes both:
- A2A Protocol
- LangGraph Protocol
my-agent/
├── src/
│ ├── agent.ts # Your agent logic (handler function)
│ └── server.ts # Server setup and configuration
├── package.json
├── tsconfig.json
├── Dockerfile
├── .env.example
└── .gitignore
cd my-agent
npm run build
npm run agentYour agent will be available at http://localhost:3000.
Apache-2.0