Essam ShaabanSr Software Engineer

Agentic AI Pattern Explorer

Learn how AI agents work together. Explore 20 agentic AI patterns with step-by-step simulations, side-by-side comparisons and implementation guidance for Microsoft Agent Framework, Foundry and Copilot Studio.

Interactive pattern explorer

  1. Pick a pattern below, or start from your goal
  2. Watch it run, or pause and go step by step
  3. Go deeper: specification, code, or compare two patterns
Not sure which pattern fits? Start from what you need to do10 common needs
  • Run steps in a set order
  • Get several views at once
  • Send work to the right specialist
  • Split a big job across agents
  • Reach a quality bar
  • Approve before acting
  • Tackle an open-ended goal
  • Discuss or debate
  • Start with one agent
  • Run it in production

These are starting points, not rankings. Compare any two patterns further down the page.

Interactive simulation

Select a pattern to run its workflow simulation

Pattern 1 of 20

Showing all 20 patterns

Playback speed

New here? How to read this simulation

On the stage

  • Cube: the request or data being worked on. It moves between agents as the work does.
  • NovaGlowing name tag: the agent working right now. Dimmed agents are waiting.
  • Typing dots: an agent is speaking in a conversation.
  • InputLabels: where work enters, leaves or meets (conversation, aggregator, vote).
  • Approve?Approval card: the run waits for your decision. Nothing approves it for you.

Controls and status

The bar under the stage shows the step, how it runs (Sequential, Parallel, Loop back…) and which agents are active. Pause, then use Next step and Previous step to go at your own pace. The caption on the stage says what is happening in each step.

In the workflow diagram

  • Flow: work moves this way
  • Two-way: a request and its reply
  • Conditional route: only one is taken
  • Event subscription: triggered when the event happens
  • Loop back: feedback, retry or re-plan
  • Pass or approved
  • Reject or terminate
  • Agent (colour matches Bolt, Nova or Pixel)
  • Other agent (not shown on stage)
  • Decision point
  • Human approval
  • Tool or data source
  • Shared component (conversation, ledger, aggregator)
  • Event
  • Termination
  • Moving dot: where the work is right now. Paths it has travelled stay highlighted.
Microsoft Agent Framework orchestration

Sequential orchestration

In plain terms

Like an assembly line: each station finishes its part before the next one starts.

Agents run in a predefined order. Each agent finishes, then passes its output to the next one.

Good for: Pipelines where every step depends on the previous one.

Avoid when: Stages are independent and could run in parallel; the next step depends on runtime judgement.

Often confused with
  • Planner–executor also works step by step, but a planner writes the steps at run time and can change them. Here the order is fixed in advance.
  • In handoff, the next agent is chosen as the work unfolds. Here every agent runs, always in the same order.
Workflow

In words: Input, then Agent A, then Agent B, then Agent C, then Output.

Who does what

  1. Bolt · Ingest

    Pulls a batch of raw, mixed records.

  2. Nova · Clean

    Validates and cleans the batch.

  3. Pixel · Format

    Formats and publishes the result.

Technical specificationNative orchestrationComplexity LowLatency MediumPredictability High

A linear pipeline: each agent receives the previous agent’s output (by default its full conversation) and passes its result to the next agent in a fixed order.

Native orchestration Built-in Agent Framework orchestration.

Category
Microsoft Agent Framework orchestration
Execution model
Synchronous, ordered pipeline
Coordination
Predefined order; no runtime routing decisions
Complexity
Low
Relative latency
Medium · Sum of every stage; no parallelism
Predictability
High · Deterministic order; only stage outputs vary
Relative operational cost
Medium · One model call per stage; grows with the number of stages and the context passed forward.
Scalability
Scales per request; throughput limited by the slowest stage. Long pipelines grow the context passed forward.
Human intervention
Optional · Not needed to run. Approval checkpoints can sit between stages when a stage’s output is consequential.
When to use · when to avoid

Use when

  • Each step depends on the previous step’s output
  • Draft → review → polish style refinement
  • Processes with clear, stable stages

Avoid when

  • Stages are independent and could run in parallel
  • The next step depends on runtime judgement
  • Early-stage errors must not cascade
Advantages · limitations and trade-offs

Advantages

  • Simple to reason about, test and audit
  • Clear separation of responsibilities
  • Easy to insert approvals between stages

Limitations and trade-offs

  • Early failures propagate downstream
  • No parallelism, so latency adds up
  • Context grows at each hop
Enterprise use cases
  • Document drafting, review and formatting
  • Data extraction → validation → enrichment
  • Multi-stage contract or policy review
Security and governance
  • Validate each stage’s output before the next consumes it
  • Give each agent only the tools its stage needs
  • Log stage inputs/outputs for audit
Failure handling and recovery
  • Checkpoint between stages to resume without replaying earlier work
  • Retry the failed stage with bounded attempts
  • Stop the pipeline on validation failure rather than passing bad data on
Implementation considerations
  • Define what each stage passes on (a compact result, not the whole transcript) so the context does not grow with every step.
  • Make stages idempotent and checkpoint between them so a failed run can resume from the last completed stage.
  • Sequential orchestration does not pause for free-form input on its own: use tool approval, or a request port in a custom workflow, where a person must act between stages.
Implementation technologies
TechnologySupportHow
Microsoft Agent FrameworkNative orchestrationSequential orchestration (built-in); tool approval for HITL
Microsoft FoundryBuild from primitivesAgent Framework orchestration run as a Foundry hosted agent, or a visual, low-code orchestration that calls Foundry agents from Azure Logic Apps (preview). Foundry’s visual workflows retired Dec 1, 2026
Copilot StudioBuild from primitivesGenerative orchestration calls selected agents/tools in sequence
Official documentation
Developer implementation

Open to load the implementation guide for this pattern.

Compare patterns

Pick two or three patterns to see how they differ in structure, behaviour and operational trade-offs. None is better in general: the right choice depends on your task, risk and constraints.

Key differences

    Complexity, latency, operational cost, predictability and human oversight are qualitative ratings that compare these patterns with each other. They are not measured benchmarks or prices: real results depend on your models, tools, data and design.

    Side-by-side comparison of the selected patterns