mcp-agent home pagelight logodark logo
  • GitHub
  • Discord
  • MCP
  • Get Started
    • Introduction
    • Installation
    • Quick Start
    • Configuration
    Core Concepts
    • Agents
    • MCP Servers
    • Augmented LLMs
    • MCP Primitives
    • Elicitation
    Workflow Patterns
    • Overview
    • Parallel
    • Router
    • Intent Classifier
    • Evaluator-Optimizer
    • Orchestrator
    • Swarm
    Advanced Features
    • Temporal
    Architecture
    • Architecture Overview
    • Core Orchestration & Execution
    • Agent & Workflow Framework
    • LLM & External Tooling
    • MCP & API Gateway
    • Intent & Interaction Management
    • Examples
    • Get Started
    mcp-agent home pagelight logodark logo
    • Examples
    • Get Started
    • Get Started
    Documentation
    Documentation
    Workflow Patterns

    Overview

    Complete implementation of industry-standard agent patterns - model-agnostic, composable, and production-ready.

    mcp-agent provides implementations for every pattern in Anthropic’s Building Effective Agents, as well as the OpenAI’s Swarm pattern. Each pattern is model-agnostic, and exposed as an AugmentedLLM, making everything very composable.

    Parallel Workflow

    Execute multiple tasks simultaneously with intelligent result aggregation and conflict resolution.

    Router Pattern

    Intelligent task routing based on content analysis, user intent, and dynamic conditions.

    Intent Classifier

    Advanced intent recognition with confidence scoring and hierarchical classification.

    Evaluator-Optimizer

    Quality control with LLM-as-judge evaluation and iterative response refinement.

    Orchestrator

    Complex multi-step workflows with dependency management and state coordination.

    Swarm Pattern

    OpenAI Swarm-compatible multi-agent handoffs with context preservation.

    Next Steps: Explore individual workflow patterns to see detailed implementation examples and learn how to combine them for your specific use cases.
    Previous
    ParallelExecute multiple tasks simultaneously with intelligent result aggregation and conflict resolution.
    Next
    xgithubdiscord
    Powered by Mintlify
    Assistant
    Responses are generated using AI and may contain mistakes.