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

# AG-UI

> Serve Agno agents and teams to AG-UI frontends.

| Example                                                                                            | Description                                                                                                                                                                      |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Agent With Tools](/examples/agent-os/interfaces/agui/agent-with-tools)                            | Combine server-side web search with a frontend haiku tool in an agent served over AG-UI.                                                                                         |
| [Basic](/examples/agent-os/interfaces/agui/basic)                                                  | Serve a minimal assistant agent through the AG-UI interface in AgentOS.                                                                                                          |
| [Multiple Instances](/examples/agent-os/interfaces/agui/multiple-instances)                        | Mount two agents on separate AG-UI endpoints with the prefix parameter.                                                                                                          |
| [Reasoning Agent](/examples/agent-os/interfaces/agui/reasoning-agent)                              | Serve an o4-mini reasoning agent with web search through the AG-UI interface.                                                                                                    |
| [Research Team](/examples/agent-os/interfaces/agui/research-team)                                  | Serve a researcher and writer team through the AG-UI interface in AgentOS.                                                                                                       |
| [Structured Output](/examples/agent-os/interfaces/agui/structured-output)                          | Return a MovieScript Pydantic schema from an agent served over AG-UI.                                                                                                            |
| [Agent With Media](/examples/agent-os/interfaces/agui/agent-with-media)                            | AG-UI agent that accepts multimodal input (images, audio, video, documents).                                                                                                     |
| [Agentic Chat: Dojo Demo](/examples/agent-os/interfaces/agui/agentic-chat)                         | Combine an external-execution change\_background tool with a get\_weather tool that returns card-ready data.                                                                     |
| [Backend Tool Rendering: Dojo Demo](/examples/agent-os/interfaces/agui/backend-tool-rendering)     | Agent whose get\_weather tool returns structured city/temperature/humidity data for the AG-UI frontend to render as a weather card.                                              |
| [Human in the Loop: Dojo Demo](/examples/agent-os/interfaces/agui/human-in-the-loop)               | Agent whose generate\_task\_steps tool requires user confirmation, returning a toggleable step list for the AG-UI Dojo step selector.                                            |
| [Shared State: Dojo Demo](/examples/agent-os/interfaces/agui/shared-state)                         | Sync recipe session\_state edits to an AG-UI frontend through STATE\_DELTA events.                                                                                               |
| [AG-UI Showcase](/examples/agent-os/interfaces/agui/showcase)                                      | Single server exposing all AG-UI Dojo demo endpoints.                                                                                                                            |
| [State Events](/examples/agent-os/interfaces/agui/state-events)                                    | Serves a recipe agent over AG-UI at /shared\_state, where enable\_agentic\_state lets the model call update\_session\_state to sync recipe fields to the UI.                     |
| [Team State Events](/examples/agent-os/interfaces/agui/team-state-events)                          | Serves a recipe-creator plus nutrition-advisor Team over AG-UI at /shared\_state, with enable\_agentic\_state syncing the shared recipe session state to the UI.                 |
| [Tool Based Generative UI: Dojo Demo](/examples/agent-os/interfaces/agui/tool-based-generative-ui) | Haiku agent that calls an externally executed generate\_haiku tool, passing Japanese and English lines plus an image name and CSS gradient for the frontend to render as a card. |
