Documentation Index
Fetch the complete documentation index at: https://docs.castari.com/llms.txt
Use this file to discover all available pages before exploring further.
Using Templates
Templates give you a working agent in seconds. Start from a proven foundation, then customize.Available Templates
| Template | Description | Best For |
|---|---|---|
default | Coding agent with file/bash tools | General purpose, coding tasks |
research-agent | Web search and document synthesis | Research, reports, analysis |
support-agent | Ticket handling and escalation | Customer support workflows |
mcp-tools | Custom tool integration example | Learning MCP patterns |
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:| Tool | Description |
|---|---|
read_file | Read file contents |
write_file | Create/update files |
bash | Execute shell commands |
list_files | List directory contents |
Template: research-agent
Deep research with web search and document synthesis. Tools included:| Tool | Description |
|---|---|
web_search | Search the web |
read_url | Fetch and read web pages |
save_report | Save findings to file |
read_file | Read local documents |
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:| Tool | Description |
|---|---|
lookup_user | Find user by email/ID |
lookup_order | Find order details |
create_ticket | Escalate to human |
send_response | Reply to customer |
Template: mcp-tools
Example of custom MCP tool integration. Tools included:| Tool | Description |
|---|---|
calculate | Math calculations |
get_weather | Weather lookup (mock) |
query_database | Database queries (mock) |
send_notification | Send alerts |
- 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