agui-author
Skill1.4k starsChanged 2 months agoApache-2.0View on GitHub
Author live dashboard UI from an agent via the `emit_ui` MCP tool. Emit
Trending
Quiet since October.about the whole repository
Who's talking about awslabs/cli-agent-orchestrator
- theplenkov-forks/cli-agent-orchestrator“Add Devin CLI provider”GitHub · Jun 28, 2026 · 4 reactions
- theplenkov-forks/cli-agent-orchestrator“Add Devin CLI provider”GitHub · Jun 23, 2026 · 4 reactions
- pavelkrotkov/aipro“fix(v3): persist CAO attribution for each accepted turn”GitHub · Sep 19, 2026 · 1 reactions
- theplenkov-forks/cli-agent-orchestrator“[feat] Official devcontainer feature for CAO”GitHub · Apr 3, 2026 · 1 reactions
- theplenkov-forks/cli-agent-orchestrator“[feat] Non-interactive / headless mode for containerized deployments”GitHub · Apr 3, 2026 · 1 reactions
The biggest 5 of 20 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 20
Talked about on GitHub (20 times).
On GitHub · 20
- Jun 28, 2026Add Devin CLI provider — theplenkov-forks/cli-agent-orchestrator4 reactions · 31 comments
- Jun 23, 2026Add Devin CLI provider — theplenkov-forks/cli-agent-orchestrator4 reactions · 30 comments
- Sep 19, 2026fix(v3): persist CAO attribution for each accepted turn — pavelkrotkov/aipro1 reaction · 1 comment
- Apr 3, 2026[feat] Official devcontainer feature for CAO — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[feat] Non-interactive / headless mode for containerized deployments — theplenkov-forks/cli-agent-orchestrator1 reaction
15 more on GitHub
- Apr 3, 2026[feat] Make CORS origins configurable — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[bug] tmux PTY attach inherits TERM=dumb in container environments — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[bug] WebSocket PTY rejects connections from Docker bridge IPs — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[feat] Add Devin CLI provider — theplenkov-forks/cli-agent-orchestrator1 reaction · 1 comment
- Apr 3, 2026[feat] Plugin/provider extension API — register providers without patching source — theplenkov-forks/cli-agent-orchestrator1 reaction
- Oct 4, 2026agent-plugins.github.awslabs.cli-agent-orchestrator: init at 2.5.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.awslabs.cli-agent-orchestrator: v2.5.1 → refs/tags/v2.5.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026Code review of a python segfault fix caused "cybersecurity prevention" — openai/codex0 reactions · 1 comment
- Sep 25, 2026agent-skills.github.awslabs.cli-agent-orchestrator: init at 2.5.1 — sudosubin/agents.nix0 reactions
- Sep 18, 2026RFC: modernize Passdown orchestration for ACP and cross-provider agents — vunm-io/passdown0 reactions · 8 comments
- Sep 10, 2026Add September 10 verified AI CLI discoveries — hasnocool/AI-CLI-Catalog0 reactions · 2 comments
- Jul 20, 2026feat: add CLI Agent Orchestrator (CAO) integration — ag-ui-protocol/ag-ui0 reactions · 8 comments
- Jul 20, 2026feat: add CLI Agent Orchestrator (CAO) integration — plauzy/ag-ui0 reactions · 2 comments
- Jul 20, 2026fix(cao-integration): canonical awslabs link + recurrence guard (P0-3, F-SL4) — plauzy/ag-ui0 reactions · 1 comment
- Apr 3, 2026[feat] Plugin/provider extension API — register providers without patching source — theplenkov-forks/cli-agent-orchestrator0 reactions · 1 comment
In this repository52 other files it gives its agents.
- cao-pluginSkill
- cao-providerSkill
- cao-agent-routingSkill
- cao-session-managementSkill
- cao-supervisor-protocolsSkill
- cao-worker-protocolsSkill
- aidlc-portfolioSkill
- cao-agent-routingSkill
- cao-contributingSkill
- cao-learningSkill
- cao-mcp-appsSkill
- cao-memorySkill
- cao-pluginSkill
- cao-providerSkill
- cao-session-livenessSkill
- cao-session-managementSkill
- cao-supervisor-protocolsSkill
- cao-worker-protocolsSkill
- cao-workflowSkill
- mcp-apps-builderSkill
- agui-authorSkill
- cao-agent-routingSkill
- cao-contributingSkill
- cao-learningSkill
- cao-mcp-appsSkill
- cao-memorySkill
- cao-pluginSkill
- cao-providerSkill
- cao-session-livenessSkill
- cao-session-managementSkill
- cao-supervisor-protocolsSkill
- cao-worker-protocolsSkill
- cao-workflowSkill
- mcp-apps-builderSkill
- migrate-agent-pluginSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- escaped-skillSkill
- alphaSkill
- alphaSkill
- betaSkill
- not-the-folder-nameSkill
- alphaSkill
- linkedSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
If the AG-UI surface is disabled on the server, the tool degrades gracefully (no error) — so calling it is never fatal.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
Safety model (why this is always safe to call)
You may emit only a closed allow-list of named components with JSON props.
There is no HTML, no script, no eval, no iframe. The intent is validated
server-side against the allow-list before it reaches the stream:
- An off-list component (e.g.
iframe,script) is refused — the tool raises aValueError; nothing is rendered. propsmust be JSON-serializable and are bounded to 8 KB — an oversized or non-serializable payload is rejected at theemit_uiboundary (HTTP 400, the tool raises aValueError), so a bad payload never reaches the bus.- If the AG-UI surface is disabled on the server, the tool degrades gracefully (no error) — so calling it is never fatal.
- The AG-UI stream is metadata-only by contract: never put message bodies, credentials, or file contents in props. Reference paths, not contents.
The tool
emit_ui(component: str, props: dict) -> {"ok", "event_id", "component"}component must be one of: approval_card, choice_prompt, diff_summary,
progress, metric, agent_card.
When to use which component
Props below are what a conformant client renderer will display; unknown extra keys are ignored, not refused.
| Component | Use it when… | Props |
approval_card | you need a human to approve/reject a risky action before you proceed | title (str), detail (str, optional), risk ("low"/"medium"/"high", optional) |
choice_prompt | you want the operator to pick among options | question (str), choices (list of {"label", "value"} or plain strings) |
diff_summary | you changed files and want a compact review | title (str), files (list of {"path", "additions", "deletions"}) |
progress | a long step is running | label (str), value (0.0–1.0; omit for an indeterminate bar) |
metric | you want to surface a single number | label (str), value (str/number), unit (str, optional) |
agent_card | you want to advertise your identity/status in the fleet view | name (str), provider (str), status (str, optional) |
Examples
# Gate a risky action on human approval.
emit_ui("approval_card", {
"title": "Deploy to production?",
"detail": "3 files changed, 1 DB migration",
"risk": "high",
})
# Ask the operator to choose.
emit_ui("choice_prompt", {
"question": "Which base branch?",
"choices": [{"label": "main", "value": "main"},
{"label": "release", "value": "release"}],
})
# Summarize a change set.
emit_ui("diff_summary", {
"title": "Refactor auth",
"files": [{"path": "security/auth.py", "additions": 74, "deletions": 3}],
})
# Show progress / a metric / your identity.
emit_ui("progress", {"label": "Indexing repository", "value": 0.42})
emit_ui("metric", {"label": "tokens used", "value": 12840, "unit": "tok"})
emit_ui("agent_card", {"name": "reviewer", "provider": "claude_code", "status": "working"})L2 constructs (Phase 2)
The AG-UI surface also exposes L2 constructs — higher-level projections that
fold the raw event stream into structured views. As an agent you don't author L2
constructs, but you should know they exist because your emit_ui intents feed
them:
SupervisorDashboardStream— foldsSTATE_SNAPSHOT/STATE_DELTA+ youragent_cardemits into a live fleet hierarchy view.MultiAgentSessionTimeline— reconstructs delegation/message timeline fromTOOL_CALLlifecycle events.AgentHandoffWithApproval— the full interrupt lifecycle: provider prompt → reason classification → interrupt → approve/deny/edit → delivery.CrossProviderStateSync— convergence proof across providers.
The run plane (POST /agui/v1/run) streams these as stock AG-UI wire frames.
Interrupts (approval prompts) route through POST /agui/v1/interrupts/{id}/resume.
For details: references/l2-constructs.md and references/run-plane.md.
Gotchas
- Emitting to a disabled surface — if
CAO_AGUI_ENABLEDis unset,emit_uireturns{"ok": false}gracefully. Don't treat this as an error or retry — it's a no-op by design. The fix: always checkokin the return but never fail on it. - Props over 8 KB are rejected — the tool raises a
ValueErrorand nothing renders. The fix: reference file paths instead of embedding content. Keep props to metadata (paths, counts, labels). - No HTML sink exists — strings in props render as plain text. Attempting to
smuggle markup through props (e.g.
<script>,<iframe>) won't render and looks broken. The fix: use structured props, not markup. - One intent per meaningful moment — emitting a
progresscard on every token or tool call floods the stream and degrades client rendering. The fix: emit at milestones (start, 25%, 50%, 75%, done) or once per logical phase. approval_cardis display-only today — it gives the operator an approve/reject affordance in the dashboard, but the action routes to the dashboard's command surface, not back to you. The fix: pair it with your provider's own wait-for-input mechanism (e.g. Kiro's trust prompts, Claude Code's permission dialog).- Off-list components are refused server-side — the allow-list is fixed
(
approval_card,choice_prompt,diff_summary,progress,metric,agent_card). A typo or new component name returns HTTP 400. The fix: use only the six listed names; check spelling.
Verifying locally
# 1. Server with the surface on
CAO_AGUI_ENABLED=true uv run cao-server
# 2. Watch the stream (SSE frames print as they arrive)
curl -N 'http://localhost:9889/agui/v1/stream'
# 3. Emit from anywhere (the MCP tool does exactly this)
curl -sX POST http://localhost:9889/agui/v1/emit_ui \
-H 'Content-Type: application/json' \
-d '{"component":"progress","props":{"label":"demo","value":0.5}}'A GENERATIVE_UI frame with your component appears on the stream; an off-list
component is refused with HTTP 400.
See also
examples/ag-ui/ag-ui-dashboard/— a runnable demo (run.sh+showcase.sh) that drives all six components live and shows the off-list refusal.docs/agui.md— the AG-UI stream and generative-UI reference.cao-mcp-appsskill — operate and extend the MCP Apps surface that renders youremit_uiintents inside host dashboards (Claude Desktop, VS Code, etc.).mcp-apps-builderskill — build new MCP App views that consume the AG-UI stream your emits feed into.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

