Why Use Sub-Agents?
The main Craft Agent is a generalist - it can do many things but doesn’t have specialized knowledge and connections to other services or tools. Sub-agents let you create focused assistants for specific use cases and workflows, empowered by their own connected tools:Research Assistant
Connected to Exa for deep web search, pulls relevant findings into your Craft docs automatically.Code Dashboard
Connected to GitHub—checks PRs, summarizes issues, and updates your project notes in Craft.Daily Briefing
Pulls from your calendar API, Slack, and task manager to generate a morning summary.Content Pipeline
Drafts in Craft, pushes to your CMS via API, notifies the team in Slack.
The simplest agent is just a document with instructions. You can start with plain text describing how you want it to behave, then add service connections later as needed.
How Sub-Agents Work
Sub-agents are stored as regular Craft documents in a folder called Agents in your workspace. Each document defines one agent through its content:What Sub-Agents Can Have
Beyond custom instructions, agents can connect to external services—giving them access to your tools and enabling workflows across your stack. Each sub-agent document can define:Custom Instructions
The core of your sub-agent - written instructions that define its personality, expertise, and behavior patterns.MCP Server Connections
Connect your sub-agent to external MCP servers for additional capabilities:REST API Integrations
Give your agent access to external APIs. The easiest way is to paste a documentation link:Activating Sub-Agents
Switch to a sub-agent using the@ mention syntax:
Quick Reference
| Action | Command |
|---|---|
| List all agents | /agent list |
| Activate an agent | @agent-name or /agent activate agent-name |
| Return to main | @main |
| Reload agent instructions | /agent reload |
| Refresh agent list | /agent refresh |
| View active agent info | /agent info |
Next Steps
Create your first sub-agent
Step-by-step guide to building a sub-agent in your Craft workspace.