Python: AG-UI protocol support - #1826
Merged
Evan Mattson (moonbox3) merged 8 commits intoNov 5, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new agent-framework-ag-ui package that provides AG-UI protocol integration for the Agent Framework. The implementation adds comprehensive support for all AG-UI features including agentic chat, backend tool rendering, human-in-the-loop, shared state, and predictive state updates.
Key Changes:
- Added new
packages/ag-uipackage with orchestrator-based architecture - Implemented event bridge for translating Agent Framework events to AG-UI protocol
- Added comprehensive test coverage for all features
- Included example agents and FastAPI server implementation
Reviewed Changes
Copilot reviewed 49 out of 50 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| python/uv.lock | Added ag-ui-protocol dependency and agent-framework-ag-ui package entry |
| python/pyproject.toml | Registered new package in workspace and added to test coverage |
| python/packages/ag-ui/pyproject.toml | Package configuration with dependencies and build settings |
| python/packages/ag-ui/agent_framework_ag_ui/* | Core implementation files for AG-UI integration |
| python/packages/ag-ui/tests/* | Comprehensive test suite covering all features |
| python/packages/ag-ui/examples/* | Example agents and FastAPI server |
Eduard van Valkenburg (eavanvalkenburg)
left a comment
Member
There was a problem hiding this comment.
some quick notes
Contributor
Python Test Coverage Report •
Python Unit Test Overview
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ben Thomas (alliscode)
approved these changes
Nov 3, 2025
Brandon McConnell (brandonmcconnell)
approved these changes
Nov 4, 2025
Tao Chen (TaoChenOSU)
approved these changes
Nov 5, 2025
Tao Chen (TaoChenOSU)
approved these changes
Nov 5, 2025
Aris Nguyen (arisng)
pushed a commit
to arisng/agent-framework
that referenced
this pull request
Feb 2, 2026
* Add AG-UI integration * Fix tests. PR feedback * Cleanup * PR Feedback * Improve README and getting started experience * Fix links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Implements AG-UI (Agent-User Interaction) protocol support for the Python Agent Framework, enabling standardized streaming communication with AG-UI-compatible frontends. This is the Python equivalent of .NET PR #1776.
The AG-UI protocol is an open, event-based protocol that standardizes how AI agents connect to user-facing applications. Without AG-UI support, Python agents cannot interoperate with the growing ecosystem of AG-UI-compatible frontends (CopilotKit, LangGraph Studio, etc.).
Implementation
New Package:
agent-framework-ag-ui(v0.1.0) -> will update to the latest package version at next release.Architecture:
Supported AG-UI Features (all 7):
Quality
Description
Contribution Checklist