Skip to content

Start building

Protocols

What is A2A, the Agent2Agent protocol?

A2A (Agent2Agent) is an open protocol that lets AI agents built by different companies, on different platforms, send each other work and get results back. Each agent publishes an Agent Card that says what it can do and how to reach it; other agents send it messages, and each request becomes a task that ends with a result.

Updated · 5 min read

Why does A2A exist?

Agents now live in many places: inside your CRM, at your suppliers, in your own support desk. Without a shared protocol, every pair of agents that should work together needs its own integration. A2A gives them one common way to talk, whatever framework or model each one is built on.

Google announced A2A in April 2025 and gave it to the Linux Foundation in June 2025, where it is developed in the open. Version 1.0 renamed the protocol’s methods and reshaped the Agent Card; many agents still speak the earlier version 0.3.

How does A2A work?

  1. Discover. The calling agent reads the other agent’s Agent Card, a JSON document usually published at /.well-known/agent-card.json.
  2. Send a message. It sends a message made of parts, such as text, a file or structured data, to the address on the card.
  3. Work on a task. The receiving agent turns the request into a task with a state: submitted, working, input required, completed, failed, cancelled or rejected.
  4. Get the result. The caller waits for the answer, asks for the task’s state later, or follows its progress as a stream of server-sent events. Some agents can also call back a webhook when the task changes.

The protocol runs over HTTPS. Its main binding is JSON-RPC 2.0; gRPC and a plain HTTP and JSON binding exist too.

What is an Agent Card?

An Agent Card is an agent’s public description. It gives the agent’s name, a description, its skills, the address to call, the protocol versions it speaks, and how callers must sign in. A calling agent, or a person setting one up, reads the card to decide whether the agent can help and how to reach it.

Because the card is text that shapes what the caller does, a card that changes without warning deserves the same suspicion as a changed tool description. Good platforms notice when a card changes.

What is the difference between A2A and MCP?

They solve different problems and work well together. MCP connects an agent to tools; A2A connects an agent to another agent.

  • Connects

    MCP
    An agent to tools and data
    A2A
    An agent to another agent
  • The other side

    MCP
    A tool that does one thing and returns
    A2A
    An agent that reasons, may take many steps and may ask questions
  • Description

    MCP
    A list of tools with input schemas
    A2A
    An Agent Card with skills
  • One request is

    MCP
    A tool call
    A2A
    A task with states, which can take time
  • Typical use

    MCP
    Read a CRM record, post a message
    A2A
    Ask a partner’s agent to plan a delivery

How does MyDeepAgents use A2A?

MyDeepAgents speaks A2A in both directions, in versions 1.0 and 0.3 over the JSON-RPC binding. It answers each caller in the version the request names.

Outside agents are agents at other companies that your agents can call:

  • You add one by its card’s address or its base address; the platform tries /.well-known/agent-card.json, then the older /.well-known/agent.json.
  • Sign-in is none, a bearer token or custom headers, and it is tested before the agent is saved.
  • The card you accept is pinned by a SHA-256 hash. If the other side changes its card, calls stop until a person accepts the new one.
  • Your agent sees the outside agent as one tool that sends a message and waits for the task to finish. A message is never sent twice by a retry.
  • Calls follow the same approval settings, policy and outbound network checks as other tools. The call log keeps the outcome and timing for 30 days, never the message or the answer.

Shared agents are your own agents, offered to others:

  • You share an agent at its live or staging version, and it gets its own address and Agent Card.
  • Callers sign in with keys you issue, shown once and stored only as a hash, or you leave the agent open.
  • Callers can send a message, stream the answer, check, list and cancel tasks, and subscribe to a task’s updates.
  • Each shared agent has a limit on requests per minute and a daily spend cap. Each task is an ordinary run of your agent, so its own tools, approvals and limits apply.

The Agent network map in the console shows which of your agents work with which, inside and outside the company.

How do you use A2A safely?

  • Make callers sign in, and give each caller its own key so you can revoke one without the others.
  • Treat messages from other agents as untrusted input, like an email from a stranger.
  • Give a shared agent only the tools its callers should reach, and put approvals on writes.
  • Cap what a shared agent may spend, and limit how often it can be called.
  • Pin the cards of outside agents and review changes before trusting them again.

Key points

  • A2A is an open protocol for agents at different companies to send each other work.
  • An Agent Card describes an agent; a request becomes a task with states that ends in a result.
  • MCP connects agents to tools; A2A connects agents to agents.
  • MyDeepAgents calls outside agents and shares your own, in A2A 1.0 and 0.3.
  • Pinned cards, keys, rate limits, spend caps and approvals keep it under control.

Questions people also ask

Do I need A2A for my own agents to work together?

No. In MyDeepAgents an agent can call another agent of the same workspace directly, as a tool. A2A is for agents on other platforms or at other companies.

Which A2A versions does MyDeepAgents support?

Versions 1.0 and 0.3, over the JSON-RPC binding. Your shared agents answer each caller in the version its request names.

Can someone outside my company use one of my agents?

Only if you share it. A shared agent has its own address and Agent Card, callers sign in with keys you issue unless you choose to leave it open, and each one has a rate limit and a daily spend cap.

Who created the A2A protocol?

Google announced it in April 2025 and gave it to the Linux Foundation in June 2025, where it is now developed as an open project.

Early access

Put an agent to work

Build an agent, connect it to your tools, and decide what it may do on its own. Or tell us what you want it to do.