ag-ui
AG-UI is an open protocol that connects AI agents to user-facing apps and interfaces for developers building agent-powered software.
What it is good for
- Connecting an AI agent to a chat or app interface
- Streaming agent progress and results to users in real time
- Letting users review and approve agent actions
- Adding generative UI elements driven by an agent
At a glance
- Who it is for
- Setup
- Requires programming
Level 5 of 5. You need to write code to use it.
- Cost
- Free and open source
- Type
- Framework or SDK
- Works with
- LangChain, CrewAI, Google ADK, Pydantic AI, Mastra, CopilotKit
Momentum
- Rank this week
- Not ranked (last #44, week 42, 2026)
- Best rank
- #38 week 40, 2026
- GitHub stars
- 16,974
GitHub numbers as of Nov 2, 2026. Updated weekly.
Ranking history
Official links
Setup steps are on the official pages. We do not repeat them here, since they change.
Questions
- Is ag-ui free?
- Yes. It is free and open source (MIT license).
- Do I need to know how to code to use ag-ui?
- Yes. You need to write code to use it.
- What does ag-ui work with?
- According to its own documentation, it works with LangChain, CrewAI, Google ADK, Pydantic AI, Mastra, and CopilotKit.
- What is ag-ui good for?
- Connecting an AI agent to a chat or app interface, streaming agent progress and results to users in real time, letting users review and approve agent actions, and adding generative UI elements driven by an agent.
Similar agents to ag-ui
- Headroom
Headroom is a library, proxy, and MCP server that shrinks tool outputs, logs, and files before they reach an AI model, cutting token costs for agents.
- Mem0
Mem0 is a memory layer that lets AI agents and apps remember user details and past context across sessions for developers building assistants.
- Hindsight
Hindsight is an agent memory system that helps AI agents learn over time instead of only recalling chat history, for developers building agents.
- Appwrite
Appwrite is an open-source backend platform that gives apps and AI agents auth, databases, storage, functions, and hosting in one place.
- OpenViking
OpenViking is a context database that gives AI agents organized memory, documents, and skills they can browse like files.
- CopilotKit
CopilotKit is an open-source toolkit that puts AI agents into apps your users can chat with, click, and approve actions in, for developers building agent interfaces.