# Subagent

Canonical page: https://www.theglitch.ai/ai-glossary/subagent

A helper agent with its own instructions and fresh context, called by a main agent for one job.

[Subagent, common card \#216 in The Glitch AI glossary: A helper agent with its own instructions and fresh context, called by a main agent for one job.](https://www.theglitch.ai/images/cards/glossary/subagent.png?v=a39209f1efdeead5)

GLS 216 · common

For: Builders

## Why it matters

Subagents keep the main agent’s context clean and let specialists handle focused tasks.

## In practice

A coding agent sends a ‘test writer’ subagent off to add tests, then reviews the result.

## Watch for

Subagents only know what you pass them; brief them properly.

## Related terms

[Orchestrator](https://www.theglitch.ai/ai-glossary/orchestrator) · [Context engineering](https://www.theglitch.ai/ai-glossary/context-engineering) · [Multi-agent system](https://www.theglitch.ai/ai-glossary/multi-agent-system)

## Guides that use it

[Context engineering is the real job.](https://www.theglitch.ai/learn/context-engineering) · [Claude Code, the operator's way.](https://www.theglitch.ai/learn/claude-code)

## Sources

- [Claude Code docs: Subagents](https://docs.anthropic.com/en/docs/claude-code/sub-agents)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
