Skip to content

docs(ag-ui): comprehensive interface documentation#682

Open
Himanshu040604 wants to merge 7 commits into
mainfrom
AGUI
Open

docs(ag-ui): comprehensive interface documentation#682
Himanshu040604 wants to merge 7 commits into
mainfrom
AGUI

Conversation

@Himanshu040604

@Himanshu040604 Himanshu040604 commented Jun 12, 2026

Copy link
Copy Markdown

Summary

Full AG-UI interface documentation: guide pages, usage recipes, and deploy.

Changes

Guide pages (agent-os/interfaces/ag-ui/)

  • introduction.mdx: rewritten to the interface format (example usage, sessions &
    state, reasoning, structured output, frontend tools, custom events, security/CORS,
    troubleshooting)
  • setup.mdx (new): run the backend and connect a Dojo frontend
  • reference.mdx (new): interface parameters, endpoints, and the Agno to AG-UI event map

Recipes (agent-os/usage/interfaces/ag-ui/)

  • Refreshed: basic, agent-with-tools, team
  • Added: agent-with-silent-tools, reasoning-agent, structured-output, multiple-instances

Navigation: registered all AG-UI pages in docs.json.

Deploy (deploy/interfaces/ag-ui/overview.mdx): fixed the run command
(python agui_agent.py) and refreshed the next-steps links.

Notes

  • Every example mirrors the runnable cookbook at cookbook/05_agent_os/interfaces/agui/
    and uses OpenAIResponses(id="gpt-5.4"). The reasoning example uses o4-mini, a
    native reasoning model.
  • Cookbook model updates ship separately in agno-agi/agno.

Copilot AI review requested due to automatic review settings June 12, 2026 15:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands and refreshes the AG-UI documentation set to provide a full interface guide (overview/setup/reference), updated usage recipes, navigation registration, and an updated deploy quickstart for running an AG-UI backend and connecting a frontend.

Changes:

  • Added new AG-UI guide pages: Setup and Reference; rewrote the Introduction/Overview page with expanded sections (sessions/state, reasoning, structured output, tools, events, security, troubleshooting).
  • Added/updated AG-UI usage recipes (including new pages for silent tools, reasoning agent, structured output, and multiple instances).
  • Updated site navigation (docs.json) and refreshed the AG-UI deploy overview (run command + next-step links).

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs.json Registers AG-UI guide/recipe pages in the docs navigation.
deploy/interfaces/ag-ui/overview.mdx Updates quickstart run instructions and next-step links for deploying/serving AG-UI.
agent-os/interfaces/ag-ui/introduction.mdx Rewrites AG-UI overview docs with expanded guidance and troubleshooting.
agent-os/interfaces/ag-ui/setup.mdx New setup walkthrough for running backend + connecting Dojo frontend.
agent-os/interfaces/ag-ui/reference.mdx New reference page for parameters, endpoints, and event mapping.
agent-os/usage/interfaces/ag-ui/basic.mdx Refreshes the basic AG-UI agent recipe (model/port/deps + frontend steps).
agent-os/usage/interfaces/ag-ui/agent-with-tools.mdx Refreshes tools recipe to demonstrate backend + frontend tool execution.
agent-os/usage/interfaces/ag-ui/agent-with-silent-tools.mdx New recipe showing silent external (frontend) tools.
agent-os/usage/interfaces/ag-ui/reasoning-agent.mdx New recipe demonstrating streaming reasoning events to the frontend.
agent-os/usage/interfaces/ag-ui/structured-output.mdx New recipe demonstrating Pydantic structured outputs over AG-UI.
agent-os/usage/interfaces/ag-ui/multiple-instances.mdx New recipe showing multiple AG-UI instances via interface prefixes.
agent-os/usage/interfaces/ag-ui/team.mdx Refreshes team recipe and frontend setup steps for AG-UI teams.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread agent-os/usage/interfaces/ag-ui/team.mdx Outdated
Comment on lines +15 to +18
chat_agent = Agent(
name="Assistant",
model=OpenAIResponses(id="o4-mini"),
instructions="You are a helpful AI assistant.",
@mintlify

mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
phidatainc 🟢 Ready View Preview Jun 12, 2026, 3:45 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
agno 🟢 Ready View Preview Jun 12, 2026, 4:14 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Mustafa-Esoofally added a commit to agno-agi/agno that referenced this pull request Jun 17, 2026
## Summary

Update the AG-UI cookbook examples to the recommended OpenAI model
setup:

- Switch `OpenAIChat` to `OpenAIResponses` across all 7 examples.
- Standardize model IDs to `gpt-5.4`. The reasoning example keeps
`o4-mini`.
- `multiple_instances.py`: serve on port 9001 for Dojo compatibility.
- Trim a few over-stated tool descriptions and `MovieScript` field
descriptions
  to match the documented examples.

## Type of change

- [x] Model update
- [x] Improvement

---

## Checklist

- [x] Code complies with style guidelines
- [x] Ran format/validation scripts
- [x] Self-review completed
- [ ] Documentation updated (comments, docstrings)
- [x] Examples and guides: Relevant cookbook examples updated
- [ ] Tested in clean environment
- [ ] Tests added/updated (if applicable)

### Duplicate and AI-Generated PR Check

- [x] I have searched existing open pull requests and confirmed no other
PR addresses this
- [ ] If a similar PR exists, I have explained below why this PR is a
better approach
- [ ] Check if this PR was entirely AI-generated

---

## Additional Notes

Model-identifier updates and example-description trims only. Ran `ruff
format`
(no changes) and `ruff check` (passed) on the 7 files. The matching
AG-UI
documentation ships separately in agno-agi/docs#682.

---------

Co-authored-by: Mustafa Esoofally <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants