Skip to main content
POST
Deploy API: AGUI Server

AGUI API

AG-UI protocol endpoints for agents deployed via AGUI(agent).get_router(). Compatible with CopilotKit.

Base URL + Playground

Base URL: http://localhost:8000

Endpoints

POST /agui

Run agent with Server-Sent Events streaming.
threadId
string
required
Thread identifier
runId
string
required
Run identifier
state.messages
array
required
Conversation messages array
Response (SSE Stream):

GET /status

Check agent availability.
none
none
No parameters required.
Response:

Event Types

Message Format

Input Message:

Error Events

CopilotKit Integration