feat(a2ui): add A2UI agent-driven UI support + VeADK Web frontend by yaozheng-fang · Pull Request #566 · volcengine/veadk-python · GitHub
Skip to content

feat(a2ui): add A2UI agent-driven UI support + VeADK Web frontend#566

Merged
yaozheng-fang merged 2 commits into
mainfrom
feat/a2ui
Jun 1, 2026
Merged

feat(a2ui): add A2UI agent-driven UI support + VeADK Web frontend#566
yaozheng-fang merged 2 commits into
mainfrom
feat/a2ui

Conversation

@yaozheng-fang

Copy link
Copy Markdown
Collaborator

Integrate Google A2UI (https://a2ui.org) so agents can reply with declarative UI instead of plain text:

  • veadk/a2ui: BaseA2UICatalog (enterprise extension point), get_basic_catalog, and build_a2ui_toolset wrapping the official a2ui-agent-sdk (optional dep).
  • Agent(enable_a2ui=True): non-breaking flag that appends SendA2uiToClientToolset.
  • veadk frontend: new CLI serving a React web UI + the ADK API server from one process; built UI ships in-package at veadk/webui so it works pip-installed.
  • Frontend (frontend/): streaming chat with thinking/tool blocks, A2UI surface renderer with an extensible per-component directory registry, session history, tracing waterfall, and gateway auth (querystring) forwarding.

yaozheng-fang and others added 2 commits June 1, 2026 14:42
Integrate Google A2UI (https://a2ui.org) so agents can reply with declarative
UI instead of plain text:

- veadk/a2ui: BaseA2UICatalog (enterprise extension point), get_basic_catalog,
  and build_a2ui_toolset wrapping the official a2ui-agent-sdk (optional dep).
- Agent(enable_a2ui=True): non-breaking flag that appends SendA2uiToClientToolset.
- veadk frontend: new CLI serving a React web UI + the ADK API server from one
  process; built UI ships in-package at veadk/webui so it works pip-installed.
- Frontend (frontend/): streaming chat with thinking/tool blocks, A2UI surface
  renderer with an extensible per-component directory registry, session history,
  tracing waterfall, and gateway auth (querystring) forwarding.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
a2ui_catalog now accepts a path string: relative paths resolve against the
agent's directory, absolute paths are used as-is. With no catalog given, a
`catalog.json` beside the agent is auto-discovered (with an optional
`a2ui_examples/` dir), falling back to the bundled basic catalog. Adds
load_catalog() and caller_agent_dir(); BaseA2UICatalog.build() reuses load_catalog.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@yaozheng-fang yaozheng-fang merged commit 4792f96 into main Jun 1, 2026
15 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.

2 participants