Sign inSign up

svenwal/kong-agentic-travel-demo

By svenwal

•Updated about 19 hours ago

Image
0

539

svenwal/kong-agentic-travel-demo repository overview

⁠Kong Agentic Travel Demo

Docker Hub

The agents and the Kong-branded orchestrator UI of the agentic travel demo on the Kong AI Gateway⁠. One image runs all five roles; the role is chosen with the ROLE environment variable. Every call a role makes - A2A to another agent, MCP tools, the LLM - goes through the Kong AI Gateway (KONG_URL), authenticated with OIDC.

The demo environment that wires everything up (gateway configuration, Keycloak realm, catalog, dashboards, cost management) lives in Kong/se-tools⁠ under demo-environment (ENABLE_AGENTIC, 9-scripts/agentic).

UI ──A2A──▶ Kong ──▶ Orchestrator ──A2A──▶ Kong ──▶ Flights / Stay / Weather agent
                          │                                   │
                          └──LLM──▶ Kong ──▶ OpenAI           └──MCP──▶ Kong ──▶ flights / accommodations / weather MCP servers

⁠Roles

ROLEPortWhat it is
ui8090Orchestrator UI (login via OIDC, animated trace view, Konnect Analytics enrichment)
orchestrator10010A2A agent that plans a trip with the three sub-agents
flights10011A2A agent using the flight-booking MCP server
stay10012A2A agent using the accommodations MCP server
weather10013A2A agent using the weather MCP server

⁠Configuration (environment)

VariableDefaultUsed byMeaning
ROLEorchestratorallwhich role to run
PORTrole default (table above)alllisten port
KONG_URLhttp://kong-konnect-ai-gateway:8600allthe Kong AI Gateway proxy every call goes through
OIDC_ISSUERhttps://sso.apim.eu/realms/agenticallKeycloak realm
OIDC_CLIENT_ID, OIDC_CLIENT_SECRET-allOIDC client of this role (agentic-<role>); the UI uses it for the login (auth code + PKCE)
LLM_MODELagentic-llmagentsgateway-side model alias
DEMO_TODAY2026-08-28agentsthe date the agents treat as "today" (the mock data covers September 2026)
UI_EVENTS_URLhttp://agentic-ui.agents:8090/api/eventsagentswhere agents report trace events (telemetry, the one connection that does not pass through Kong)
PUBLIC_AGENT_URLhttp://localhost:8600/agentic/a2a/<role>agentsURL advertised in the A2A agent card
AGENTIC_UI_URLhttp://localhost:8922uipublic URL of the UI (OIDC redirect)
KONNECT_TOKEN, KONNECT_REGION, KONNECT_AI_GATEWAY_ID- / eu / -uienables the Konnect Analytics records in the trace view

Demo traffic: docker exec -e AGENTIC_SEED_CLIENT_SECRET -e AGENTIC_USER_PASSWORD <ui container> python -m app.seed [trips-per-user] [parallel].

⁠Build

./build.sh                # local image svenwal/kong-agentic-travel-demo:<newest version of CHANGELOG.md> and :latest
./build.sh 1.0.0 --push   # multi-arch (linux/amd64 + linux/arm64) build and push to Docker Hub

Pushing a git tag (e.g. 1.0.0) builds and pushes the multi-arch image through GitHub Actions (secrets DOCKERHUB_USERNAME and DOCKERHUB_TOKEN).

Tag summary

Content type

Image

Digest

sha256:6f608147a…

Size

80.1 MB

Last updated

about 19 hours ago

docker pull svenwal/kong-agentic-travel-demo