Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Generative UI
PraisonAI supports rich agent output through three tiers — use the simplest path that fits your client.Tiers
| Tier | Mechanism | Best for |
|---|---|---|
| 0 | Markdown streaming (OutputConfig(stream=True, markdown=True)) | CLI, logs, simple chat |
| 1 | Structured output (output_pydantic / output_json) | APIs — your frontend maps schema → components |
| 2 | AG-UI (AGUI + FastAPI) | CopilotKit / React — streaming text + tool events |
| 3 | A2UI (optional a2ui-agent-sdk) | Cross-platform declarative UI (Flutter, React renderers) |
Tier 1 — Structured output (recommended)
Tier 2 — AG-UI (CopilotKit)
praisonai serve a2u --port 8002
AG-UI streams text deltas and tool call events to compatible frontends. See AG-UI server. A2UI tool results also emit a CUSTOM event name="a2ui" on the AG-UI stream.
Tier 3 — A2UI (optional)
For declarative JSON UI consumed by A2UI renderers:What not to use
- Do not reimplement A2UI types in application code — use the official SDK via
praisonaiagents[a2ui]. - Renderers live outside PraisonAI core (React, Flutter, Lit in the Google A2UI repo).

