> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# agui • AI Agent SDK

> AG-UI Protocol Integration for PraisonAI Agents

# agui

<Badge color="blue">AI Agent</Badge>

AG-UI Protocol Integration for PraisonAI Agents

This module provides AG-UI (Agent-User Interface) protocol support,
enabling PraisonAI Agents to be exposed via a standardized streaming API
compatible with CopilotKit and other AG-UI frontends.

Usage:
from praisonaiagents import Agent
from praisonaiagents.ui.agui import AGUI
from fastapi import FastAPI

agent = Agent(name="Assistant", role="Helper", goal="Help users")
agui = AGUI(agent=agent)

app = FastAPI()
app.include\_router(agui.get\_router())

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.ui import agui
```
