Skip to content

ag-ui-protocol/ag-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AG-UI Workshop – June 20

Discord

ag-ui Logo AG-UI: The Agent-User Interaction Protocol

AG-UI is a lightweight, event-based protocol that standardizes how AI agents connect to front-end applications. Built for simplicity and flexibility, it enables seamless integration between your AI agents and user interfaces.

AG-UI

What is AG-UI? (Specification)

AG-UI is an open, lightweight, event-based protocol for agent-human interaction, designed for simplicity & flexibility:

  • During agent executions, agent backends emit events compatible with one of AG-UI's ~16 standard event types
  • Agent backends can accept one of a few simple AG-UI compatible inputs as arguments

AG-UI includes a flexible middleware layer that ensures compatibility across diverse environments:

  • Works with any event transport (SSE, WebSockets, webhooks, etc.)
  • Allows for loose event format matching, enabling broad agent and app interoperability

It also ships with a reference HTTP implementation and default connector to help teams get started fast.

Learn more about the specs

Where does AGUI fit in the agentic protocol stack?

AG-UI is complementary to the other 2 top agentic protocols

  • MCP gives agents tools
  • A2A allows agents to communicate with other agents
  • AG-UI brings agents into user-facing applications

image

Why AG-UI?

AG-UI was developed based on real-world requirements and practical experience building in-app agent interactions.

Where does AGUI fit in the agentic protocol stack?

AG-UI is complementary to the other 2 top agentic protocols

  • MCP gives agents tools
  • A2A allows agents to communicate with other agents
  • AG-UI brings agents into user-facing applications

Features

  • πŸ’¬ Real-time agentic chat with streaming
  • πŸ”„ Bi-directional state synchronization
  • 🧩 Generative UI and structured messages
  • 🧠 Real-time context enrichment
  • πŸ› οΈ Frontend tool integration
  • πŸ§‘β€πŸ’» Human-in-the-loop collaboration

Framework Support

AG-UI integrates with many popular agent frameworks

Framework Status AG-UI Resources
No-framework βœ… Supported ➑️ Docs coming soon
LangGraph βœ… Supported ➑️ Demo
Mastra βœ… Supported ➑️ Demo
CrewAI βœ… Supported ➑️ Demo
AG2 βœ… Supported ➑️ Demo
Agno πŸ› οΈ In Progress –
LlamaIndex πŸ› οΈ In Progress –
Pydantic AI πŸ› οΈ In Progress –
Vercel AI SDK πŸ› οΈ In Progress –
OpenAI Agent SDK πŸ’‘ Open to Contributions –
Google ADK πŸ’‘ Open to Contributions –
AWS Bedrock Agents πŸ’‘ Open to Contributions –
Cloudflare Agents πŸ’‘ Open to Contributions –
Strands Agents SDK πŸ’‘ Open to Contributions –
Language SDK Status AG-UI Resources
.NET πŸ› οΈ In Progress ➑️ PR
Nim πŸ› οΈ In Progress ➑️ PR
Rust πŸ› οΈ In Progress

View all supported frameworks β†’

AG-UI Hello World

Play with this hello-world app here: https://agui-demo.vercel.app/

agui-hello-world-2.mp4

AG-UI Showcase: The AG-UI Dojo (Building-Blocks Viewer)

The AG-UI Dojo showcases many of the building blocks that AG-UI supports.

The building blocks are designed to be simple and focused -- between 50-200 lines of code.

Getting Started

Choose your path:

Building AG-UI Powered Applications

Create a new AG-UI application in seconds:

npx create-ag-ui-app my-agent-app

View Documentation Β· Join Discord

Building AG-UI Integrations (new frameworks)

  1. Build new integrations (Quickstart)
  2. Book a call to discuss an AG-UI integration with a new framework
  3. Join the Discord Community

Contributing

Check out the Contributing guide

License

AG-UI is open source and available under the MIT License.

About

AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 15