3Systems of agents

Prompt chaining

Split a task into fixed steps; each call works on the output of the one before.

Also called Sequential orchestration, Pipeline, Linear delegation, Sequential pattern

Anthropic, Vercel, Microsoft, Amazon Web Services, Google Cloud

outputTaskModel callLLM callModel callLLM callResult
How to read this

The problem

The task splits cleanly into fixed steps, and each step is easier for a model alone.

This workflow is ideal for situations where the task can be easily and cleanly decomposed into fixed subtasks. The main goal is to trade off latency for higher accuracy, by making each LLM call an easier task.
AnthropicBuilding effective AI agentsDec 19, 2024
The sequential orchestration pattern solves problems that require step-by-step processing, where each stage builds on the previous stage.
MicrosoftAI agent orchestration patterns

Therefore

Prompt chaining decomposes a task into a sequence of steps, where each LLM call processes the output of the previous one.
AnthropicBuilding effective AI agentsDec 19, 2024
The sequential orchestration pattern chains AI agents in a predefined, linear order. Each agent processes the output from the previous agent in the sequence, which creates a pipeline of specialized transformations.
MicrosoftAI agent orchestration patterns
Prompt chaining decomposes complex tasks into a sequence of steps, where each step is a discrete LLM invocation that processes or builds upon the output of the previous one.
Amazon Web ServicesWorkflow for prompt chaining

In use

Vercel v0

While the base model streams output, v0 is constantly checking the output stream for errors, inconsistencies, and best practice violations. Our custom AutoFix model handles many of these issues mid-stream to further improve output quality.
VercelIntroducing the v0 composite model familyJun 1, 2025

Where it breaks

An early mistake carries into every later step, and the fixed order cannot adapt.

Early stages might fail or produce low-quality output, and there's no reasonable way to prevent later steps from processing by using accumulated error output.
MicrosoftAI agent orchestration patterns
The rigid, predefined structure of the pipeline makes it difficult to adapt to dynamic conditions or to skip unnecessary steps
Google CloudChoose a design pattern for your agentic AI system

Sources

  1. Building effective AI agentsAnthropic, Dec 19, 2024
  2. Introducing the v0 composite model familyAryaman Khandelwal, Gaspar Garcia, Ido Pesok, Max Leiter, Vercel, Jun 1, 2025
  3. AI agent orchestration patternsMicrosoft
    The sequential orchestration pattern is also known as a pipeline, prompt chaining, or linear delegation.
  4. Workflow for prompt chainingAmazon Web Services
  5. Choose a design pattern for your agentic AI systemGoogle Cloud
    The multi-agent sequential pattern executes a series of specialized agents in a predefined, linear order where the output from one agent serves as the direct input for the next agent.

Added Nov 14, 2026