*** Build your own Retail Product Agent ***

Today we will spotlight a starter Retail Agent-to-Agent use-case:

Two agents, one conversation.

Ask a product question → receive a list of recommended retail products.

Later we can invite Promotion, and Transaction agents to the party—the real magic of A2A is the ensemble.


What you just saw


3-step local setup

  1. Clone Google’s a2a-samples.
  2. Inside samples/a2a-adk-samples, drop the Kroger-Agent repo.
  3. uv run main.py → A2A server listens on localhost:10001.

File map (high-level)

File Job
main.py Orchestrates A2A traffic; imports adk, a2a.server, a2a.types. Think of it as the dinner-planner’s notebook—every “chef” (agent) knows the menu.
.env Your GOOGLE_API_KEY + Kroger client credentials.
kroger_server.py Handles OAuth, calls Kroger API, returns a list of products. (Most bugs lived here.)

Spin up the UI

```bash

cd demo/ui

uv run main.py # UI now on :12000