Skip to content

feat(examples/ag-ui): deploy to ag-ui.threadplane.ai (Part 3)#623

Merged
blove merged 7 commits into
mainfrom
claude/examples-ag-ui-deploy
Jun 8, 2026
Merged

feat(examples/ag-ui): deploy to ag-ui.threadplane.ai (Part 3)#623
blove merged 7 commits into
mainfrom
claude/examples-ag-ui-deploy

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented Jun 8, 2026

Summary

Deploys the standalone examples/ag-ui demo — the chat UI over the AG-UI transport with full a2ui generative-UI parity — to https://ag-ui.threadplane.ai.

  • Backend (Railway, ag-ui-demo): examples/ag-ui/python/{Dockerfile,entrypoint.sh,railway.json} — uvicorn ag-ui-langgraph serving the a2ui graph, watchdog on /ok.
  • Frontend (Vercel, threadplane-ag-ui-demo): scripts/assemble-ag-ui-demo.ts builds the SPA + Build Output config routing /agent* → a proxy function + SPA fallback.
  • Proxy (scripts/ag-ui-demo-middleware.ts): origin allowlist (ag-ui.threadplane.ai + localhost) + Upstash rate-limit (fail-open) + X-Internal-Token injection → the Railway backend.
  • CI: examples/ag-ui — e2e (aimock replay, 9 specs) + ag-ui demo → Vercel deploy job (gated on e2e success; Vercel + Railway up; path-scoped) + production smoke probes.

Cloud resources provisioned via API: Railway service + token, Vercel project + verified domain + env. Mirrors the canonical-demo + ag-ui-dev patterns.

Part 3 of docs/superpowers/specs/2026-06-06-examples-ag-ui-standalone-design.md. Completes the examples/ag-ui effort.

Test plan

  • assemble-ag-ui-demo runs; proxy bundles; /agent route + function present.
  • CI green; post-merge deploy job runs.
  • Post-merge: /ok 200; ag-ui.threadplane.ai loads; /agent forbidden-origin → 403; live a2ui surface renders.

🤖 Generated with Claude Code

@blove blove enabled auto-merge (squash) June 8, 2026 00:56
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment Jun 8, 2026 1:20am

Request Review

…Docker build

uv export writes '-e .' as the first dep; the builder stage only COPYs
requirements.txt, so pip fails ('does not appear to be a Python project').
The app's src/ is imported directly by uvicorn from the runner's /app — no
editable install needed. Filter -e/local lines before pip install.
@blove blove merged commit 140c1af into main Jun 8, 2026
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant