What actually happens when two AI agents need to agree on who does the work? That question sounds abstract until a system with five agents stalls because they keep handing the same task back and forth. Multi-agent communication protocols exist to prevent exactly that kind of mess. They define how agents address each other, what a message means, who takes the next turn, and how a task gets assigned. The idea is older than the current AI boom, and the older designs still shape how modern systems behave, often without developers realizing it.
What a Multi-Agent Communication Protocol Actually Does
Strip away the jargon and a protocol is a shared rulebook. It answers four practical questions:
- Who can send a message to whom, and in what format?
- What does each message mean (a request, a promise, a refusal, a question)?
- How does a task get offered, claimed, and confirmed?
- What happens when an agent goes silent or replies with nonsense?
Without those rules, agents built by different teams behave like people at a meeting who all speak different languages and keep interrupting each other. The system still runs, but it burns tokens, time, and money on coordination rather than work.
The Academic Ancestors: KQML and FIPA ACL

Long before large language models, researchers tried to standardize agent talk. The Knowledge Query and Manipulation Language (KQML) emerged from the ARPA Knowledge Sharing Effort in the early 1990s. It introduced the idea of performatives, message wrappers such as ask-if and tell that say what the sender intends, separate from the content itself.
The Foundation for Intelligent Physical Agents (FIPA), founded in 1996, built on that work with the FIPA Agent Communication Language (ACL). FIPA ACL defined a richer set of performatives, including inform, request, propose, and accept-proposal, and it attached formal semantics to each one. Those semantics were written in a modal logic of belief, desire, and intention (BDI), which made messages formally checkable but heavy to build and hard to teach to working engineers.
| Feature | KQML | FIPA ACL |
|---|---|---|
| Origin | ARPA Knowledge Sharing Effort, early 1990s | FIPA, founded 1996 |
| Core idea | Performatives like ask-if, tell | Performatives like inform, request, propose |
| Semantics | Informal, practical | Formal BDI logic with preconditions |
| Industry adoption | Limited, mostly research | Limited, mostly research |
| Legacy | Influenced FIPA | Influenced later interaction protocols |
The honest takeaway: neither language became the HTTP of agents. They were rigorous, well documented, and largely ignored by industry. That gap between elegance and adoption is the single most useful lesson in this whole field.
Contract Net: The Task-Bidding Pattern That Refuses to Die
In 1980, Reid G. Smith published the Contract Net Protocol in IEEE Transactions on Computers. The pattern is simple and it works:
- A manager agent announces a task.
- Contractor agents evaluate it and submit bids.
- The manager awards the contract to one or more bidders.
- The winner reports results back to the manager.
FIPA later folded Contract Net into its catalog of interaction protocols, alongside patterns like Request-When and Subscribe. You can still see the DNA of Contract Net in modern scheduling systems, cloud job queues, and the “which agent should handle this?” routing logic inside LLM frameworks. When a planner agent asks three worker agents to estimate effort and then picks the cheapest, that is Contract Net with new clothes.
Why Formal Protocols Lost to Chatty LLMs
Modern systems built on large language models mostly skip formal ACLs. Frameworks like AutoGen, CrewAI, and LangGraph let agents talk in natural language or structured JSON, with roles and turn-taking defined in code or prompts. It is fast to prototype and flexible, but it also means the “protocol” is often a convention rather than a specification.
This trade-off has real costs. Natural-language messages are ambiguous, hard to validate, and easy to spoof. A worker agent might “agree” to do something without ever calling the tool that does it. Formal ACLs would have caught that mismatch at the message level; a casual chat log will not.
There is also a naming confusion worth clearing up. The Model Context Protocol (MCP), introduced by Anthropic in November 2024, is often mentioned in the same breath as agent communication. It is not an agent-to-agent protocol. MCP is a client-server protocol for connecting an AI assistant to tools and data sources. It solves “how does my agent reach the database,” not “how do two agents negotiate who queries the database.” Vendor-proposed agent-to-agent protocols have appeared too, but their details and standardization status remain unsettled, so treat any confident claim about them with caution. (Communication protocol)
The Practical Anatomy of a Working Agent Protocol
Teams that ship multi-agent systems successfully tend to converge on the same handful of design choices, regardless of which framework they use. Here is what actually holds up in practice.
A typed message envelope. Every message carries a sender, a recipient, a message type (task, result, question, error), a correlation ID, and a payload. The type matters more than the payload. Without it, agents waste turns guessing intent.
Explicit task ownership. At any moment, exactly one agent owns a task. Handoffs are recorded. This single rule prevents the most common failure: two agents editing the same resource because both believed they were in charge.
Bounded turn-taking. Loops are capped. If agents have not resolved a question after a set number of exchanges, the task escalates to a human or a supervisor agent. Unbounded conversation is how token budgets die.
Least-privilege credentials per agent. Each agent gets only the permissions its role requires. A research agent that reads documents should not hold write access to production data. This is the same discipline described in giving an AI agent the minimum permissions it needs, and it matters more in multi-agent systems because mistakes multiply across participants.
A kill switch and an audit log. Someone needs to be able to stop the whole conversation and read what happened afterward. Logs should record message type and outcome in addition to raw text.
Common Mistakes Teams Make
The failures repeat across projects, and most are avoidable.
- Treating natural language as a protocol. Free-form chat feels productive but hides ambiguity. Add structure to at least the message type and the expected result.
- Skipping the test phase before write access. Agents that can only read are safe to experiment with. Agents that can write need a rehearsal period with mocked tools and recorded transcripts. A structured approach to testing AI agents before granting write access catches negotiated handoffs that break under load.
- Letting every agent talk to every agent. Full mesh communication scales badly and creates noisy logs. Route through a coordinator or a shared task board.
- Assuming agreement means completion. A worker saying “done” is not evidence. Require a verifiable artifact: a file, a record ID, a test result.
- Ignoring message size. Long context dumps between agents inflate cost fast. Summarize before forwarding.
- No versioning. When one agent’s prompt or tool schema changes, the protocol between agents changes too. Version the contract.
Where the Field Is Heading
Interoperability is still an open problem. There is no dominant standard for agent-to-agent messaging across vendors, and the research lineage from KQML through FIPA never crossed into mainstream industry use. What is emerging instead is a layered picture: tool access protocols underneath, agent conversation patterns on top, and governance wrapped around both.
For teams building now, the sensible strategy is to borrow the discipline of the old standards without their weight. Use typed messages, explicit ownership, and bounded turns. Keep permissions narrow. Log everything. Watch the news for emerging standards, since the landscape shifts quickly, and follow developments in agent protocols rather than betting on a single vendor’s design.
The pattern that survives is rarely the most formally elegant one. It is the one that makes failure obvious and recovery cheap.
Conclusion
Multi-agent communication protocols are less about exotic technology and more about agreement. The field has a deep bench of prior art, from KQML’s performatives to FIPA ACL’s formal semantics to Contract Net’s bidding dance, and modern LLM frameworks have largely reinvented simpler versions of the same ideas. The teams that do well treat communication as a contract: typed, bounded, logged, and tested before anyone gets write access. The teams that struggle let agents chat freely and hope for the best. The protocol is the difference.
FAQ
What is the difference between an agent communication protocol and a tool protocol?
An agent communication protocol governs messages between agents: who asks, who agrees, who reports back. A tool protocol governs how an agent reaches an external resource like a database or an API. The Model Context Protocol is an example of the second kind. Mixing them up leads to architectures where agents negotiate endlessly but never actually call anything. (Transmission Control Protocol/Internet (TCP/IP) concepts)
Is FIPA ACL still used today?
Rarely in commercial systems. FIPA ACL remains important as a reference design because it defined performatives and formal semantics that later work borrowed from. Most modern LLM multi-agent frameworks use natural language or JSON messaging instead, with far less formal rigor and far more flexibility.
What is the Contract Net Protocol in simple terms?
It is a task-bidding pattern from 1980. One agent announces work, others bid, and the announcer picks a winner. It shows up today whenever a planner agent asks several workers to estimate a job and then routes the task to the best fit.
Do LLM multi-agent systems need a formal protocol?
They need structure more than formalism. A typed message envelope, explicit task ownership, capped turn counts, and verifiable completion signals prevent most failures. Full formal semantics, as FIPA ACL attempted, are usually overkill outside research settings.
How do you stop agents from looping forever?
Cap the number of exchanges per task and define an escalation path. If agents cannot resolve a question within the cap, a supervisor agent or a human takes over. Pair that with logging so you can see which message pairs caused the loop and tighten the instructions.
What is the biggest security risk in multi-agent communication?
Over-broad permissions. If every agent can write everywhere, one confused or manipulated agent can damage shared resources. Give each agent the minimum access its role requires, test it with read-only tools first, and keep an audit log of every handoff.
A note on protocol ownership. The teams that avoid trouble also decide early who owns the message schema. When each agent’s prompt defines its own message format, the contract drifts within weeks. Put the envelope definition in one shared module, version it, and make every agent import it rather than restate it in prose. That single decision turns protocol changes from a scavenger hunt into a one-line diff.
Watch for silent disagreement. Two agents can both report success while describing incompatible outcomes: one wrote a draft, the other updated a spreadsheet, and neither matches the task the manager assigned. The fix is a shared completion check the manager runs itself, not a status field the worker fills in. If the artifact cannot be verified against the original task, the task is not done, no matter how confident the message sounds.
None of this requires the formal machinery KQML and FIPA built. It requires the habits those standards tried to encode: say what kind of message this is, say who is responsible, say what evidence proves it worked. The vocabulary can stay plain JSON. The discipline is what carries over, and it is the part worth keeping.







