Integrate Open WebUI into AG-UI as a Reference Frontend
#477 opened on Oct 4, 2025
Repository metrics
- Stars
- (14,090 stars)
- PR merge metrics
- (PR metrics pending)
Description
As requested by @NathanTarbert in discussion #353 , this issue is to formally track my proposal to integrate the AG-UI protocol with Open WebUI as a reference frontend.
Motivation
Integrating with a popular, open-source frontend like Open WebUI would provide an immediate, real-world application for agents built on AG-UI protocol and could significantly accelerate adoption. The key benefits are:
- Ready-Made Frontend: It would provide the ecosystem with a polished and feature-complete UI (handling conversations, user management, model configuration, etc.) out of the box.
- Powerful Showcase: A successful integration would serve as a fantastic, real-world demonstration of the AG-UI protocol's capabilities, showing how it enables agents to go beyond simple text-only interactions.
- Drive Adoption: By tapping into Open WebUI's large and active user base, we can introduce more developers and users to the power and potential of AG-UI.
Proposed Integration Path
The integration would require development on both the Open WebUI and AG-UI agent sides. The core requirements would be:
- Communication Bridge: Implement a backend communication mechanism in Open WebUI, such as a pipeline, to forward user requests to a running AG-UI compliant agent.
- User Action Endpoints: Define and add new API endpoints on the agent side. These endpoints are crucial for the agent to receive data about user actions (e.g., button clicks, form submissions) performed on the UI components it renders. This feedback loop is the key to enabling truly interactive agentic workflows.
Proof of Concept
A basic proof-of-concept has been created by me to demonstrate the initial request flowing from Open WebUI to an agent.
Disclaimer: This is a very basic example that serves as a starting point. It currently lacks many protocol features, most notably the critical feedback loop of user actions being sent back to the agent.