feat: add AG-UI channel - #54
Draft
PsiACE wants to merge 3 commits into
Draft
Conversation
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
bub-ag-ui, an AG-UI HTTP/SSE channel for the Bub gatewayag-uiconfiguration namespace andBUB_AG_UI_*environment variablesMigration notes
This ports the AG-UI integration from
ob-labs/agentseekat commita850714a5b2ec1ec18437f7090326b2c47da2495(Apache-2.0).The new package is deliberately Bub-native:
bub-ag-uibub_ag_uiag-uiag-uiBUB_AG_UI_bub.usageNo AgentSeek-specific names, aliases, commands, or configuration remain in the package.
End-to-end web example
packages/bub-ag-ui/examplescontains:HttpAgentforwards runs to BubCopilotChat -> Copilot Runtime -> AG-UI HttpAgent -> bub-ag-ui -> Bub turnpathThe documented flow was executed locally through the same
/api/copilotkit/agent/default/runroute used by the browser. It forwarded to Bub's/agentendpoint and returnedRUN_STARTED, state, text, andRUN_FINISHEDevents. The frontend and gateway then shut down cleanly.Validation
uv run --group test pytest -q— 327 passed, 2 skippeduv run --group test pytest -q packages/bub-ag-ui/tests— 11 passeduv run ruff check packages/bub-ag-uiuv run ruff format --check packages/bub-ag-uiuv lock --checkuv build --package bub-ag-uiuv build packages/bub-ag-ui/examples/echo-pluginnpm cinpx --yes prettier@3.6.2 --check .npm run build(TypeScript and Vite)Requires-Dist: bub