Lucky Tour Orchestrator
| Skill ID | Target Agent | SSE |
|---|---|---|
resolve_itinerary_stops |
Unregistered | — |
produce_audio_guide |
Unregistered | — |
Cartographer (resolve_itinerary_stops) & Narrator (produce_audio_guide) over JSON-RPC 2.0 + SSE
Sent as Authorization: Bearer … to Orchestrator & forwarded to agents.
| Skill ID | Target Agent | SSE |
|---|---|---|
resolve_itinerary_stops |
Unregistered | — |
produce_audio_guide |
Unregistered | — |
StreamingASGITransport without TCP loopback overhead.
Moving from 1 container on QNAP to 3 containers requires zero orchestrator code changes — just set two environment variables pointing at each specialist's base A2A URL:
services:
lucky-orchestrator:
build: .
ports: ["8000:8000"]
environment:
- A2A_CARTOGRAPHER_URL=http://lucky-cartographer:8001/a2a/cartographer
- A2A_NARRATOR_URL=http://lucky-narrator:8002/a2a/narrator
lucky-cartographer:
build: .
ports: ["8001:8000"] # Exposes /.well-known/agent.json + POST /a2a/cartographer
lucky-narrator:
build: .
ports: ["8002:8000"] # Exposes /.well-known/agent.json + POST /a2a/narrator
# 1. Discover Agent Cards
curl -s http://localhost:8000/a2a/cartographer/.well-known/agent.json | jq .
curl -s http://localhost:8000/a2a/narrator/.well-known/agent.json | jq .
# 2. Synchronous JSON-RPC 2.0 (tasks/send) to Cartographer with OIDC Bearer JWT
curl -s -X POST http://localhost:8000/a2a/cartographer \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ID_TOKEN" \
-d '{
"jsonrpc": "2.0",
"id": "demo-1",
"method": "tasks/send",
"params": {
"message": {"role": "user", "parts": [{"type": "text", "text": "Fushimi Inari, Nishiki Market"}]},
"metadata": {"trip_name": "Kyoto Walk", "city_context": "Kyoto, Japan", "execution_mode": "mock"}
}
}' | jq .
# 3. Streaming JSON-RPC 2.0 + SSE (tasks/sendSubscribe) to Narrator with OIDC Bearer JWT
curl -N -X POST http://localhost:8000/a2a/narrator \
-H "Content-Type: application/json" \
-H "Accept: text/event-stream" \
-H "Authorization: Bearer $ID_TOKEN" \
-d '{
"jsonrpc": "2.0",
"id": "demo-2",
"method": "tasks/sendSubscribe",
"params": {
"message": {"role": "user", "parts": [{"type": "data", "data": {"name": "Fushimi Inari Taisha", "slug": "fushimi-inari-taisha", "mode": "landmark"}}]},
"metadata": {"execution_mode": "mock"}
}
}'
# 4. Inspect current token approval status via /a2a/auth/me
curl -s http://localhost:8000/a2a/auth/me \
-H "Authorization: Bearer $ID_TOKEN" | jq .
Sign in as an owner/admin (or provide X-Admin-Token) to view and manage approved accounts.
| Role | Status | Used Today | Note / Source | Actions | |
|---|---|---|---|---|---|
| No users loaded yet. | |||||