Wednesday, June 18, 2025
HomeCloud ComputingA developer’s information to AI protocols: MCP, A2A, and ACP

A developer’s information to AI protocols: MCP, A2A, and ACP

Not like conventional AI fashions that reply to single prompts (like ChatGPT’s primary Q&A mode), AI brokers can plan, motive, and execute multi-step duties by interacting with instruments, knowledge sources, APIs, and even different brokers.

Sounds summary? That’s as a result of it’s. Whereas most would possibly agree with this definition or expectation for what agentic AI can do, it’s so theoretical that many AI brokers out there immediately wouldn’t make the grade.

As my colleague Sean Falconer famous not too long ago, AI brokers are in a “pre-standardization section.” Whereas we’d broadly agree on what they ought to or may do, immediately’s AI brokers lack the interoperability they’ll must not simply do one thing, however really do work that issues.

Take into consideration what number of knowledge methods you or your functions must entry each day, equivalent to Salesforce, Wiki pages, or different CRMs. If these methods aren’t presently built-in or they lack appropriate knowledge fashions, you’ve simply added extra work to your schedule (or misplaced time spent ready). With out standardized communication for AI brokers, we’re simply constructing a brand new sort of information silo.

Regardless of how the business adjustments, having the experience to show the potential of AI analysis into manufacturing methods and enterprise outcomes will set you aside. I’ll break down three open protocols which can be rising within the agent ecosystem and clarify how they may enable you construct helpful AI brokers—i.e., brokers which can be viable, sustainable options for complicated, real-world issues.

The present state of AI agent improvement

Earlier than we get into AI protocols, let’s assessment a sensible instance. Think about we’re excited by studying extra about enterprise income. We may ask the agent a easy query through the use of this immediate:

Give me a prediction for Q3 income for our cloud product.

From a software program engineering perspective, the agentic program makes use of its AI fashions to interpret this enter and autonomously construct a plan of execution towards the specified aim. How it accomplishes that aim relies upon completely on the checklist of instruments it has entry to.

When our agent awakens, it is going to first seek for the instruments below its /instruments listing. This listing could have guiding information to evaluate what’s inside its capabilities. For instance:

/instruments/checklist
/Planner
/GenSQL
/ExecSQL
/Choose

You can even have a look at it primarily based on this diagram:

Confluent agents example

Confluent

The principle agent receiving the immediate acts as a controller. The controller has discovery and administration capabilities and is chargeable for speaking immediately with its instruments and different brokers. This works in 5 basic steps:

  1. The controller calls on the planning agent.
  2. The planning agent returns an execution plan.
  3. The choose opinions the execution plan.
  4. The controller leverages GenSQL and ExecSQL to execute the plan.
  5. The choose opinions the ultimate plan and offers suggestions to find out if the plan must be revised and rerun.

As you may think about, there are a number of occasions and messages between the controller and the remainder of the brokers. That is what we are going to seek advice from as AI agent communication.

Budding protocols for AI agent communication

A battle is raging within the business over the best technique to standardize agent communication. How can we make it simpler for AI brokers to entry instruments or knowledge, talk with different brokers, or course of human interactions?

Right now, now we have Mannequin Context Protocol (MCP), Agent2Agent (A2A) protocol, and Agent Communication Protocol (ACP). Let’s check out how these AI agent communication protocols work.

Mannequin Context Protocol

Mannequin Context Protocol (MCP), created by Anthropic, was designed to standardize how AI brokers and fashions handle, share, and make the most of context throughout duties, instruments, and multi-step reasoning. Its client-server structure treats the AI functions as purchasers that request data from the server, which offers entry to exterior assets.

Let’s assume all the information is saved in Apache Kafka matters. We are able to construct a devoted Kafka MCP server, and Claude, Anthropic’s AI mannequin, can act as our MCP consumer.

In this instance on GitHub, authored by Athavan Kanapuli, Akan asks Claude to connect with his Kafka dealer and checklist all of the matters it comprises. With MCP, Akan’s consumer utility doesn’t must know entry the Kafka dealer. Behind the scenes, his consumer sends the request to the server, which takes care of translating the request and operating the related Kafka operate.

In Akan’s case, there have been no out there matters. The consumer then asks if Akan wish to create a subject with a devoted variety of partitions and replication. Similar to with Akan’s first request, the consumer doesn’t require entry to data on create or configure Kafka matters and partitions. From right here, Akan asks the agent to create a “international locations” subject and later describe the Kafka subject.

For this to work, you must outline what the server can do. In Athavan Kanapuli’s Akan venture, the code is within the handler.go file. This file holds the checklist of features the server can deal with and execute on. Right here is the CreateTopic instance:


// CreateTopic creates a brand new Kafka subject
// Non-obligatory parameters that may be handed by way of FuncArgs are:
// - NumPartitions: variety of partitions for the subject
// - ReplicationFactor: replication issue for the subject
func (okay *KafkaHandler) CreateTopic(ctx context.Context, req Request) (*mcp_golang.ToolResponse, error) {

	if err := ctx.Err(); err != nil {
		return nil, err
	}

	if err := okay.Consumer.CreateTopic(req.Matter, req.NumPartitions, req.ReplicationFactor); err != nil {
		return nil, err
	}

	return mcp_golang.NewToolResponse(mcp_golang.NewTextContent(fmt.Sprintf("Matter %s is created", req.Matter))), nil
}

Whereas this instance makes use of Apache Kafka, a extensively adopted open-source know-how, Anthropic generalizes the tactic and defines hosts. Hosts are the massive language mannequin (LLM) functions that provoke connections. Each host can have a number of purchasers, as described in Anthropic’s MCP structure diagram:

Anthropic MCP client-server architecture

Anthropic

An MCP server for a database could have all of the database functionalities uncovered via an identical handler. Nevertheless, if you wish to develop into extra subtle, you may outline current immediate templates devoted to your service.

For instance, in a healthcare database, you could possibly have devoted features for affected person well being knowledge. This simplifies the expertise and offers immediate guardrails to guard delicate and personal affected person data whereas making certain correct outcomes. There may be rather more to study, and you may dive deeper into MCP right here.

Agent2Agent protocol

The Agent2Agent (A2A) protocol, invented by Google, permits AI brokers to speak, collaborate, and coordinate immediately with one another to unravel complicated duties with out frameworks or vendor lock-in. A2A is said to Google’s Agent Improvement Package (ADK) however is a definite element and never a part of the ADK package deal.

A2A leads to opaque communication between agentic functions. Which means interacting brokers don’t have to show or coordinate their inner structure or logic to trade data. This provides completely different groups and organizations the liberty to construct and join brokers with out including new constraints.

In observe, A2A requires that brokers are described by metadata in id information often known as agent playing cards. A2A purchasers ship requests as structured messages to A2A servers to eat, with real-time updates for long-running duties. You’ll be able to discover the core ideas in Google’s A2A GitHub repo.

One helpful instance of A2A is this healthcare use case, the place a supplier’s brokers use the A2A protocol to speak with one other supplier in a special area. The brokers should guarantee knowledge encryption, authorization (OAuth/JWT), and asynchronous switch of structured well being knowledge with Kafka.

Once more, take a look at the A2A GitHub repo in the event you’d prefer to study extra.

Agent Communication Protocol

The Agent Communication Protocol (ACP), invented by IBM, is an open protocol for communication between AI brokers, functions, and people. In response to IBM:

In ACP, an agent is a software program service that communicates via multimodal messages, primarily pushed by pure language. The protocol is agnostic to how brokers operate internally, specifying solely the minimal assumptions needed for easy interoperability.

When you check out the core ideas outlined within the ACP GitHub repo, you’ll discover that ACP and A2A are related. Each have been created to remove agent vendor lock-in, velocity up improvement, and use metadata to make it simple to find community-built brokers whatever the implementation particulars. There may be one essential distinction: ACP allows communication for brokers by leveraging IBM’s BeeAI open-source framework, whereas A2A helps brokers from completely different frameworks talk.

Let’s take a deeper have a look at the BeeAI framework to grasp its dependencies. As of now, the BeeAI venture has three core elements:

  1. BeeAI platform – To find, run, and compose AI brokers;
  2. BeeAI framework – For constructing brokers in Python or TypeScript;
  3. Agent Communication Protocol – For agent-to-agent communication.

What’s subsequent in agentic AI?

At a excessive degree, every of those communication protocols tackles a barely completely different problem for constructing autonomous AI brokers:

  • MCP from Anthropic connects brokers to instruments and knowledge.
  • A2A from Google standardizes agent-to-agent collaboration.
  • ACP from IBM focuses on BeeAI agent collaboration.

When you’re excited by seeing MCP in motion, take a look at this demo on querying Kafka matters with pure language. Each Google and IBM launched their agent communication protocols solely not too long ago in response to Anthropic’s profitable MCP venture. I’m desperate to proceed this studying journey with you and see how their adoption and evolution progress.

Because the world of agentic AI continues to broaden, I like to recommend that you just prioritize studying and adopting protocols, instruments, and approaches that prevent effort and time. The extra adaptable and sustainable your AI brokers are, the extra you may deal with refining them to unravel issues with real-world influence.

Adi Polak is director of advocacy and developer expertise engineering at Confluent.

Generative AI Insights offers a venue for know-how leaders—together with distributors and different outdoors contributors—to discover and talk about the challenges and alternatives of generative synthetic intelligence. The choice is wide-ranging, from know-how deep dives to case research to skilled opinion, but in addition subjective, primarily based on our judgment of which matters and coverings will finest serve InfoWorld’s technically subtle viewers. InfoWorld doesn’t settle for advertising collateral for publication and reserves the best to edit all contributed content material. Contact doug_dineley@foundryco.com.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments