π€ Claude Code Subagents Map of Content
Your comprehensive guide to mastering Claude Code Subagents - from fundamental concepts to advanced implementation strategies
π Overview
This Map of Content serves as your central hub for all Claude Code Subagents documentation. Whether youβre building your first subagent or optimizing a complex multi-agent system, youβll find the resources you need here.
π Subagents Analytics
π Subagent Statistics
TABLE WITHOUT ID
"Subagent References" AS Metric,
length(pages() WHERE contains(lower(file.content), "subagent") OR contains(lower(file.content), "sub-agent")) AS Count
UNION ALL
TABLE WITHOUT ID
"Agent Patterns" AS Metric,
length(pages() WHERE contains(file.content, "agent pattern") OR contains(file.content, "agent architecture")) AS Count
UNION ALL
TABLE WITHOUT ID
"Automation Examples" AS Metric,
length(pages() WHERE contains(file.content, "automation") AND contains(file.content, "agent")) AS Countπ All Subagent References
TABLE WITHOUT ID
link(file.name, file.name) AS "Page",
dateformat(file.mtime, "yyyy-MM-dd") AS "Modified",
length(filter(split(lower(file.content), "subagent"), (x) => true)) - 1 AS "Mentions"
WHERE contains(lower(file.content), "subagent") OR
contains(lower(file.content), "sub-agent") OR
contains(lower(file.content), "agent")
SORT length(filter(split(lower(file.content), "subagent"), (x) => true)) DESC
LIMIT 20π― Core Documentation
Fundamentals
- Multi-Agent Orchestration Guide - Comprehensive guide to implementing and orchestrating multiple agents
- Subagent Architecture - Essential introduction to subagent concepts and architecture
- Subagent Patterns - Proven design patterns for building robust subagent systems
- TypeScript SDK - Type-safe subagent development with TypeScript
Advanced Topics
- Multi-Agent Systems Deep Dive - Comprehensive guide covering architecture, implementation, orchestration, and optimization
- Advanced Orchestration Patterns - Cutting-edge patterns including wave-based generation, 3 Amigo pattern, and self-coordinating networks
- Performance Optimization - Performance tuning and optimization strategies
- Troubleshooting Guide - Debugging techniques and common solutions
Core Agent Documentation
LIST
WHERE contains(file.name, "Agent") OR
contains(file.content, "## Agents") OR
contains(file.content, "# Agents") OR
contains(tags, "agent")
SORT file.name ASCπ Learning Resources
Workshop Materials
- Subagents Workshop - Comprehensive hands-on training program
- Workshop Materials - Exercises, examples, and practice projects
- Workshop Exercises - General workshop exercises applicable to subagents
Integration Examples
- TypeScript Examples - Real-world TypeScript implementation examples
- Exercise Solutions - Reference solutions for workshop exercises
π Code Examples
TABLE WITHOUT ID
link(file.name, file.name) AS "Example",
dateformat(file.mtime, "yyyy-MM-dd") AS "Modified"
WHERE contains(file.content, "```") AND
(contains(lower(file.content), "agent") OR
contains(lower(file.content), "subagent"))
SORT file.mtime DESC
LIMIT 10π Learning Path
Beginner Path
- Start with Introduction to Multi-Agent Systems to understand core concepts
- Review Basic Architecture Concepts for foundational knowledge
- Study Simple Delegation Pattern for your first implementation
- Try hands-on exercises from Beginner TypeScript Exercises
Intermediate Path
- Deep dive into Advanced Subagent Patterns including pipeline and event-driven architectures
- Master TypeScript Advanced Patterns for type-safe agent development
- Learn Inter-Agent Communication Strategies
- Complete Intermediate Workshop Exercises
Advanced Path
- Master Advanced Optimization Techniques for large-scale systems
- Study Complex Multi-Agent Orchestration patterns
- Implement Distributed Agent Systems
- Build production systems using Advanced Application Patterns
ποΈ Agent Patterns & Architecture
π¨ Design Patterns
LIST
WHERE contains(file.content, "agent pattern") OR
contains(file.content, "agent architecture") OR
contains(file.content, "multi-agent")π Communication Patterns
LIST
WHERE contains(file.content, "agent communication") OR
contains(file.content, "message passing") OR
contains(file.content, "agent interaction")π§© Composition Patterns
LIST
WHERE contains(file.content, "agent composition") OR
contains(file.content, "nested agents") OR
contains(file.content, "agent hierarchy")π‘ Quick Reference
Common Subagent Patterns
// Delegation Pattern
const mainAgent = new Agent();
const dataAgent = new SubAgent('data-processor');
mainAgent.delegate('process-data', dataAgent);
// Pipeline Pattern
const pipeline = new AgentPipeline([
new ValidationAgent(),
new TransformAgent(),
new StorageAgent()
]);
// Event-Driven Pattern
const eventAgent = new EventDrivenAgent();
eventAgent.on('data-received', async (data) => {
// Process asynchronously
});Best Practices Checklist
- β Keep subagents focused on single responsibilities
- β Implement proper error boundaries
- β Use TypeScript for type safety
- β Design for horizontal scaling
- β Monitor subagent health and performance
π Agent Integration
π§ Tool Integration
LIST
WHERE contains(file.content, "agent tool") OR
contains(file.content, "tool integration") AND contains(file.content, "agent")π External Systems
LIST
WHERE contains(file.content, "agent integration") OR
contains(file.content, "external agent") OR
contains(file.content, "third-party agent")π§ͺ Testing & Debugging
π Testing Strategies
LIST
WHERE contains(file.content, "agent test") OR
contains(file.content, "testing agent") OR
contains(file.content, "mock agent")π Debugging Agents
LIST
WHERE contains(file.content, "debug agent") OR
contains(file.content, "agent debugging") OR
contains(file.content, "agent logs")π·οΈ Agent Types
Specialized Agents
LIST
WHERE contains(file.content, "specialized agent") OR
contains(file.content, "task agent") OR
contains(file.content, "domain agent")Utility Agents
LIST
WHERE contains(file.content, "utility agent") OR
contains(file.content, "helper agent") OR
contains(file.content, "service agent")Orchestration Agents
LIST
WHERE contains(file.content, "orchestration") OR
contains(file.content, "coordinator agent") OR
contains(file.content, "manager agent")π Recent Activity
π₯ Most Referenced Agent Content
TABLE WITHOUT ID
link(file.name, file.name) AS "Page",
length(file.inlinks) AS "Backlinks"
WHERE contains(lower(file.content), "agent")
SORT length(file.inlinks) DESC
LIMIT 10π Recent Agent Updates
TABLE WITHOUT ID
link(file.name, file.name) AS "Page",
dateformat(file.mtime, "yyyy-MM-dd HH:mm") AS "Modified"
WHERE contains(lower(file.content), "agent") AND
file.mtime > date(today) - dur(14 days)
SORT file.mtime DESCπ Related Resources
SDK Integration
- TypeScript SDK Documentation - Using subagents with the TypeScript SDK
- Core API Reference - Core API methods for subagent communication
Hooks System
- Hooks System Overview - Integration with hooks
- Hooks Design Patterns - Combining hooks with subagents
Additional Resources
- Workshop Resources - For teaching and learning subagent concepts
- Documentation Hub - Master index of all Claude Code resources
- Multi-Agent Collaboration - Team collaboration patterns
π― Use Cases
LIST
WHERE contains(file.content, "agent use case") OR
contains(file.content, "agent scenario") OR
contains(file.content, "agent example")Agent Lifecycle
LIST
WHERE contains(file.content, "agent lifecycle") OR
contains(file.content, "agent initialization") OR
contains(file.content, "agent termination")Common Agent Patterns
LIST
WHERE contains(file.content, "async agent") OR
contains(file.content, "reactive agent") OR
contains(file.content, "proactive agent")π·οΈ Tags
claude-code subagents moc architecture typescript patterns optimization workshop troubleshooting agents automation
This MOC automatically updates to show all agent and subagent-related content.