Using Templates
Templates give you a working agent in seconds. Start from a proven foundation, then customize.Available Templates
Using cast init
Skip the prompt
Template Structure
Every template includes:Template: default
A Claude Code-style agent with file and bash tools. Tools included:
Example invocations:
Template: research-agent
Deep research with web search and document synthesis. Tools included:
Example invocations:
The research-agent template includes a mock web search. For production, integrate with SerpAPI, Tavily, or similar.
Template: support-agent
Customer support with ticket handling. Tools included:
Example invocations:
Template: mcp-tools
Example of custom MCP tool integration. Tools included:
Use this to learn:
- How to define tool schemas
- How to implement tool handlers
- How to integrate external services
Customizing Templates
1. Edit CLAUDE.md
TheCLAUDE.md file contains agent instructions:
2. Modify Tools
Editsrc/index.ts to add, remove, or modify tools:
3. Add Dependencies
4. Redeploy
After changes:See Also
Custom Agents
Build from scratch
MCP Integration
Advanced tool patterns