C26
Agent Protocols: MCP and Agent-to-Agent (A2A)
6 lessons3.5 hoursPlannedFree
Outcome
Connect agents to tools with MCP and to other agents with A2A, across frameworks and trust boundaries.
Prerequisites
- Required: C16 LLM Agents and Tool Calling
- Recommended: C18 Multi-Agent Orchestration
Lessons
- L01Why agent protocols: tools vs. agents vs. frameworks · coming soonExercise: Map an existing agent's integrations onto MCP (tools) and A2A (agents).
- L02MCP: build a server and a client · coming soonExercise: Expose two tools and one resource through an MCP server and call them from an agent.
- L03A2A concepts: agent cards, tasks, messages, artifacts · coming soonExercise: Write the agent card for a research agent and validate it.
- L04A2A in practice: agents from two frameworks collaborating · coming soonExercise: Have an orchestrator delegate a task to a remote A2A agent and stream the result back.
- L05Long-running tasks, streaming, and input-required states · coming soonExercise: Handle a remote task that pauses for user input and then resumes.
- L06Security: auth, trust boundaries, untrusted remote agents · coming soonExercise: Threat-model a remote agent and add authentication and output validation.