One architecture for calls, MCP, SMS and companion forms · LIVE = deployed pilot · SETUP = remaining integration
Guided views
Explore this system
Step through curated paths without changing the source diagram.
Beat
Next
ReadyChapter 01 / 01
Guided chapter
Diagram guideExplore this system
Inspecting compiled semantics
E ExportT ThemeS Style0 Reset+ Zoom in- Zoom outEsc Close
Find a node
⌕/
No matching nodes
Semantic passport
Verified source
Authored reach
Route probeChoose a start node
Pick two semantic nodes on the diagram
Choose the source, then the destination. Direction matters.
Semantic lensCompare system roles
Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.
Choose a kind to inspect its nodes and touching relationships.
Semantic radar
Building overview
Click nodeDrag to pan
1–2 · Call context and MCP
• Your adapter sends callerPhone and connectionRequestId through runSession inputs[].variables. A voice adapter uses BidiRunSession for audio.
• GECX discovers tools with initialize / tools/list, then sends tools/call to /mcp using its CES service-agent ID token. Bind experienceSessionId in the custom header or pass the returned experience ID in tool arguments.
3–4 · SMS and the phone
• connect_auto_experience creates an experience and calls AWS SendTextMessage. The phone receives /demo/#connect=CODE; the browser exchanges that code at /v1/connections/redeem for its session JWT.
• Configure ANI mapping, AWS credentials and a sender. Build the public web entry and separate the browser link origin from the private MCP origin. SMS acceptance does not confirm delivery or page opening.
5–6 · Form updates and results
• start_auto_change publishes A2UI. The browser reads /v1/sessions/{id}/events over SSE and posts /v1/sessions/{id}/ui-action on Submit or Cancel. The web entry adds Google ingress auth and preserves the browser JWT.
• Redis retains the action. await_auto_change returns submitted fields through MCP, or pending after 20 seconds. An idle GECX conversation needs another tool call; the service makes no GECX callback.
Hosting and catalogue scope
• The app bundles standard, insurance-auto and acg-auto. GECX form submission passed validation. Customer browser access requires the public HTTPS web entry.
• One Cloud Run instance holds the app and both stores; replacement clears sessions. The page supports ACG and legacy auto forms. Typing stays in the browser until Submit. Spoken submissions do not prefill open fields. Voice interruption needs testing.
Architecture diagram • Built with Archify • Create yours ↗ • Hover to trace • R route • Click to focus • +/− zoom • M radar • [/] views • P play story • T theme • E export