This lab is currently in Beta, content may be updated as we refine the material
LABINTERMEDIATE

A2A Agent Discovery: Replace In-Process Calls with Agent-to-Agent Protocol

Two specialist agents publish agent cards on /.well-known/agent-card.json; a supervisor discovers them dynamically and delegates tasks over the A2A protocol.

90 minutes
A2A Agent Discovery: Replace In-Process Calls with Agent-to-Agent Protocol - Platform Engineering Hands-On Lab Icon

Lab Overview

🛠 Lab from the AI Platform Engineering Bootcamp. Used in Week 4. Bootcamp landing page: https://academy.tekanaid.com/bootcamps/ai-platform-engineering-bootcamp Parent course(s):

  • Week 4: AI Agents and Agentic Workflows (slug: ai-agents-104)

🟡 Beta bootcamp lab. Hands-on instructions, check scripts, and solve scripts are in place. Lab is part of the running Platform Assistant capstone arc that grows across all 8 weeks of the bootcamp.

In the previous multi-agent lab, your supervisor and specialist agents lived inside a single Python process and talked through in-memory function calls. That works for a demo but breaks the moment your platform team wants to deploy specialist agents independently, scale them on different hardware, or let other teams contribute their own agents to the catalog. Distributed orchestration needs a wire protocol, not a shared Python runtime.

This lab pivots the same multi-agent topology to the Agent-to-Agent (A2A) protocol. You will run two specialist agents (a fictional catalog agent and a fictional CI/CD agent) as independent HTTP services, each publishing an agent card at a well-known endpoint. Then you will build a supervisor that discovers those peers at runtime, reads their agent cards, picks the right specialist for an incoming prompt, and delegates the work over JSON-RPC. By the end you will have traced the full HTTP/JSON-RPC traffic between processes and understand exactly what changes when in-process orchestration becomes a network call.

What You'll Learn

Explain the difference between in-process LangGraph orchestration and the A2A protocol

Generate and serve an A2A agent card on a well-known endpoint

Discover peer agents at runtime and inspect their capabilities

Delegate a task from a supervisor to a specialist over A2A using JSON-RPC

Add an example prompt in the agent card so a supervisor can build prompts dynamically

Trace JSON-RPC requests and responses end-to-end at HTTP level

Technologies Covered

aia2amulti-agentagent-cardsjson-rpcdistributed-agents

Choose your plan

Simple, Transparent Pricing

Unlock full access to TeKanAid courses, labs, and bootcamps

Buying for a team? Private corporate training is available for up to 15 learners.View team training
MonthlyQuarterly

Pro

Course content without labs

$59/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Full access to all courses
  • Progress tracking
  • Certificate of completion
  • Community access
  • Bootcamp participation
  • New content access
Recommended

Premium

Full access with hands-on labs

$99/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Everything in Pro
  • Unlimited hands-on labs
  • Lab AI Assistant
  • Accelerator bootcamps with live office hours
  • Priority support

Prefer a single course?

Purchase individual courses for a one-time fee of $79. Full access to course content, quizzes, certificates, and community features, lab access is not included.

Browse Courses

Try it free, no credit card

Three free ways to start. All bridge into the paid Premium catalog when you're ready.

Not ready to commit? The crash course is email-only. No academy account required.

Ready to Get Started?

Start this hands-on lab and build real-world Platform Engineering skills

Get Access Now