feat(examples/ag-ui): local-runnable standalone ag-ui chat example (Part 2a)#613
Open
blove wants to merge 5 commits into
Open
feat(examples/ag-ui): local-runnable standalone ag-ui chat example (Part 2a)#613blove wants to merge 5 commits into
blove wants to merge 5 commits into
Conversation
…ver ag-ui (uvicorn)
…ex/main) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…/ok + a2ui run) The standalone ag-ui-langgraph endpoint calls graph.aget_state, which requires a checkpointer; the copied chat graph compiles without one (Platform manages persistence). Compile a local MemorySaver-backed copy in server.py for the standalone uvicorn path, leaving the deployed graph export untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Standalone
examples/ag-ui/— a single-conversation chat app over the AG-UI transport + a uvicornag-ui-langgraphbackend running the (duplicated) a2ui graph. Demonstrates LangGraph↔AG-UI transport + a2ui parity. Runnable vianx serve+uvicorn.examples/ag-ui/python/— chat a2ui graph duplicated verbatim (transport-agnostic) +server.py(ag-ui-langgraph, token-optional auth,/ok, localMemorySavercheckpointer for the standalone path).examples/ag-ui/angular/— simplified single-conversation<chat>host viaprovideAgent({ url: '/agent' }). No@threadplane/langgraph— the entire delta fromexamples/chatis the transport provider.LangGraphThreadsAdapter(thread CRUD) has no AG-UI equivalent. Relies on thecustomEventssignal (feat(ag-ui): customEvents signal for live a2ui streaming parity #606) for live a2ui.Verified locally:
uvicorn→/ok200;POST /agentran end-to-end emitting therender_a2ui_surfacetool-call cycle (RUN_STARTED → TOOL_CALL_* → RUN_FINISHED) — a2ui parity proven.nx build examples-ag-ui-angularclean; zero langgraph references.Part 2a of
docs/superpowers/specs/2026-06-06-examples-ag-ui-standalone-design.md. e2e/smoke = Part 2b; deploy (Railway +ag-ui-demo.threadplane.ai) = Part 3.Test plan
/ok200;POST /agentstreams an AG-UI a2ui run (tool-call cycle).nx build examples-ag-ui-angularclean; no langgraph refs.🤖 Generated with Claude Code