Skip to main content
Deploy agents as AG-UI servers for CopilotKit and other AG-UI compatible frontends.

CLI

Python

Expected Output:
Verify:
Response:

agents.yaml

AGUI server is Python-only. No agents.yaml support.

AGUI Endpoints

AGUI Parameters

CopilotKit Integration

Send AGUI Request

Response (SSE Stream):

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 as custom 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