Minds

Agent-to-agent communication, explained

How two AI agents exchange messages: finding each other, proving who is asking, the message format, and following a job. With A2A as the worked example.

Updated

Agent-to-agent communication is one AI agent sending a message to another AI agent and getting an answer back, with no person typing in between. For it to work, the two agents need four things: a way to find each other, a way to show who is asking, a message format both can read, and a way to follow a job that takes longer than one reply.

The guide to AI agent networks covers what happens when many agents that work for different people are connected. The subject here is one exchange between two agents.

What agent-to-agent communication is, and what it is not

An AI agent is software built on an AI model that takes steps toward a goal. When it hits something it cannot do alone, it has two broad options.

The first is to use a tool, such as a calendar lookup or a web search. A tool does one defined thing and hands back a result. The Model Context Protocol is a published standard for that side of an agent's work: its documentation calls MCP "an open-source standard for connecting AI applications to external systems."

The second is to ask another agent, which can ask a question back, take a while, or decline. The A2A documentation describes agents that "communicate as agents (or as users), not through tool-like interactions," and it sums up the split in one line: "A2A crosses the boundary between agents; MCP stays within one agent."

So a tool call is closer to pressing a button, and agent-to-agent communication is closer to sending a colleague a note. MCP vs A2A for everyday users goes further.

The four parts of one exchange

The Agent2Agent protocol, or A2A, makes a useful worked example because its documentation is public. Other systems can handle each part differently.

1. Finding the other agent

The asking agent has to know that the other agent exists, where to reach it and what it can do. In A2A that information lives in an Agent Card. The core concepts page describes it as "a JSON metadata document describing an agent's identity, capabilities, endpoint, skills, and authentication requirements," and compares it to a digital business card.

2. Showing who is asking

An answer can depend on who wants it, so the receiving agent needs to know who is on the other end. The same documentation says authentication requirements are declared in the Agent Card, and that credentials are typically passed through HTTP headers, separate from the protocol messages themselves.

3. The message

In A2A, a message is "a single turn of communication between a client and an agent," and it carries a role, either "user" or "agent." Its content sits in parts, and a part holds one of three things: text, a file, or structured data.

So agents do not need a secret code to talk. They can send ordinary sentences, attach a file, or pass data in a fixed shape when a sentence would be too loose, such as a date and a time. Do AI agents have their own language? takes that question on directly.

4. Following the work

Some requests get an answer straight away. Others take minutes or days, because the other agent has to check something or wait for its person. The A2A documentation covers both: the reply can be a message when the agent can respond immediately, or a task when the work will run long. It defines a task as "a stateful unit of work" with a unique ID and a defined lifecycle, so both sides can refer to the same job later. For long jobs, the asker can check back from time to time, receive the answer as a stream, or get a notification when something changes.

What the two agents do not share

Each agent keeps its own memory, tools and instructions, and only the messages cross. The A2A documentation says that to the asking side, the remote agent is "an opaque (black-box) system: its internal workings, memory, and tools stay hidden."

So an agent can only learn what the other agent chooses to put in a message, and that choice is where privacy is won or lost.

A worked example: two assistants and a dinner

Picture two friends, each with an assistant, and one wants to set up a dinner. The example is made up to show the four parts.

  1. Finding. The first assistant looks up how to reach the friend's assistant and sees that it handles questions about availability.
  2. Identity. It shows whose assistant it is. The friend's assistant checks that this person is someone it may answer.
  3. Message. It sends: "Is Friday evening open for dinner? Anywhere near downtown works." The reply comes back as a sentence plus a time in a fixed format: "Friday is taken. Saturday after 7 works."
  4. Follow-up. The friend's assistant is unsure about Saturday and needs to ask its person. It keeps the request open and sends the final answer an hour later.

Each assistant then tells its own person the result. Neither saw the other's calendar.

What can go wrong in a single exchange

One product, or many companies?

A shared, published protocol matters most when the two agents come from different makers. When both agents live inside one product, that product can decide how its agents find each other and what a message looks like, and the people using it may never see a protocol name. AI agent protocols: a plain-English map sorts out the names you are likely to come across.

For shorter answers, see how AI agents talk to each other and can your AI talk to a friend's AI?

How Minds talk to each other

Minds is built to be the best agent at drafting messages and knowing what to say to your friends. Minds is Authentic Intelligence's social-intelligence app, where each person has their own Mind. So in Minds, the agent on each end of an exchange is a Mind that belongs to a person.

Your Mind can talk with other people's Minds when it is relevant. An exchange can take more than one form:

In an anonymous conversation between Minds, anonymity hides who is asking, and several broad clues together can still identify the asker.

As for what comes back, your Mind is designed to bring you answers to what you asked, and to bring you what a conversation it started with another Mind turns up when that changes what you know or could do.

Content from other people or websites may contain instructions designed to mislead AI assistants. Your Mind can make mistakes, such as misunderstanding a request, messaging the wrong person, or getting facts wrong. So check anything important with the person.

Mind-to-Mind messaging in Minds walks through the feature, networked personal AI looks at what changes for you when assistants connect, and the agent network guides list every article on the subject.

Minds is free to download in the countries where it is listed, and where to get Minds has the store links.

Articles

Sources

  1. What is A2A?, A2A Protocol, accessed
  2. Core Concepts and Components in A2A, A2A Protocol, accessed
  3. What is the Model Context Protocol (MCP)?, Model Context Protocol, accessed

Related