Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Subagent

Also: subagents, multi-agent

In plain words

A helper agent that a main agent hands part of a job to.

The fuller definition

A subagent is a separately invoked agent assigned a bounded task by another agent or coordinating system. It may have its own context and tools.

The agent loop
  1. ObserveRead the task, the current state, and the last result.
  2. DecidePropose the next action: a search, a file read, a calculation.
  3. ActThe harness runs the action, if permitted.
  4. CheckStop condition met? If not, loop again.

The model proposes; the surrounding software executes and records. Where the loop may act, and when it must stop and ask, are decisions made outside the model.

A concrete example

One worker extracts dates while another checks the cited passages, with explicit input and output boundaries.

The distinction that matters

Two subagents can share the same mistaken premise; agreement is not independent proof.

Related terms

Where it is taught

Prompts, skills, workflows, and agents

Source and further reading

Anthropic · Building effective agents

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC