AG-UI protocol endpoints for CopilotKit integration
AGUI(agent).get_router(). Compatible with CopilotKit.
http://localhost:8000
| Event | Description |
|---|---|
run_started | Agent run has started |
run_finished | Agent run completed |
run_error | Error occurred during run |
text_message_start | New text message started |
text_message_content | Text content delta |
text_message_end | Text message completed |
tool_call_start | Tool call started |
tool_call_args | Tool call arguments |
tool_call_end | Tool call completed |
| Field | Type | Description |
|---|---|---|
id | string | Message ID |
role | string | ”user” or “assistant” |
content | string | Message content |