MSBA-311 · Lesson 4 of 12 · 20 min
Agent2Agent communication
▶ Video coming soon A video version of this lesson is on the way.
In the first week of November 2026, Northmark Mutual wrote to its brokers again. A year earlier it had offered an MCP server for appetite checks. Now it was piloting something different: a quote intake agent that brokers' own agents could talk to directly using the Agent2Agent protocol. Instead of emailing a submission package to an underwriting assistant, a broker's agent would send the submission as a task; Northmark's agent would check it for completeness, ask for anything missing, and return an indication or a referral to an underwriter. Solveig Etxeberria, who places much of Quillfield's commercial business with Northmark, forwarded the announcement to Bram with a familiar line: "Can our agent use this?"
This time the answer involved a different protocol and different questions. With MCP, Quillfield's agent would have been calling Northmark's *tools*, deciding itself what to do with the results. With A2A, Quillfield's agent would be handing work to *another agent* that makes its own decisions, which Quillfield can neither see nor control. This lesson explains how A2A works, how it differs from MCP, where Microsoft's platforms support it, and how to use it safely.
Where A2A came from
Google introduced the Agent2Agent protocol in April 2025 with a group of technology partners, and later contributed it to the Linux Foundation, where it is developed as an open project. In April 2026 the Linux Foundation announced version 1.0, which it described as the first stable specification, with more than 150 organizations supporting the protocol. The 1.0 release added signed Agent Cards, support for several transport protocols and multi-tenancy, so that one endpoint can serve many agents. Microsoft has integrated A2A into Microsoft Foundry and Copilot Studio, and other cloud providers have added support in their own agent platforms.
A2A's design rests on a principle that matters for architects: agents are opaque. A remote agent does not reveal its instructions, tools, memory or model. It advertises what it can do and accepts tasks; how it does them is its own business. That is what makes A2A suitable for cooperation between organizations, where neither side would expose its internals, and it is also what makes trust the central design question.
The building blocks
A2A defines a small number of concepts. The names below follow the specification; check the current version for exact field names.
Agent Card. A JSON document that describes an agent: its name and description, who provides it, the endpoints and transports it supports, the security schemes a client must use to authenticate, its capabilities (for example whether it supports streaming or push notifications) and its skills, each with a description and examples. Cards are usually published at a well-known path on the agent's domain, so a client can discover them. In version 1.0 a card can be signed, letting a client verify that it really comes from the stated provider and has not been altered.
Task. The unit of work. A client agent sends a message that starts a task; the remote agent assigns it an identifier and moves it through states such as submitted, working, input required, completed, failed or canceled. Tasks can be short, finishing in one exchange, or long, lasting hours or days.
Message. A turn of communication between client and remote agent, made of parts, which can be text, files or structured data.
Artifact. An output the remote agent produces for the task, such as a document, a structured result or an image. Artifacts are how results come back.
Interaction styles. A client can wait for a response, receive a stream of updates as the task progresses, or register a webhook so the remote agent can send push notifications when the task changes, which suits long-running work.
{
"name": "Northmark Quote Intake",
"description": "Accepts commercial property and liability submissions from appointed brokers, checks completeness and returns an indication or a referral.",
"provider": { "organization": "Northmark Mutual (fictional)" },
"version": "0.9.2",
"capabilities": { "streaming": true, "pushNotifications": true },
"securitySchemes": { "brokerOAuth": { "type": "oauth2" } },
"skills": [
{ "id": "commercial-submission",
"name": "Commercial submission intake",
"description": "Takes a submission brief and attachments; may ask for loss runs or schedules; returns indication or referral.",
"examples": ["Submit a property and liability package for a food distributor"] }
]
}A2A and MCP compared
MCP and A2A are complementary, and a single agent often uses both: MCP to reach its tools and data, A2A to delegate work to peers. The differences are worth setting out carefully, because the AB-100 exam's audience profile expects architects to have expertise in both.
| Question | MCP | A2A |
|---|---|---|
| What is on the other side? | A server offering tools, resources and prompts | Another agent with its own reasoning |
| Who decides how the work is done? | The calling agent | The remote agent |
| Typical duration | Seconds per call | Seconds to days per task |
| How results come back | Tool results | Messages and artifacts on a task |
| Discovery | Tool lists from the server | Agent Cards describing skills |
| Typical use | Reaching systems and data | Delegating to a peer, often across organizations |
A useful test is to ask whether you want to control *how* the work is done. If yes, you want tools, and MCP fits. If you only care about the outcome and the other party has expertise or data you do not, you want a colleague, and A2A fits. Northmark's appetite server answers factual questions Quillfield's agent can reason about; Northmark's quote intake agent exercises Northmark's own underwriting judgment, which Quillfield neither needs nor is allowed to see.
A2A on Microsoft's platforms
As of November 2026, Microsoft supports A2A in both directions, though the details and status vary by feature, so check the documentation before designing around a capability.
Calling out. Microsoft Foundry agents can call remote A2A agents through an A2A tool, which was available at Build 2026. Copilot Studio agents can add an external agent reached over A2A, alongside child agents, connected Copilot Studio agents and Foundry agents, and the parent's generative orchestration decides when to call it based on its description.
Being called. At Build 2026, Foundry announced in public preview an incoming A2A endpoint for its agents, with an Agent Card, so that other platforms can call a Foundry agent over A2A. This matters for Quillfield: Ngozika's submission review agent could, in principle, be offered to partners over A2A without exposing its internals.
Code-first. The Microsoft Agent Framework supports A2A for agents built in code, so developers can expose their agents and call others with the same protocol.
Designing an A2A integration
Bram's design for the Northmark pilot started from the business process rather than the protocol. Today, an account executive emails a submission package and waits, sometimes for days, for an underwriting assistant to say what is missing. With A2A, the Submission Desk's quote request step would send the submission brief to Northmark's agent as a task; if Northmark's agent moved the task to input required, the request would appear to the account executive in Teams; once the account executive provided the missing document, the Submission Desk would send it and wait for the task to complete; the artifact, an indication with a reference number, would be stored on the BrokerDesk submission.
Four design decisions shaped it.
Long-running by default. Underwriting decisions can take days. The Submission Desk would register for push notifications rather than hold a connection open, and the workflow would store the task identifier so that it could resume when notified. Lesson 7 covers how that state is kept.
A person on every outbound message. Nothing goes to Northmark without the account executive's approval of what will be sent. A2A makes it easy for agents to talk; that ease is exactly why Quillfield wanted a person to see each message carrying client information before it left.
Minimum necessary data. The submission brief sent to Northmark contains what an underwriter needs and nothing else: no unrelated policies, no internal notes about the client's payment history. The brief is built by a fixed template rather than by an agent deciding what to include.
Fallback to email. If Northmark's agent is unavailable or rejects the task for a technical reason, the workflow falls back to the existing email process with the same package. The pilot must never make placing business harder than it was.
Discovery, contracts and versions
On the open web, a client could in principle discover any agent by fetching its card. In business, discovery is rarely open. Quillfield will only send submissions to carriers it is appointed with, under agreements that set out what each side may do with the information. So the practical question is not "how do we find agents?" but "how do we keep a trustworthy list of the agents we have agreed to work with?"
Bram's answer had three parts. First, an approved remote agents list, kept in configuration and owned by the commercial lines manager, naming each carrier agent, its expected provider, its endpoint and the skills Quillfield has agreed to use. An orchestrator can only call agents on the list, however attractive another card looks. Second, every remote agent is recorded in Agent 365 as an external dependency of the Submission Desk, with a Quillfield owner responsible for the relationship. Third, the broker agreement with each carrier gains a short schedule covering the agent: availability expectations, how changes to its skills or behavior will be announced, how long task records are kept and who to call when something goes wrong.
Versions matter more with agents than with ordinary APIs, because an agent's behavior can change without any change to its interface. Northmark could retrain its intake agent so that it asks for different documents, and nothing in the Agent Card would need to change. The Agent Card carries a version, and Quillfield's configuration records the version it last tested against; when the version changes, the Submission Desk keeps working but raises a review task for the commercial lines team. Quillfield also keeps a small set of test submissions, with no real client data, that it can send to a carrier's agent in a test tenant to see whether the behavior has changed.
Finally, think about what the business relationship looks like when it is mediated by agents. If Northmark's agent tells Quillfield's agent that a submission is complete and an underwriter will respond in two days, and nobody responds, who is accountable? The answer must be written down before the pilot starts, not discovered afterwards. Quillfield's schedule says that statements from Northmark's agent are Northmark's statements, exactly as if an underwriting assistant had written them in an email, and that both sides keep the task history for seven years so that it can be produced if a coverage dispute arises.
Trust between agents
When two organizations' agents talk, each is exposed to the other's mistakes and to anyone who has compromised the other side. Wendell's review covered both directions. The measures below are defensive controls for an organization using or offering A2A agents.
Verify who you are talking to. Fetch the Agent Card over a trusted channel and, where it is signed, verify the signature against the provider's published keys. Pin the expected provider and endpoint in configuration rather than following whatever a card says.
Authenticate properly. Use the security scheme the card declares, typically OAuth 2.0 with credentials issued to Quillfield under its broker agreement. Never send credentials to an endpoint you have not verified.
Treat everything that comes back as untrusted data. Messages and artifacts from a remote agent are content, not instructions. If Northmark's agent were compromised, a message could contain text designed to make Quillfield's agent do something else, such as forward other clients' documents. The Submission Desk handles Northmark's replies in a narrow step that can only update the submission record and notify the account executive; it has no tool that could send other data out.
Do not rely on descriptions for security. An Agent Card's skill descriptions help an orchestrator decide when to call the agent, but they are claims, not guarantees. Decisions about what data may be sent belong in your configuration and contracts, not in a model's reading of a description.
Log both directions. Record every task, message and artifact with the task identifier and a trace identifier, so that disputes and incidents can be investigated.
Worked problem
Exposing an agent to partners
Ngozika suggests offering the submission review agent to two managing general agents that Quillfield works with, using Foundry's incoming A2A endpoint. What should the design include?
Show solution
- Decide exactly which skill is offered: perhaps "summarize inspection findings for a named client", not open access to the knowledge base.
- Check data rights: inspection reports were obtained for Quillfield's clients; sharing summaries with partners may need client consent and contract terms.
- Require authentication per partner, with separate credentials and rate limits for each.
- Make the agent check that the requesting partner is authorized for the named client before answering.
- Sign the Agent Card, register the exposed agent in Agent 365 and log every task.
Answer: A narrowly scoped skill, partner-specific authentication and authorization, a data rights review, a signed card, registration and full logging. Until the data rights question is settled, the endpoint should stay in a test environment.
Common mistakes
MistakeUsing A2A when you need to control how the work is done.
InsteadUse MCP tools when you want control; use A2A when you are delegating to a peer.
MistakeHolding a connection open for a task that may take days.
InsteadUse push notifications and store the task identifier so the workflow can resume.
MistakeFollowing whatever endpoint an Agent Card names.
InsteadVerify signed cards and pin the expected provider and endpoint in configuration.
MistakeLetting an agent decide what client data to include in outbound tasks.
InsteadBuild outbound payloads from a fixed template with the minimum necessary data and a person's approval.
MistakeTreating a remote agent's messages as instructions.
InsteadHandle them as untrusted data in a narrow step with limited tools.
Summary and key terms
- A2A lets agents delegate tasks to other agents as opaque peers; version 1.0, announced by the Linux Foundation in April 2026, is the first stable specification.
- Agent Cards describe an agent's skills, endpoints and security schemes; tasks carry messages and return artifacts.
- MCP connects agents to tools they control; A2A connects agents to colleagues who decide for themselves.
- Foundry can call A2A agents and, in preview, expose its agents over A2A; Copilot Studio can add A2A agents.
- Safe A2A use means verified cards, proper authentication, minimum data, human approval of outbound messages, untrusted handling of replies and full logging.
- Agent Card
- A JSON document describing an A2A agent's skills, endpoints, capabilities and security schemes.
- Task
- The A2A unit of work, with an identifier and states such as working, input required and completed.
- Artifact
- An output a remote agent produces for a task.
- Opaque agent
- An agent that does not reveal its internal instructions, tools or memory to callers.
- Push notification
- A message the remote agent sends to a client's webhook when a task changes.
- Signed Agent Card
- An Agent Card with a signature that lets clients verify its origin and integrity.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Name three A2A task states.
Show answer
Any three of: submitted, working, input required, completed, failed, canceled.
Why is A2A suited to cooperation between organizations?
Show answer
Agents are opaque: they expose skills and accept tasks without revealing their internals.
What should happen if Northmark's agent is unavailable?
Show answer
The workflow falls back to the existing email process with the same package.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.