CLI
Python
Verify Routes
Afterinclude_router, app.routes won’t list /agui and /status as flat paths — Starlette nests them under an internal _IncludedRouter. The endpoints work at runtime; verify them with TestClient.
If you need to inspect route paths programmatically, read them off the router instead of the app:
agents.yaml
AGUI server is Python-only. No agents.yaml support.AGUI Endpoints
Nested-router paths may not flatten into the top-level OpenAPI schema at
/openapi.json. The endpoints are fully reachable; this only affects introspection and auto-generated docs tooling that reads app.routes. See Verify Routes.AGUI Parameters
CopilotKit Integration
Send AGUI Request
Event Types
A terminal error reaches the client as
run_error, now including mid-stream provider failures that were previously silently dropped. Recoverable conditions (retry, model fallback, streaming fallback) arrive as custom praisonai.* events while the run continues.
PraisonAI custom events
AG-UI has no first-class frames for recoverable failures or user-visible progress. PraisonAI carries these ascustom events with a praisonai.* name. AG-UI clients are expected to ignore custom event names they do not recognise, so these are backwards-compatible.
See the AGUI API reference for the SSE payload and a JavaScript handler.
JavaScript Client
Troubleshooting
Related
- AGUI API Reference - Full AGUI endpoint documentation
- A2A Server - Deploy as A2A server
- Agents Server - Deploy as HTTP server

