Skip to main content

Prompt Chaining

Prompt Chaining

  • Agents
  • Stage 3 · Going Deeper
  • refs checked 2026-11-09
What problem it solves

Split a job into fixed steps, feeding each output into the next.

What it is
Anthropic's definition: decompose a task into a sequence of steps, passing each output to the next. Each step is testable on its own; the cost is a longer chain and more latency.
Why it matters

More controllable than asking for everything at once. Many "agents" are really chains.

Chinese aliases

Sources
  • Anthropic, Building effective agents ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →