You have a fleet of agents. Some are Hermes instances, some might be something else next month. One of them is a marketing agent; another can flip on an AWS SMS service; a third does the research. You want them to talk — to hand work off, to cooperate — and you want to be able to see them talking, because the point, for now, is to learn how they talk and to debug when they don't.
That is a genuinely different problem from the two things everyone else's "agent communication" answers quietly assume. The first trap is platform coupling: the comms only work because both agents happen to be the same software, reaching into an internal peer registry or a private bus. The second trap is channel coupling: the comms only work because both agents are logged into Slack or Telegram, so the chat platform is secretly your message bus and your observability layer at once. You named both traps explicitly, and they are the right ones to name. A marketing agent handing a task to an AWS-SMS agent should not require that either one be Hermes, or that either one be in a Telegram group.
So the design goal for this report is: a platform-agnostic, self-built, simple inter-agent communication layer, with first-class observability — a spine your whole fleet speaks, that is trivial to manage, scales as the fleet grows, and that you can watch the way you watch a log. And it should adhere to a real protocol where one exists, because you don't want to be the only person in the world who speaks your dialect — but it should be easy to define your own if a protocol proves heavier than the job.
The good news from the research: this is no longer a "build it from scratch or couple to a platform" fork. By late 2026 there is a standard that maps almost exactly onto "agent hands work to another agent, opaquely, asynchronously, with a trackable task" — and it has mature, actively-maintained Python SDKs. There is also a now-standard way to make that traffic observable. The report maps the protocol landscape, goes deep on the one that fits, builds the observability spine (your stated priority), lists the libraries worth reusing versus building, and ends with a concrete architecture for a fleet like yours, plus the "define our own" contract as a fallback.
Why "adhere to a protocol" is the right instinct
The instinct to "check what's defined and reuse it" is the difference between a system you operate for a year and one you rip out in a month. The agent-communication space looks messy in search results, but it has actually consolidated fast, and the two load-bearing standards are now under the same roof.
MCP (Model Context Protocol) and A2A (Agent2Agent) are both projects of the Agentic AI Foundation, a directed fund under the Linux Foundation. Anthropic donated MCP in December 2025; Google developed A2A and it became a Growth Stage project there in August 2026. Both are Apache-2.0. The A2A project itself describes the two as complementary, not competing — and the distinction between them is the single most important idea in this whole report.
| MCP | A2A | |
|---|---|---|
| Relationship modeled | Agent → tool / data (uses a capability) | Agent → agent (peers collaborate) |
| Axis | Vertical — deepens one agent | Horizontal — connects agents across boundaries |
| What crosses the wire | Tool calls, resources, prompts | Tasks, messages, artifacts |
| State sharing | Server exposes tools/resources to client | Agents stay opaque — no shared memory/tools/logic |
| Typical owner of the logic | You (same side) | Another team / vendor / your other agent |
| Transport | JSON-RPC 2.0 | JSON-RPC, gRPC, or HTTP+JSON/REST |
| Governance (2026) | Agentic AI Foundation; spec rev 2026-07-28 (stateless) | Agentic AI Foundation; v1.0 March 2026, v1.0.1 May 2026 |
Here is the frame to internalize. MCP gives an agent capabilities. A2A lets an agent hand work to another agent. If the logic you're calling lives on your side and you just want to invoke it, a tool call over MCP is enough — and you already use MCP heavily. But the moment the thing you're talking to is another agent that owns its own reasoning, might take a while, might need to ask a follow-up, or belongs to another team — that is A2A's territory. Your marketing-agent-to-AWS-SMS-agent handoff is a textbook A2A case: an agent delegates a unit of work to another agent, and wants to track it.
The one-sentence routing rule
Same side, you own the logic, instant tool call → MCP. Across a boundary, another agent owns the reasoning, it may be slow, may ask for input, may be someone else's → A2A. Your fleet's agents talking to each other is the second one.
Around those two, a wider family is forming (this is the "protocol sprawl" that makes search results look chaotic): AG-UI (agent → user/frontend, from CopilotKit, at 1.0), A2UI (Google's framework-agnostic generative-UI protocol), and a handful of commerce/transport-oriented ones (UCP, AP2, MHS, UHP). You do not need to track them all. For "my agents talk to each other," the only two that matter today are MCP and A2A, and A2A is the one this report is really about.
A2A: the protocol that fits the job
A2A is an open standard for communication and interoperability between opaque agentic applications — the word "opaque" is doing all the work. Two agents discover each other, delegate tasks, and exchange results through standard methods and data structures without sharing internal memory, tools, or logic. That is the anti-coupling property you asked for, written into the spec: agent B does not need to know that agent A is Hermes, or that it runs on this Mac, or how it works. It only needs the A2A surface agent A publishes.
It is built around three core ideas, and each one maps directly to a requirement you stated.
1. The Agent Card — discovery, so nothing is hard-coded
Every A2A server publishes an Agent Card: a JSON document that describes who it is, which endpoints it exposes, what it can do, and how to authenticate. It is served at a well-known URL — /.well-known/agent-card.json — which is the standard discovery location. The card carries the agent's identity, its service endpoint(s), its capabilities (streaming? push notifications?), its authentication requirements, and its skills (the tasks it supports, with descriptions and expected inputs/outputs).
This is the direct answer to your "not hard-coded" requirement. There is no registry file where you enumerate peers and their ports. A new agent — say the AWS-SMS one — publishes a card; any other agent (or your human, or a script) can discover it by fetching the card and learn, from a machine-readable document, exactly what it can do and how to call it. Add the agent, its card appears, it's reachable. Remove it, it's gone. That is "easy to manage and scalable" in the most literal sense: the fleet's topology is a set of documents, not a config you maintain by hand. In A2A 1.0 the Agent Card can also be signed, so you can verify an agent is who it claims to be before you hand it work — the trust layer for a fleet where agents might be self-built and new ones appear over time.
Discovery replaces the peer table
The old coupled model (the one in hermes peer) is: register peer "marketingagency" at host:port with a key, then DM it. The A2A model is: "point me at anything that answers /.well-known/agent-card.json, tell me what it can do, and I'll call it." No per-peer registration, no platform-specific key file. The card is the registration, and it's a standard any future non-Hermes agent can also publish.
2. The Task — handoffs are trackable units of work
The thing that crosses the wire between agents is a Task, and this is where your "handoff" requirement becomes concrete. A client does not create a task directly — it sends a SendMessage (or a streaming variant), and the receiving agent decides whether to answer with a simple Message or with a Task. A Task is the right answer when the remote agent owns a unit of work that may take time, may ask for clarification, or may return outputs over a while while keeping its implementation private. That is precisely "the marketing agent wants the AWS-SMS agent to do some work."
And a Task has an explicit, spec-defined lifecycle. Every task is in exactly one of eight states, and the states are the vocabulary you get for free when you want to watch a handoff:
| State | Kind | What it means |
|---|---|---|
submitted | Active | Task submitted and acknowledged |
working | Active | Agent is processing it |
input-required | Interrupted | Agent needs more input to continue (paused) |
auth-required | Interrupted | Authentication is required to continue (paused) |
completed | Terminal | Finished successfully |
failed | Terminal | Finished with an error |
canceled | Terminal | Canceled before completion |
rejected | Terminal | Agent decided not to do it |
Read that table as an observability feature. When you are learning "how do my agents communicate," the question is never just "did the message get there?" It is "where is the handoff right now?" A task that is working is fine. One stuck in input-required means agent B asked agent A a follow-up that no one answered — that is a real, debuggable state, not a mystery. One in failed or rejected tells you the handoff broke and why it's over. The spec gives you that state machine, and it comes with contextId so a multi-step conversation across agents stays one trackable thread even as individual tasks come and go.
3. Messages, parts, and artifacts — what the task carries
Within a task, agents exchange Messages (a role — client or agent — plus content). Content is a list of Parts, which can be plain text, a file, or structured data (typed JSON) — so a handoff can carry a rich payload, not just a string. Outputs come back as Artifacts, and a long-running task can stream them back as chunks as work happens. That streaming is the "cooperation" you mentioned: two agents can iterate on a task, pushing partial results and follow-ups, rather than one fire-and-forget message. The whole exchange is asynchronous by design, including long-running tasks with a human in the loop.
Why "async + streaming + push" matters for a fleet
A2A deliberately supports three interaction modes — request/response, streaming, and push notifications — because a real handoff is rarely synchronous. The AWS-SMS agent might take minutes to provision a service; the marketing agent should not be blocked waiting on an HTTP socket the whole time. With push, the working agent notifies the requester when the task changes state (or completes), and the requester's main thread is free. That is the difference between "agent A calls agent B and holds the line" and "agent A delegates and gets pinged when it's done." For a learning phase where you're watching a few agents cooperate, async + push means the bus stays responsive even when one handoff is slow — and it means you can log "task X transitioned to working at T, to input-required at T+30s, to completed at T+90s" as a clean timeline.
Transports are not the point — but they're a nice bonus
A2A 1.0 defines three bindings: JSON-RPC, gRPC, and HTTP+JSON/REST. You can pick the one that fits. For a small self-hosted fleet that mostly speaks HTTP, the REST/HTTP+JSON binding is the path of least resistance and the easiest to observe (you can watch it in a plain HTTP log). The fact that a standard already picked the wire formats for you means your "self-built" layer is a thin adapter, not a from-scratch serialization scheme.
The observability spine (your stated priority)
You were explicit: you want to see the communication, mostly to learn, and to debug. So treat observability as a first-class part of the design, not a log file you add later. The good news is that the standard answer already exists and is portable — it is not a vendor lock-in, which fits the "not tightly coupled" goal.
OpenTelemetry (OTel) is the emerging standard for tracing agent systems, and the OTel project now ships GenAI semantic conventions — a shared contract for span names, attribute names, units, and which fields carry the model, the tokens, the messages, and so on. For an agent fleet, the useful mental model is a trace tree: one trace per logical interaction, with spans for (a) the agent receiving the task, (b) each sub-step the agent takes, (c) each outbound A2A call it makes to another agent, and (d) each tool/model call inside that. When agent A hands off to agent B, the handoff is a span on A's trace that propagates context to B, so B's spans join the same trace. Now a single query shows you the whole cross-agent story: marketing agent starts a trace, spawns a span "call sms-agent," that span's child is the sms-agent's "working" span, and you can see exactly where a stall or failure happened.
| What to capture | Why it helps you learn/debug |
|---|---|
| One trace per logical interaction (a correlation/trace id that propagates across agents) | Follows a handoff end-to-end across the fleet in one view |
| A span per A2A call, with source agent, target agent, task id, and the method | Sees exactly who called whom and which handoff |
| Task state transitions (submitted → working → …) as events on the span | Sees where a handoff is, not just that it happened |
| Latency per span and per state interval | Finds slow handoffs and stalls |
| Actor chain / subject (who was authorized to do what) | Audits which agent did what, for trust in a growing fleet |
| Errors and terminal states (failed/rejected) as marked spans | Debugs the "communication problem" you specifically named |
For your scale — a handful of agents on a small fleet, in a learning phase — you do not need a heavy observability platform. The pragmatic ladder is: (1) structured logs first (a single JSON log line per A2A call and per state transition, with a shared trace id), which you can grep and read by hand; (2) OTel spans once the fleet is big enough that grep stops being enough; (3) a viewer (a local Jaeger/Tempo, or an existing dashboard) once you want the visual trace tree. Start at (1) — it is the "easy to manage" version of your observability goal, and it is the same data you'd feed (2) later. Because A2A and OTel are both standards, nothing you log at (1) is locked to a platform you'll be tempted to couple to.
What to reuse vs. what to build
Your framing was "reuse if it exists, define our own if not." Here is the honest split, grounded in repos that are all current (pushed within the last week of this report).
| Component | Reuse (exists, current) | Build (the thin part) |
|---|---|---|
| Agent-to-agent wire protocol | A2A — spec + official Python SDK a2aproject/a2a-python (2.2k★, Apache-2.0, pushed this week) | Your agents' "executor" logic — what each agent actually does with a task |
| Agent discovery | A2A Agent Card at /.well-known/agent-card.json (signed in 1.0) | Where your cards live / how you list your fleet (a registry dir or a small index) |
| Agent capabilities / tools | MCP — modelcontextprotocol/python-sdk (24.9k★, pushed this month) | Your specific tool servers (e.g. the "provision AWS SMS" tool) |
| Transport / bus for events | NATS (JetStream) or Redis Streams — both have official Python clients | Which subjects/channels your fleet uses |
| Observability | OpenTelemetry + GenAI semantic conventions; Jaeger/Tempo as viewer | The specific spans/attributes you emit per handoff |
| Handoff task lifecycle | A2A Task + its 8-state machine (comes with the SDK) | Your state→action mappings (what to do when a task goes input-required) |
The pattern that falls out: you are not building a protocol. The protocol (A2A), the discovery (Agent Card), the capability layer (MCP), the bus (NATS/Redis), and the tracing (OTel) all exist and are current. What you build is the thin connective tissue: (a) a small wrapper so each of your agents exposes an A2A endpoint and an Agent Card, (b) the executor logic (what the agent does), and (c) the observability hooks. That is a few hundred lines per agent, not a platform. And because every piece is a standard, nothing about it is "tightly coupled to Hermes" — any future agent, in any framework, that speaks A2A drops into the same fleet.
The one thing to build deliberately, not buy
The trust boundary. A2A ships with signed Agent Cards and per-connection auth schemes, but "which agent may hand what task to which other agent" is your policy, not the protocol's. For a learning fleet it can be simple (a shared internal key + a short allow-list of (source, target, skill) tuples). But design it as data from day one — an allow-list you can read and edit — because the moment you add a fourth or fifth agent, ad-hoc "who's allowed to call whom" becomes a security hole. Keep the card and the allow-list in the same repo/registry as your fleet manifest.
The concrete architecture for your fleet
Put together, here is the shape I'd build for a fleet like yours — a few agents on one or a few machines, in a learning phase, wanting to watch them cooperate:
Fleet topology (the thing you actually operate)
1. Every agent publishes an A2A endpoint + Agent Card. A small, identical wrapper (the a2a-python SDK) sits in front of each agent's real logic. The card says: "I am the marketing agent. I can do draft-campaign, request-sms. My endpoint is http://marketing-agent:8080. Skills: …" This is the whole discovery layer — no peer table, no hard-coded ports.
2. Handoffs are A2A Tasks. Marketing agent → SendMessage to the SMS agent → SMS agent returns a Task. The task's 8-state lifecycle is your shared vocabulary. The marketing agent does not block; it gets push-notified when the SMS task changes state.
3. A thin event bus for anything that isn't a point-to-point handoff. NATS (JetStream) or Redis Streams. Use it for broadcast/learning events the A2A task model doesn't fit — e.g. "research agent discovered X, anyone want it?", or "fleet status" heartbeats. JetStream gives you durable, replayable streams, which is exactly what you want when learning: you can replay the last hour of agent chatter and watch it again. (For a 3-agent learning fleet, even plain NATS core pub/sub is enough; add JetStream when you want the replay.)
4. Observability = OTel spans + one shared trace id per interaction. Each A2A call and each task state transition emits a span/event with a propagated trace id. Start as structured JSON logs you can read; graduate to a trace viewer when grep stops scaling. This is the spine you named as the priority, and it is what turns "learning how they communicate" into a query.
5. A fleet manifest + allow-list as data. One small file (or the Agent Cards themselves) that lists: every agent, its card URL, and the allowed (source, target, skill) handoffs. This is your "easy to manage" control plane — adding an agent is "add a card + one allow-list line," and it is the same file you show a new teammate or a new framework to learn the fleet.
Your actual example, mapped onto this:
- Marketing agent has a campaign ready that needs an SMS blast. It does not know the internals of the AWS-SMS agent — it fetched that agent's Agent Card earlier and learned it has a
provision-smsskill. - It sends an A2A
SendMessagewith a structured-data part: the campaign params. The SMS agent responds with a Task (submitted). - Both sides log a span: "marketing → sms-agent, task T-123, skill provision-sms." The trace id propagates into the SMS agent's own work.
- SMS agent starts provisioning → task goes
working. If it needs the sending region or a sender-id it doesn't have → task goesinput-required, and the marketing agent (or a human) supplies it. That stall is visible in the trace, not a silent hang. - SMS agent finishes → task goes
completedwith an artifact (the SMS job id / delivery report). The marketing agent is push-notified, logs the terminal span, and moves on — never blocked the whole time.
At no point did the marketing agent need to be the same software as the SMS agent, or both be in a Telegram group. It needed the SMS agent's card and a shared protocol. That is the de-coupling you asked for.
The "define our own" fallback (when a protocol is heavier than the job)
You were right to keep this door open, and the honest guidance is: for agent-to-agent handoffs, A2A is not heavier than the job — it's the job. But if you ever want a deliberately minimal, fully-yours contract (e.g. a same-machine, same-trust-domain case where full A2A auth is overkill), here is the smallest contract that still gives you everything you said you wanted. It borrows the A2A ideas (discovery, task, state) so it interoperates in spirit, and stays trivial to run:
Minimal self-built agent bus (same-trust, ~3 endpoints)
Discovery — each agent serves GET /agent.json: {"id": "sms-agent", "skills": ["provision-sms"], "version": 1, "endpoint": "http://…:8080"}. A fleet registry.json lists all agent ids + card URLs. (This is the Agent Card, simplified.)
Handoff — POST /tasks with {"id": "agent", "skill": "provision-sms", "payload": {…}, "trace_id": "…"}. The agent responds {"task_id": "T-1", "state": "submitted"}.
Track — GET /tasks/T-1 returns the current state (reuse the 8-state names) plus, if terminal, the result. A trace_id rides on every call so you can grep the whole cross-agent path.
Observe — one JSON log line per call and per state change: {"ts": …, "trace_id": …, "from": "marketing", "to": "sms-agent", "task": "T-1", "state": "working"}. That single line is your learning/debugging spine.
The reason to prefer A2A over this minimal contract is interoperability and reuse: A2A gives you the SDK, the signed-card trust, the streaming/push, and the ability for a non-Hermes, non-Python agent to join for free. The minimal contract wins only on "I want zero dependencies and one machine." Given you explicitly want "not tightly coupled" and "scalable," A2A is the better default, and the minimal contract is the escape hatch for the truly tiny case. You can even start with the minimal shape and move the same agents to full A2A later — the concepts (card, task, state, trace id) are identical, so nothing is wasted.
The call
Adopt A2A as the inter-agent spine, MCP inside each agent, OTel for observability — start on the Python SDKs.
Phased, in the order that gets you "watching them talk" fastest:
- Week 1 — two agents, one handoff, structured logs. Wrap your marketing agent and the AWS-SMS agent with the A2A Python SDK. Give each an Agent Card. Wire the one real handoff (campaign → provision-sms). Log every A2A call and task-state transition as JSON with a shared trace id. Goal: you can read a log file and see the handoff end-to-end.
- Week 2 — the fleet manifest + allow-list + a third agent. Add the research agent. Put the registry + (source, target, skill) allow-list in a file. Confirm discovery works: a new agent's card appearing makes it reachable with no code change. Goal: "add an agent" is a card + an allow-list line, nothing hard-coded.
- Week 3 — OTel spans + a viewer. Emit OTel spans (not just logs) with propagated trace ids; point a local Jaeger/Tempo at them. Now a handoff is a trace tree you can click through. Goal: "why didn't they finish" is a one-click trace, not a grep.
- When it earns it — the bus + async/push. Add NATS/Redis Streams for broadcast/learning events you want to replay, and turn on A2A push notifications so slow handoffs don't hold sockets. Goal: the fleet can share context and a slow task can't stall the others.
What to deliberately not do: couple the comms to a single platform (no — A2A cards let any framework join), route it through a chat platform as the bus (no — Slack/Telegram can be a human-facing view of the same events, but the spine is the standard protocol + trace, not the chat), and hand-roll a wire protocol that only your two current agents speak (no — the SDKs are current and free, and interop is the whole point of de-coupling).
The one-paragraph version
For "my agents talk to each other," the standard already exists and it fits: A2A — agent-to-agent, opaque, async, with discoverable Agent Cards and trackable Tasks that have an explicit 8-state lifecycle. MCP gives each agent its own tools; A2A lets agents hand work to each other; OpenTelemetry GenAI conventions make the traffic observable; NATS/Redis add a replayable event bus when you need broadcast. You build the thin wrapper (the SDK + your executor logic + your allow-list), not the protocol. De-coupled from Hermes, de-coupled from any chat platform, and watchable from day one. That is easy to manage, it scales, and it adheres to a real standard — with a deliberately minimal self-built contract as the fallback for the tiny, single-trust-domain case.
References
- A2A Protocol — A2A Protocol Explained: Concepts and Architecture (official docs; Linux Foundation / Agentic AI Foundation)
- A2A Protocol — Task: Lifecycle, States, and Operations (the eight-state machine) and Agent Card: Structure, Discovery, and Signing
- NHI Mgmt Group — MCP vs A2A: How the Two Agent Protocols Differ and Fit Together (checked 2026-11-15; governance, side-by-side, security)
- A2A Python SDK — a2aproject/a2a-python (official SDK) and a2aproject/A2A (spec, 26.5k★)
- MCP Python SDK — modelcontextprotocol/python-sdk (24.9k★)
- OpenTelemetry — Building an Agent Harness for OTel Instrumentation with GenAI Semantic Conventions and AI Agent Observability with OpenTelemetry
- System Design Newsletter — agent-to-agent tracing: routing, authenticating, tracing A2A calls (trace context + task-id propagation, actor-chain logging)
- HarnessRouter — AI Agent Observability: What to Trace, Measure, and Audit
- NATS — nats-io/nats.py and NATS (JetStream) (lightweight, durable, replayable event bus)
- Redpanda — Apache Kafka alternatives in 2026 (why NATS/JetStream is the right-size bus for latency-sensitive agent event streams vs. Kafka)
- Sanity — What is the Agent2Agent (A2A) protocol? A2A vs. MCP explained (the protocol family, for awareness: JSON-RPC/gRPC/REST bindings in 1.0)