▲ 602 today20.6k starsTypeScriptHN ×1
AG-UI protocol standardizes AI agent interaction across apps
What is ag-ui?
AG-UI defines a lightweight event stream that lets any AI agent talk to any user-facing application. Agents emit typed events and clients render them, so the same backend can power web, mobile, terminal, or Slack interfaces.
Who it is for
If you build chat-style assistants, you can swap frameworks without rewriting the front-end glue.
Try it in 60 seconds
You need: Node, Python 3.9+, and an OpenAI API key
npx create-ag-ui-app@latestexport OPENAI_API_KEY="sk-..."pip install ag-ui-protocol fastapi uvicorn
MIT licenseUpdated todayTypeScript593 open issues
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted ag-ui-protocol/ag-ui on November 19, 2026, when it had 20.5k GitHub stars. It now has 20.6k. On its busiest day it gained 602 stars. It is published under the MIT license and has 2.1k forks. It has been discussed in 1 Hacker News thread, the top one with 36 points. Early Signal files it under Agents, Coding.
Questions about ag-ui
- Is ag-ui free and open source?
- Yes. ag-ui-protocol/ag-ui is open source under the MIT license, and the code is on GitHub at https://github.com/ag-ui-protocol/ag-ui.
- How do I install ag-ui?
- Use one of these, depending on your setup: npx create-ag-ui-app@latest · export OPENAI_API_KEY="sk-..." · pip install ag-ui-protocol fastapi uvicorn
- What do I need to run ag-ui?
- Node, Python 3.9+, and an OpenAI API key