Advanced
Agent System
Multi-agent coordination for complex tasks
~5 min read
0
Agent-related tools
0
Agent system files
0+
Implementation LOC
Sometimes a task is too complex for a single Claude to handle efficiently. The agent system lets Claude spawn 'helper Claudes' — independent sub-agents that work on specific parts of the problem in parallel.
Think of it like a project manager delegating tasks. The main Claude (manager) breaks down the work, sends specific instructions to each sub-agent (team members), and collects their results. Each sub-agent has its own conversation context, tools, and can even spawn further sub-agents.
Agent Spawning #
How sub-agents are created and managed
Main Agent
Task Analysis
Spawn Agent
Independent Work
Collect Results
Multi-Agent Patterns #
Different coordination strategies for different tasks
Fan-Out / Fan-In
Main agent spawns N sub-agents for independent subtasks, then collects all results. Perfect for parallel search, multi-file analysis, or running tests across modules.
Pipeline
Output of one agent becomes input to the next. Used for multi-stage workflows: research → plan → implement → review.
Swarm Teams
TeamCreate builds a persistent group of agents with a lead agent. Members communicate via SendMessage. For ongoing collaborative work.
Related Pages
← → arrow keys to navigate