agent-framework-ag-ui
AG-UI protocol integration for Agent Framework
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and integrates cleanly with FastAPI and Agent Framework. It is in production-stable status with no known vulnerabilities. Install it if you need to expose Agent Framework agents or workflows through a web interface with streaming and interrupt support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Requires a configured agent-framework-core Agent or Workflow instance and a running FastAPI application.
- Low friction install with a pure-Python wheel.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) allows use in commercial and private projects with minimal restrictions.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 12,804 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 632,210 downloads/mo, #5,653 on PyPI
Alternatives
Verify before relying
pip install agent-framework-ag-ui
from fastapi import FastAPI
from agent_framework import Agent
from agent_framework.ag_ui import add_agent_framework_fastapi_endpoint
agent = Agent(name="my_agent", instructions="You are helpful.")
app = FastAPI()
add_agent_framework_fastapi_endpoint(app, agent, "/")
# Run with: uvicorn main:app --reload- Whether the package requires external AG-UI server infrastructure or if it is self-contained
- Performance characteristics under high concurrency or large message volumes
- Stability guarantees for the 1.1.0 release relative to the stated 1.0.0 target
What it is and what it does
Agent Framework AG-UI is a protocol bridge that lets you expose Agent Framework agents and workflows through a web interface via FastAPI. It handles the AG-UI streaming protocol, allowing you to build servers that host AI agents or multi-step workflows and clients that connect to them over HTTP with streaming support. The package provides high-level helpers like `add_agent_framework_fastapi_endpoint` to wire up a FastAPI app, `AGUIChatClient` for async client connections, and utilities like `state_update` for tools that need to send different payloads to the model, the UI, and shared state.
The package depends on fastapi, httpx, uvicorn, sse-starlette, and agent-framework-core, plus the ag-ui-protocol specification. It supports both simple agent hosting and stateful workflow patterns (including thread-scoped workflows for conversation isolation). It implements the canonical AG-UI interrupt protocol for tool approval and workflow input requests, allowing paused runs to be resumed with user decisions or edited arguments.
Use it for
- Host an AI agent behind a FastAPI server and connect to it from a web client using AGUIChatClient with streaming responses.
- Build a multi-step workflow with AG-UI and expose it through a FastAPI endpoint for remote execution and state management.
- Implement tool approval workflows where the UI pauses execution, collects user approval or edited arguments, and resumes the agent.
- Create thread-scoped workflow instances to isolate conversation state and pending interrupts per user session.
- Render custom UI components for tool results using state_update to separate LLM-bound text from frontend-specific payloads.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive MIT license, and integrates cleanly with FastAPI and Agent Framework. It is in production-stable status with no known vulnerabilities. Install it if you need to expose Agent Framework agents or workflows through a web interface with streaming and interrupt support.
Install
agent-framework-ag-ui on PyPI
Before you install
Low friction install with a pure-Python wheel. Active maintenance with a recent release and 12804 repository stars. Supports Python 3.10 through 3.13.
Requires Python 3.10 or later. Requires a configured agent-framework-core Agent or Workflow instance and a running FastAPI application.
License in practice
MIT license (permissive) allows use in commercial and private projects with minimal restrictions.
Quickstart
pip install agent-framework-ag-ui
from fastapi import FastAPI
from agent_framework import Agent
from agent_framework.ag_ui import add_agent_framework_fastapi_endpoint
agent = Agent(name="my_agent", instructions="You are helpful.")
app = FastAPI()
add_agent_framework_fastapi_endpoint(app, agent, "/")
# Run with: uvicorn main:app --reload
Verify before relying
- Whether the package requires external AG-UI server infrastructure or if it is self-contained
- Performance characteristics under high concurrency or large message volumes
- Stability guarantees for the 1.1.0 release relative to the stated 1.0.0 target
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesag-ui-protocolagent-framework-corefastapihttpxsse-starletteuvicorn |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 632,210 / month, #5,653 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Typing :: Typed |
Evidence: agent_framework_ag_ui-1.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “fastapi agent web interface”
- agent-framework-ag-uiConnects Agent Framework agents and workflows to AG-UI's web…
- ag_ui_adkBridges Google ADK agents to the AG-UI Protocol, enabling ADK-built…
- agent-framework-devuiProvides a lightweight web UI and OpenAI-compatible API server for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also ag_ui_adk · ag-ui-langgraph · ag-ui-protocol · agent-framework-devui · agent-framework-github-copilot · agent-framework-core · agent-framework · agent-framework-a2a · aegra-api · langgraph-prebuilt