Claude Code Subagents Now Enable Modular AI Development
Anthropic releases Claude Code Subagents for developers to create task-specific AI agents with isolated context and tools.
Anthropic has officially released Claude Code Subagents, enabling developers to create specialized AI agents with isolated contexts, tools, and prompts. This feature supports modular development by allowing teams to delegate tasks like debugging, documentation, and test generation without overloading a single AI context window.
How Subagents Work
- Isolated Execution: Each subagent operates independently, reducing context spillover risks and ensuring predictable task execution.
- Manual or Automated Invocation: Developers can trigger subagents directly or rely on Claude Code’s orchestration engine to match tasks automatically.
- Markdown-Based Configuration: Subagents are defined in Markdown files, stored either in project-specific or global directories, with version control support for collaboration.
/filters:no_upscale()/news/2025/08/claude-code-subagents/en/resources/138figure-1-1755515424578.jpg)
(Source: Subagents documentation)
Security and Permissions
The subagent architecture includes built-in security features:
- Least Privilege Access: Each agent’s configuration explicitly lists permitted tools (e.g., shell commands, external resources).
- Recommendations: Anthropic advises developers to grant minimal permissions per subagent’s role to limit risks in sensitive environments.
Community and Use Cases
A growing collection of community-created subagents is available, such as the "code-reviewer" agent invoked via:
Use the code-reviewer subagent to check my recent changes.
Over 60 specialized subagents are cataloged in this GitHub repository, spanning domains like Development & Architecture and Infrastructure & Operations.
Best Practices
Anthropic’s documentation recommends:
- Narrow scopes for reliability
- Precise system prompts
- Avoiding unnecessary tool assignments
The CLI offers an interactive workflow for scaffolding and editing agents, blending automation with developer control.
Related News
AWS extends Bedrock AgentCore Gateway to unify MCP servers for AI agents
AWS announces expanded Amazon Bedrock AgentCore Gateway support for MCP servers, enabling centralized management of AI agent tools across organizations.
CEOs Must Prioritize AI Investment Amid Rapid Change
Forward-thinking CEOs are focusing on AI investment, agile operations, and strategic growth to navigate disruption and lead competitively.
About the Author

Dr. Emily Wang
AI Product Strategy Expert
Former Google AI Product Manager with 10 years of experience in AI product development and strategy formulation. Led multiple successful AI products from 0 to 1 development process, now provides product strategy consulting for AI startups while writing AI product analysis articles for various tech media outlets.