What problem does A2A solve that MCP does not, and how do they work together?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Compare MCP and A2A: what distinct problem does each solve, and describe a system architecture where both protocols are active simultaneously.
MCP connects one agent to its tools and data (vertical); A2A lets agents delegate tasks to other agents (horizontal). They are complementary, and a real system runs both.
Picture a contractor building a house. MCP is the contractor's toolbelt: a standard way to reach for a drill, a saw, or the blueprint file whenever a job needs it. A2A is the phone the contractor uses to call a licensed electrician from another company when the wiring is beyond their skill. The toolbelt is for things the contractor operates directly. The phone is for handing a whole sub-job to a peer professional you do not control and cannot see inside of. You do not pick one. A serious build uses the toolbelt constantly and the phone whenever a specialist is needed. MCP and A2A play the same two roles for AI agents: reach for tools, or call a peer agent.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
4 min: the two axes (vertical MCP vs horizontal A2A) + opaque peer model + agent cards + long-running tasks + one architecture that runs both.
| Dimension | MCP | A2A |
|---|---|---|
| Axis | Vertical: agent to tools and data | Horizontal: agent to agent |
| Other end is | A passive tool you drive | An opaque peer agent you ask |
| Core problem | Capability and context connectivity | Cross-boundary task delegation |
| Discovery | Server advertises tools, resources, prompts | Agent card advertises skills and endpoint |
| Interaction shape | Request-response tool calls | Long-running tasks with streamed progress |
| Visibility into peer | Full: host owns the tool catalog | None: remote internals stay hidden |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating MCP and A2A as rival standards where you pick a winner. They sit on different axes, so a real system uses both at once.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.