Documentation
README
Authoring generative UI over AG-UI
CAO exposes an AG-UI stream (GET /agui/v1/stream) that any dashboard β
CopilotKit, the AG-UI Dojo, or a plain EventSource β renders
without CAO-specific code. As an agent you can push a declarative UI intent
onto that stream with the emit_ui MCP tool. The operator sees a rendered card,
not raw text β and because every provider's intents render uniformly, they can't
tell (and don't need to) which CLI agent produced which card.
The surface must be enabled on the server (CAO_AGUI_ENABLED=true or
CAO_MCP_APPS_ENABLED=true β the two surfaces share one event source). When it
is disabled, emit_ui returns {"ok": false, "reason": "AG-UI surface disabledβ¦"}
β treat that as a no-op, not an error.
This is the opening of the README. Read the full README on GitHub.