Free toolGenerate .mcp.json configs for Claude Code, Cursor & Codex →
Glossary

Subagents

Subagents are specialized AI assistants that handle specific types of tasks. Each runs in its own context window with a custom system prompt, specific tool access and independent permissions.

Use one when a side task would flood your main conversation with search results, logs or file contents; the subagent does the work and returns a summary.

Several vendor plugins bundle subagents, such as a database or deployment specialist, so Claude Code can delegate service-specific work.

For a step-by-step create-and-configure guide with frontmatter fields, background limits and permission denials, see /guides/claude-code-subagents/.

Source: https://code.claude.com/docs/en/sub-agents (Claude Code docs)

Other terms