cast init
Create a new agent from a template.Usage
Arguments
| Argument | Description | Required |
|---|---|---|
name | Name for the new agent directory | Yes |
Options
| Option | Description | Default |
|---|---|---|
-t, --template <name> | Template to use | Interactive prompt |
--no-install | Skip npm install | false |
Templates
| Template | Description |
|---|---|
default | Coding agent with file and bash tools (like Claude Code) |
research-agent | Deep research with web search and document synthesis |
support-agent | Customer support with ticket handling and escalation |
mcp-tools | Agent with example MCP server integration |
Examples
Interactive mode
Specify template
Skip npm install
Created Files
Next Steps
After creating an agent:See Also
- Your First Agent — Understand agent structure
- Templates Guide — Detailed template documentation
- cast deploy — Deploy your agent