explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR: AG-UI answers in one table
  • Why agents do not fit the request and response model
  • What AG-UI standardizes: 31 events in eight families
  • How AG-UI relates to MCP, A2A and A2UI
  • Quick start: two ways to run it
  • Who is behind it, and what adoption claims can you check?
  • What 1.0 changes for builders
  • Limits and open questions
  • What to do this week
  • Related reading
← Back to blog

explainx / blog

AG-UI 1.0: The Open Protocol That Connects Any AI Agent to Any App

AI Agents, Open Source, MCP, Developer Tools, GitHub Trending

Part of AI Agents

AG-UI 1.0 freezes an open event protocol for agent-to-app streaming. What its 31 events do, how it differs from MCP and A2A, and a 30-line quick start.

Nov 30, 2026·9 min read·Yash Thakker
add explainx.ai
go deep
AG-UI 1.0: The Open Protocol That Connects Any AI Agent to Any App

AG-UI is an open, MIT-licensed protocol that lets any AI agent stream text, tool calls, state and approval requests to any front end, and it just reached a frozen 1.0 specification. The ag-ui-protocol/ag-ui repository is trending on GitHub this week with roughly 1,000 new stars and shows about 22.2k stars and 2.2k forks. It was created by CopilotKit and developed in the open.

If you build agent features into an app, this is the layer between your agent framework and your screen. This guide covers what AG-UI standardizes, how it relates to MCP and A2A, how to run the quick start, and what to check before you adopt it. Numbers below come from the repository README as of November 30, 2026.

TL;DR: AG-UI answers in one table

table · 2 cols
QuestionAnswer
What is it?An event-based protocol between an agent and a user-facing app
Who made it?CopilotKit, developed in the open with the community
License?MIT
Version?1.0 with a frozen spec and a JSON Schema
How many events?31 event types in eight families
Official SDKs?TypeScript, Python, .NET
Transport?HTTP with server-sent events, plus a binary HTTP and Protobuf binding
Does it replace MCP?No. MCP is for tools and context; AG-UI is for the user interface
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

Why agents do not fit the request and response model

A normal web API takes a request and returns a response. Agents behave differently. They stream tokens, call tools in the middle of an answer, update shared state, stop to ask a human, and sometimes spawn subagents. The README puts it plainly: every framework does this differently, and AG-UI replaces custom wiring with one bi-directional event stream.

The practical pain is familiar to anyone who has wired an agent to a chat window. Each framework invents its own streaming format. Your React component learns one shape for LangChain, another for a Google agent, another for a home-grown loop. Change the backend and the front end breaks. AG-UI proposes that the agent emits typed events and the client renders them, whichever framework built the agent. The same agent can then power a web app, a mobile app, a terminal or Slack.

What AG-UI standardizes: 31 events in eight families

The 1.0 spec defines 31 event types. The README groups them like this:

table · 3 cols
FamilyEvents (examples)What it carries
Runs and stepsRUN_STARTED, RUN_FINISHED, RUN_ERROR, STEP_STARTEDLifecycle of one agent run
Text messagesTEXT_MESSAGE_START, TEXT_MESSAGE_CONTENT, TEXT_MESSAGE_ENDToken-by-token assistant text
Tool callsTOOL_CALL_START, TOOL_CALL_ARGS, TOOL_CALL_RESULTTool use, including streamed arguments
StateSTATE_SNAPSHOT, STATE_DELTA (JSON Patch), MESSAGES_SNAPSHOTShared state between agent and app
ReasoningREASONING_START, REASONING_MESSAGE, REASONING_ENCRYPTED_VALUEVisible and encrypted reasoning
ActivityACTIVITY_SNAPSHOT, ACTIVITY_DELTAProgress indicators
SubagentsSUBAGENT_STARTED, SUBAGENT_FINISHED, SUBAGENT_ERRORNested delegation
PassthroughRAW, CUSTOMAnything the spec does not cover

Only the run lifecycle is required. A minimal agent emits a handful of events and grows from there. That design matters: a small agent does not pay for features it does not use.

The building blocks you get

The README maps each feature to events and to a live demo in its Dojo app:

  • Streaming chat with cancel and resume across multi-turn sessions.
  • Generative UI, where agents render typed components or declarative UI through A2UI and MCP Apps.
  • Shared state, a typed store that both agent and app read and write, synced by snapshots and JSON Patch deltas.
  • Frontend tools, where the agent calls a tool that runs in the app and gets the result back.
  • Human in the loop, where a run ends with an interrupt outcome, the user approves, edits or rejects, and the next run resumes.
  • Multimodal input and tool results for images, audio, video and documents.

For product teams, human in the loop is the feature to study. Approval steps are where agent products usually turn into custom code. Having an interrupt outcome in the spec means a client can implement approval once and reuse it for every agent behind it.

How AG-UI relates to MCP, A2A and A2UI

The README calls AG-UI one of three open, complementary agentic protocols. The split is simple:

table · 3 cols
ProtocolConnectsQuestion it answers
MCPAgent to tools and contextWhat can the agent use?
A2AAgent to other agentsWho can the agent work with?
AG-UIAgent to the user's appHow does the person see and steer it?

Our guides to MCP and to A2A versus MCP cover the first two. AWS shows A2A in a real stack in its multi-agent write-up with LangChain and Strands.

The README also answers a common mix-up. A2UI, MCP Apps and Open-JSON-UI are generative UI specs: they describe what interface an agent wants to show. AG-UI is the runtime that carries those payloads, along with everything else, between agent and app. For a concrete example of an interface spec built on events, see Microsoft Flint and its clickable charts.

Quick start: two ways to run it

Option 1: scaffold a full app

bash
npx create-ag-ui-app@latest
export OPENAI_API_KEY="sk-..."

The CLI scaffolds a front end, either CopilotKit on Next.js or a terminal client, wired to the agent framework you choose. The generated templates call OpenAI, so set your key before npm run dev.

Option 2: speak the protocol directly

The README shows a 30-line agent server and client that needs no API key. The Python side is a FastAPI endpoint that accepts a RunAgentInput and streams events back:

bash
pip install ag-ui-protocol fastapi uvicorn
uvicorn server:app --port 8000

The server yields RunStartedEvent, then TextMessageStartEvent, a few TextMessageContentEvent chunks, TextMessageEndEvent and RunFinishedEvent. The TypeScript client uses HttpAgent from @ag-ui/client, adds a user message and prints each text delta as it arrives. The README says you should see "Hello from AG-UI!" stream in, and that swapping the server for any supported framework leaves the client unchanged.

That last claim is the test of the whole idea, so run it with your own agent before you commit. The protocol is transport-agnostic: it defines HTTP with server-sent events and a binary HTTP and Protobuf binding, and middleware can adapt events from other sources.

Who is behind it, and what adoption claims can you check?

The README says AG-UI is "adopted by Google, Microsoft, Amazon, and Oracle, and built into most agent frameworks." It lists partners LangChain and CrewAI, and built-in support in Microsoft Agent Framework, Google ADK, Google Antigravity, AWS Strands Agents, Mastra, Pydantic AI, Agno, LlamaIndex and AG2. It also lists the Claude Agent SDK, Claude Managed Agents, IBM watsonx Orchestrate, Spring AI, Cloudflare Agents, and the OpenAI Agents SDK among other frameworks, and Amazon Bedrock AgentCore for deployment.

Treat this as the maintainers' claim. "Adopted" can mean a full first-party integration or a community adapter, and the repository says the source for every integration lives in its integrations/ and middlewares/ folders. Open the folder for your framework and read the code before you assume parity.

Community SDKs exist for Kotlin, Go, Java, Dart, Rust, Ruby, C++ and Swift. Official SDKs for TypeScript, Python and .NET are generated from the JSON Schema, which is the technical reason a frozen spec is useful: the schema is the source of truth and the SDKs follow.

CopilotKit is also the client most people will use first, which is a point to weigh. Our write-up of Fynk replacing a large custom stack with CopilotKit and AG-UI shows the build-versus-adopt trade-off in practice, and CopilotKit's OpenBot shows a bot client on the same protocol.

What 1.0 changes for builders

The README says "AG-UI 1.0 is here" with a stable, frozen specification, and that 1.0 is backwards compatible in both directions: 0.x agents work with 1.0 clients and the reverse. For builders this removes the biggest reason to wait. A frozen spec with generated SDKs means you can write a client against it without expecting the event names to move.

It also changes the shape of the lock-in question. If your UI speaks AG-UI, replacing the agent framework behind it is an integration task, not a UI rewrite. If your agent speaks AG-UI, you can serve a web app, a terminal and a chat tool from the same run.

Limits and open questions

  • Another protocol to carry. Teams already run MCP and often A2A. AG-UI adds a third surface to test and secure.
  • Adoption is self-reported. The list of adopters is on the README. Independent confirmation per vendor is not in the repository.
  • A front-end vendor wrote the spec. CopilotKit created AG-UI and sells the most complete client. The MIT license and open governance help, but check how much of the roadmap is shaped outside that company.
  • Security is yours to design. The README points to a SECURITY.md for reporting issues. A protocol that lets an agent call tools that run in your app (frontend tools) means you must decide which tools it may call and what the user must approve.- Defaults call OpenAI. The scaffolded templates need an OpenAI key. Swap the model deliberately if you use another provider.

What to do this week

  1. Run the no-key quick start and watch the raw event stream. It takes minutes and teaches the vocabulary.
  2. Pick one of your agents and map its outputs to the eight families. Note which events you would emit.
  3. Prototype one approval flow with the interrupt outcome.
  4. Read your framework's folder under integrations/ before deciding.
  5. If your team needs to train people on building agent features, see the agent skills guide and our workshops.

The wider trend is that the agent stack is splitting into standard layers, a theme also visible in the Agentic AI Foundation project list. AG-UI is the bid to own the layer nearest the user.

Related reading

  • What is MCP? The Model Context Protocol guide
  • A2A vs MCP: the Agent2Agent protocol explained
  • AWS A2A multi-agent stack with LangChain and Strands
  • Microsoft Flint: interactive agents and MCP Apps
  • Fynk and CopilotKit AG-UI: build vs adopt
  • CopilotKit OpenBot
  • Official: AG-UI documentation and the GitHub repository

Star counts, version and adopter claims are accurate as of November 30, 2026 and come from the repository README. Check the repository for current numbers.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Nov 27, 2026

Muxlio: An Open-Source Durable Workflow Coordinator for Claude, Codex, Cursor and Shell Tools

Muxlio is a new open-source coordinator that turns a multi-step agent job into an immutable plan and a durable run that survives your chat session. This guide explains the plan, run, worker and adapter model, how to install it, how its security policy works, and what its own docs say it has not measured.

Nov 20, 2026

agentes.chat: Self-Hosted Team Chat Where AI Agents Are Teammates

agentes.chat, trending on GitHub with about 1.8k stars, is a self-hosted team chat where AI agents have roles, owners and monthly budgets. Here is what it does, how to install it with Docker Compose, the AGPL terms, and what is still beta.

Nov 13, 2026

LobeHub: Super-Agents in Your Team Chat, With 85K Stars and a Community License

LobeHub, the open-source chat and agent workspace, now pitches itself as "Super-Agents on Your Team". It trended on GitHub in week 46 with about 1,200 new stars in seven days and 85,000 in total. Here is what it does, how to self-host it, and what its license means.