Multi-Agent Coordination Protocol

The era of capable AI agents is here. The missing piece is getting them to converge on a single outcome — reliably, every time, under pressure. MACP is the open protocol that makes multi-agent coordination a first-class primitive.

How MACP compares with MCP and A2A, and when not to use it →

Protocol 1.0 · Draft · RFC-driven · Open Standard
The Challenge

Intelligence is abundant. Coherence is not.

Today's multi-agent systems are built on communication primitives — agents call agents, planners aggregate responses, retry logic smooths uncertainty. From the outside it looks coordinated. But beneath the surface, convergence is implicit. There is rarely a declared boundary where coordination begins, a lifecycle that guarantees it ends, or a structural guarantee that two identical runs unfold identically.

“Agents can talk to each other freely — but those messages never commit anyone. Real decisions only count when they happen inside a Coordination Session.”

— the core rule from RFC-MACP-0001

This single invariant drives the entire protocol design. MACP Core doesn't define decision theory, governance policy, or domain logic — those belong to Coordination Modes and the Governance Policy Framework layered above core. What it does define is the structure that makes coordination auditable, replayable, and provably convergent.

Sessions

Every coordination has a beginning, a lifecycle, and a binding outcome. No more emergent convergence — MACP gives multi-agent interactions the same transactional integrity that databases gave to data.

Modes

Five standards-track coordination patterns — Decision, Proposal, Task, Handoff, Quorum — so agents don't just talk, they converge. Each mode defines exactly how participants reach a binding outcome.

Replay

Every session can be replayed from its accepted message log with identical state transitions. When a coordination needs auditing months later, you can reconstruct what each agent saw, said, and decided — deterministic by design.

Distributed computing solved this problem for data with transactions and consensus. MACP solves it for AI with coordination modes, session lifecycles, and replay integrity.

What MACP Is Made Of

Agents (backed by LLMs) enter a Session, coordinate under a Mode, and emit a binding Decision.

Participants
Agent A
LLM
Agent B
LLM
Agent C
LLM
Coordination Session

A bounded context where participants exchange typed messages under a chosen mode.

Mode
DecisionProposalTaskHandoffQuorum
Decision Result
Binding · Auditable · Replayable

Explore the Ecosystem

Everything you need to understand, build with, and operate multi-agent coordination — from specification to production.

Try it now

Run the ecosystem

See a coordination session end to end in your browser, run the whole stack on your machine with one command, or plug MACP into the agent framework you already use.

Launch the hosted showcase

Live

A real Decision session among deterministic, rule-based agents (no LLM is called), with the run graph, the Decision panel and a timeline you can scrub back through. Nothing to install; it finishes in about ten seconds.

Open the Showcase

Run the whole stack locally

Evaluation only

One command starts the runtime, control plane, console, playground, auth service and Postgres from pinned images, with no tokens or LLM keys. Open http://localhost:3000 and launch the Showcase.

git clone https://github.com/multiagentcoordinationprotocol/macp-runtime && cd macp-runtime/deploy && docker compose up

Or skip the clone: install the macp command line (or a release binary for macOS or Linux) and run macp up.

cargo install macp-cli
macp up

For evaluation, not production: auth runs on a throwaway development key. What is in the stack · The macp command line · Deploying to a platform

Keep your framework

Adapters for LangGraph and the Claude Agent SDK, in Python and TypeScript (0.1.0), let agents you already have settle a decision inside a MACP session.

  • LangGraph

    MacpConsensusNode: a graph node that settles a Decision or Quorum session and writes the commitment into graph state.

    pip install langgraph-macpnpm install @multiagentcoordinationprotocol/langgraph
  • Claude Agent SDK

    An mcp__macp__consensus tool for a lead agent: its subagents evaluate and vote in a session, and the commitment comes back.

    pip install claude-agent-sdk-macpnpm install @multiagentcoordinationprotocol/claude-agent-sdk

Examples: Python · TypeScript