The agent stack / Layer 6 of 11

Agent communication & protocols

How do agents talk to tools, to each other and to users?

What this layer is for

Open standards that let pieces built by different teams work together. MCP connects an agent to tools and data; A2A lets independent agents discover and delegate to each other; AG-UI streams an agent's progress into a user interface. High-leverage to learn, because frameworks are converging on them.

Side by side

ToolBest atLanguagesLicenseBy
Agent2Agent Protocol (A2A)Open protocol that lets AI agents built on different frameworks and vendors discover each other and delegate work.Python, Go, Java, TypeScript, C#, RustApache-2.0The Linux Foundation
AG-UI (Agent-User Interaction Protocol)Open, event-based protocol that streams an agent's messages, tool calls and state into user-facing apps.TypeScript, Python, C#MITCopilotKit
Model Context Protocol (MCP)Open standard for connecting AI applications and agents to tools, data and prompts — "USB-C for AI apps".TypeScript, Python, Go, C#, Java, Kotlin, Ruby, Rust, Swift, PHPApache-2.0 (spec and new code, transitioning from MIT), CC-BY-4.0 (docs)The Linux Foundation

Tools in this layer