Agents
A2A and AGENTS.md
Agent-to-agent communication (A2A) and repo instructions for coding agents (AGENTS.md).
What it is and why it exists
A2A is an open protocol for agents built by different vendors to discover each other (agent cards), exchange tasks and stream results — agent-to-agent, where MCP is agent-to-tool. AGENTS.md is a convention: a Markdown file in a repository that tells coding agents how to build, test and contribute.
Quick prototype
—
In production, at scale
A2A when an agent must delegate to another organisation’s agent with its own auth and lifecycle; treat remote agents as untrusted (authenticate, authorise, validate their output). AGENTS.md alongside the README in repos agents work on.
Vendors and tools
| A2A protocol (Linux Foundation) | Agent cards, tasks, streaming |
|---|---|
| AGENTS.md | Agent instructions convention |
How it fails
- Trusting a remote agent’s output as if it were your own code
- Insecure inter-agent channels (OWASP Agentic ASI07)
What the interviewer asks next
When MCP and when A2A?
MCP to give your agent tools and data; A2A when the other side is itself an agent that plans and acts, often owned by someone else.