ag-ui-protocol/ag-uiPublic

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

AI summary: Event‑based protocol that standardizes real‑time AI agent interaction with user interfaces

Stars
22.5K
+146 today
Forks
2.1K
Watchers
109
Open issues
328
Open PRs
310
Contributors
~195
Commits
5.6K
Branches
224

TypeScriptMITCreated May 7, 2025Last push todayLatest release release/2026-11-27+764 stars this week+4.7K this month

Quick answers

What is ag-ui?
Event‑based protocol that standardizes real‑time AI agent interaction with user interfaces
What does ag-ui do?
AG-UI solves the lack of a common contract for streaming agent events to front‑end applications. It defines ~16 standard event types and a minimal set of inputs that agent backends can emit or accept. The protocol is transport‑agnostic, working over SSE, WebSockets, webhooks or any custom channel. A reference HTTP implementation and default connector let teams bootstrap an integration in minutes. Its middleware layer provides loose event format matching, enabling interoperability across diverse agent frameworks and UI stacks.
Who is ag-ui for?
Frontend developers and AI engineers building interactive agent‑powered applications. Requires familiarity with TypeScript/JavaScript and event‑driven architectures. Ideal for teams that need a lightweight, cross‑framework contract for real‑time agent communication.
How do I get started with ag-ui?
npx create-ag-ui-app my-agent-app
How popular is ag-ui on GitHub?
ag-ui-protocol/ag-ui has 22,463 stars and 2,114 forks on GitHub, and gained 764 stars in the last 7 days.
What license does ag-ui use?
ag-ui-protocol/ag-ui is released under the MIT license.

Star history

since Nov 15, 2026
010K20KNov 2026Nov 2026Nov 2026Dec 2026
22.5K stars as of Dec 2, 2026. Measured daily since Nov 15, 2026; GitHub no longer exposes earlier star timestamps.

Update history

2 recorded
  • Nov 29, 2026New release release/2026-11-27 (previously release/2026-11-21).
  • Nov 22, 2026New release release/2026-11-21 (previously release/2026-11-13).

Contribution activity

commits per day, last 52 weeks
DecJanFebMarAprMayJunJulAugSepOctNovMonWedFri2025-12-07: 2 commits2025-12-08: 3 commits2025-12-09: 3 commits2025-12-10: 0 commits2025-12-11: 0 commits2025-12-12: 1 commit2025-12-13: 8 commits2025-12-14: 4 commits2025-12-15: 2 commits2025-12-16: 4 commits2025-12-17: 2 commits2025-12-18: 6 commits2025-12-19: 8 commits2025-12-20: 1 commit2025-12-21: 0 commits2025-12-22: 4 commits2025-12-23: 8 commits2025-12-24: 0 commits2025-12-25: 0 commits2025-12-26: 1 commit2025-12-27: 0 commits2025-12-28: 0 commits2025-12-29: 7 commits2025-12-30: 2 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 0 commits2026-01-03: 0 commits2026-01-04: 0 commits2026-01-05: 6 commits2026-01-06: 0 commits2026-01-07: 0 commits2026-01-08: 1 commit2026-01-09: 7 commits2026-01-10: 0 commits2026-01-11: 2 commits2026-01-12: 1 commit2026-01-13: 6 commits2026-01-14: 4 commits2026-01-15: 2 commits2026-01-16: 1 commit2026-01-17: 1 commit2026-01-18: 0 commits2026-01-19: 3 commits2026-01-20: 1 commit2026-01-21: 1 commit2026-01-22: 4 commits2026-01-23: 2 commits2026-01-24: 0 commits2026-01-25: 0 commits2026-01-26: 2 commits2026-01-27: 3 commits2026-01-28: 3 commits2026-01-29: 0 commits2026-01-30: 7 commits2026-01-31: 3 commits2026-02-01: 0 commits2026-02-02: 3 commits2026-02-03: 2 commits2026-02-04: 13 commits2026-02-05: 9 commits2026-02-06: 5 commits2026-02-07: 1 commit2026-02-08: 2 commits2026-02-09: 2 commits2026-02-10: 11 commits2026-02-11: 3 commits2026-02-12: 0 commits2026-02-13: 3 commits2026-02-14: 0 commits2026-02-15: 3 commits2026-02-16: 7 commits2026-02-17: 2 commits2026-02-18: 2 commits2026-02-19: 9 commits2026-02-20: 1 commit2026-02-21: 0 commits2026-02-22: 0 commits2026-02-23: 1 commit2026-02-24: 5 commits2026-02-25: 4 commits2026-02-26: 4 commits2026-02-27: 4 commits2026-02-28: 11 commits2026-03-01: 1 commit2026-03-02: 24 commits2026-03-03: 7 commits2026-03-04: 13 commits2026-03-05: 11 commits2026-03-06: 15 commits2026-03-07: 3 commits2026-03-08: 3 commits2026-03-09: 6 commits2026-03-10: 7 commits2026-03-11: 8 commits2026-03-12: 6 commits2026-03-13: 13 commits2026-03-14: 0 commits2026-03-15: 0 commits2026-03-16: 2 commits2026-03-17: 2 commits2026-03-18: 0 commits2026-03-19: 12 commits2026-03-20: 5 commits2026-03-21: 0 commits2026-03-22: 1 commit2026-03-23: 10 commits2026-03-24: 3 commits2026-03-25: 9 commits2026-03-26: 15 commits2026-03-27: 2 commits2026-03-28: 0 commits2026-03-29: 0 commits2026-03-30: 2 commits2026-03-31: 7 commits2026-04-01: 8 commits2026-04-02: 31 commits2026-04-03: 7 commits2026-04-04: 0 commits2026-04-05: 5 commits2026-04-06: 8 commits2026-04-07: 4 commits2026-04-08: 9 commits2026-04-09: 8 commits2026-04-10: 10 commits2026-04-11: 0 commits2026-04-12: 10 commits2026-04-13: 13 commits2026-04-14: 3 commits2026-04-15: 7 commits2026-04-16: 77 commits2026-04-17: 16 commits2026-04-18: 39 commits2026-04-19: 4 commits2026-04-20: 9 commits2026-04-21: 3 commits2026-04-22: 5 commits2026-04-23: 1 commit2026-04-24: 10 commits2026-04-25: 1 commit2026-04-26: 0 commits2026-04-27: 4 commits2026-04-28: 8 commits2026-04-29: 11 commits2026-04-30: 5 commits2026-05-01: 0 commits2026-05-02: 3 commits2026-05-03: 9 commits2026-05-04: 4 commits2026-05-05: 6 commits2026-05-06: 3 commits2026-05-07: 5 commits2026-05-08: 4 commits2026-05-09: 2 commits2026-05-10: 0 commits2026-05-11: 8 commits2026-05-12: 11 commits2026-05-13: 17 commits2026-05-14: 9 commits2026-05-15: 18 commits2026-05-16: 3 commits2026-05-17: 1 commit2026-05-18: 8 commits2026-05-19: 5 commits2026-05-20: 11 commits2026-05-21: 14 commits2026-05-22: 31 commits2026-05-23: 5 commits2026-05-24: 3 commits2026-05-25: 5 commits2026-05-26: 33 commits2026-05-27: 9 commits2026-05-28: 25 commits2026-05-29: 9 commits2026-05-30: 3 commits2026-05-31: 2 commits2026-06-01: 6 commits2026-06-02: 7 commits2026-06-03: 13 commits2026-06-04: 59 commits2026-06-05: 54 commits2026-06-06: 1 commit2026-06-07: 2 commits2026-06-08: 16 commits2026-06-09: 13 commits2026-06-10: 17 commits2026-06-11: 7 commits2026-06-12: 9 commits2026-06-13: 6 commits2026-06-14: 4 commits2026-06-15: 18 commits2026-06-16: 13 commits2026-06-17: 6 commits2026-06-18: 10 commits2026-06-19: 7 commits2026-06-20: 25 commits2026-06-21: 1 commit2026-06-22: 4 commits2026-06-23: 13 commits2026-06-24: 19 commits2026-06-25: 2 commits2026-06-26: 2 commits2026-06-27: 0 commits2026-06-28: 0 commits2026-06-29: 9 commits2026-06-30: 12 commits2026-07-01: 18 commits2026-07-02: 9 commits2026-07-03: 2 commits2026-07-04: 1 commit2026-07-05: 3 commits2026-07-06: 6 commits2026-07-07: 3 commits2026-07-08: 7 commits2026-07-09: 3 commits2026-07-10: 6 commits2026-07-11: 13 commits2026-07-12: 11 commits2026-07-13: 14 commits2026-07-14: 19 commits2026-07-15: 17 commits2026-07-16: 8 commits2026-07-17: 7 commits2026-07-18: 14 commits2026-07-19: 14 commits2026-07-20: 2 commits2026-07-21: 4 commits2026-07-22: 7 commits2026-07-23: 3 commits2026-07-24: 2 commits2026-07-25: 1 commit2026-07-26: 0 commits2026-07-27: 13 commits2026-07-28: 64 commits2026-07-29: 25 commits2026-07-30: 18 commits2026-07-31: 0 commits2026-08-01: 1 commit2026-08-02: 1 commit2026-08-03: 3 commits2026-08-04: 9 commits2026-08-05: 16 commits2026-08-06: 24 commits2026-08-07: 27 commits2026-08-08: 1 commit2026-08-09: 0 commits2026-08-10: 30 commits2026-08-11: 20 commits2026-08-12: 15 commits2026-08-13: 37 commits2026-08-14: 35 commits2026-08-15: 3 commits2026-08-16: 5 commits2026-08-17: 14 commits2026-08-18: 21 commits2026-08-19: 29 commits2026-08-20: 28 commits2026-08-21: 20 commits2026-08-22: 8 commits2026-08-23: 5 commits2026-08-24: 33 commits2026-08-25: 46 commits2026-08-26: 32 commits2026-08-27: 24 commits2026-08-28: 13 commits2026-08-29: 0 commits2026-08-30: 1 commit2026-08-31: 15 commits2026-09-01: 11 commits2026-09-02: 7 commits2026-09-03: 42 commits2026-09-04: 13 commits2026-09-05: 1 commit2026-09-06: 0 commits2026-09-07: 5 commits2026-09-08: 18 commits2026-09-09: 24 commits2026-09-10: 20 commits2026-09-11: 20 commits2026-09-12: 0 commits2026-09-13: 0 commits2026-09-14: 26 commits2026-09-15: 4 commits2026-09-16: 12 commits2026-09-17: 22 commits2026-09-18: 1 commit2026-09-19: 1 commit2026-09-20: 0 commits2026-09-21: 1 commit2026-09-22: 3 commits2026-09-23: 10 commits2026-09-24: 7 commits2026-09-25: 1 commit2026-09-26: 0 commits2026-09-27: 0 commits2026-09-28: 44 commits2026-09-29: 45 commits2026-09-30: 17 commits2026-10-01: 111 commits2026-10-02: 20 commits2026-10-03: 1 commit2026-10-04: 0 commits2026-10-05: 26 commits2026-10-06: 25 commits2026-10-07: 11 commits2026-10-08: 25 commits2026-10-09: 32 commits2026-10-10: 5 commits2026-10-11: 0 commits2026-10-12: 53 commits2026-10-13: 28 commits2026-10-14: 38 commits2026-10-15: 40 commits2026-10-16: 15 commits2026-10-17: 5 commits2026-10-18: 4 commits2026-10-19: 42 commits2026-10-20: 14 commits2026-10-21: 31 commits2026-10-22: 9 commits2026-10-23: 20 commits2026-10-24: 3 commits2026-10-25: 5 commits2026-10-26: 16 commits2026-10-27: 12 commits2026-10-28: 13 commits2026-10-29: 3 commits2026-10-30: 4 commits2026-10-31: 1 commit2026-11-01: 0 commits2026-11-02: 14 commits2026-11-03: 33 commits2026-11-04: 27 commits2026-11-05: 11 commits2026-11-06: 5 commits2026-11-07: 7 commits2026-11-08: 0 commits2026-11-09: 8 commits2026-11-10: 5 commits2026-11-11: 22 commits2026-11-12: 4 commits2026-11-13: 3 commits2026-11-14: 1 commit2026-11-15: 0 commits2026-11-16: 32 commits2026-11-17: 11 commits2026-11-18: 2 commits2026-11-19: 2 commits2026-11-20: 1 commit2026-11-21: 8 commits2026-11-22: 0 commits2026-11-23: 3 commits2026-11-24: 0 commits2026-11-25: 0 commits2026-11-26: 0 commits2026-11-27: 22 commits2026-11-28: 0 commits2026-11-29: 0 commits2026-11-30: 0 commits2026-12-01: 0 commits2026-12-02: 0 commits2026-12-03: 0 commits2026-12-04: 0 commits2026-12-05: 0 commits
3,375 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Widely adopted

    22,463 stars

  • Very active

    3,375 commits in 52 weeks

  • Community-driven

    ~195 contributors

  • Well documented

    High community health score

  • Permissive license

    MIT

  • Continuous integration

    Automated checks passing

  • Repeat trending

    19 trending appearances

What ag-ui does

AG-UI solves the lack of a common contract for streaming agent events to front‑end applications. It defines ~16 standard event types and a minimal set of inputs that agent backends can emit or accept. The protocol is transport‑agnostic, working over SSE, WebSockets, webhooks or any custom channel. A reference HTTP implementation and default connector let teams bootstrap an integration in minutes. Its middleware layer provides loose event format matching, enabling interoperability across diverse agent frameworks and UI stacks.

Frontend developers and AI engineers building interactive agent‑powered applications. Requires familiarity with TypeScript/JavaScript and event‑driven architectures. Ideal for teams that need a lightweight, cross‑framework contract for real‑time agent communication.

  • Standard event schema: Defines about sixteen interoperable event types for agent‑to‑UI communication.
  • Transport agnostic: Works with SSE, WebSockets, webhooks or custom transports without code changes.
  • Bi‑directional state sync: Keeps UI state and agent context synchronized in real time.
  • Generative UI messages: Supports structured and UI‑rich payloads that can render dynamic components.
  • Middleware layer: Performs loose format matching and compatibility adaptation across frameworks.

Where teams use it

In‑app AI assistants

Developers embed conversational agents directly into web or mobile apps, using AG‑UI to stream chat and UI updates without building custom protocols.

Customer support chatbots

Support teams deploy AI‑driven bots that exchange events with the support UI, enabling real‑time context enrichment and handoff to human agents.

Tool‑augmented IDE extensions

IDE plugins use AG‑UI to synchronize code suggestions, tool usage, and user actions, providing a seamless human‑in‑the‑loop experience.

Real‑time data dashboards with AI insights

Analytics dashboards integrate agents that push streaming insights and UI widgets, keeping visualizations in sync with live data.

Multi‑agent collaboration tools

Platforms that coordinate several agents leverage AG‑UI to share state and events across agents and the collaborative UI layer.

Getting started: npx create-ag-ui-app my-agent-app

README

main branch

AG-UI

The open protocol that connects any agent to any app.

npm version npm weekly downloads PyPI version Discord License: MIT

Docs · Examples · Spec · Discord

Running AG-UI in production? Talk to the team

ag-ui-protocol%2Fag-ui | Trendshift


AG-UI is an open, lightweight, event-based protocol that standardizes how AI agents connect to user-facing applications.

Agents don't fit the request/response model. They stream tokens, call tools mid-response, update shared state, pause for a human, and spawn subagents, and every framework does it differently. AG-UI replaces that custom wiring with one bi-directional event stream: the agent emits typed events, and any client can render them, no matter which framework built the agent. The same agent can power a web app, a mobile app, a terminal, or Slack.

AG-UI connects any agent to any app: web apps, mobile, Slack and Teams, and terminal clients connect bi-directionally through AG-UI to agents built with LangChain, CrewAI, Mastra, Google ADK, Microsoft Agent Framework, Pydantic AI or any framework, with streaming chat, generative UI, shared state, human in the loop, frontend tools and subagents; AG-UI works alongside MCP for tools and A2A for agents.

Important

AG-UI 1.0 is here. The protocol now has a stable, frozen specification backed by a JSON Schema, and the TypeScript, Python, and .NET SDKs are generated from it. 1.0 is backwards compatible in both directions: 0.x agents work with 1.0 clients and vice versa. What changed → · Migration guide →

Quick start

Start a new app. The CLI scaffolds a frontend (CopilotKit on Next.js, or a terminal client) wired to the agent framework you pick:

npx create-ag-ui-app@latest

Then follow the printed next steps. The generated templates call OpenAI, so set your key before npm run dev:

export OPENAI_API_KEY="sk-..."
Or speak the protocol directly: a 30-line agent server and client

An AG-UI agent is any HTTP endpoint that accepts a RunAgentInput and streams events back. No API keys needed for this one.

1. The agent (Python). Requires Python 3.9+.

pip install ag-ui-protocol fastapi uvicorn
# server.py
import uuid

from fastapi import FastAPI, Request
from fastapi.responses import StreamingResponse
from ag_ui.core import (
    PROTOCOL_VERSION,
    RunAgentInput,
    RunStartedEvent,
    RunFinishedEvent,
    TextMessageStartEvent,
    TextMessageContentEvent,
    TextMessageEndEvent,
)
from ag_ui.encoder import EventEncoder

app = FastAPI()

@app.post("/")
async def run_agent(input_data: RunAgentInput, request: Request):
    encoder = EventEncoder(accept=request.headers.get("accept"))

    async def events():
        yield encoder.encode(RunStartedEvent(
            thread_id=input_data.thread_id,
            run_id=input_data.run_id,
            protocol_version=PROTOCOL_VERSION,
        ))
        message_id = str(uuid.uuid4())
        yield encoder.encode(TextMessageStartEvent(message_id=message_id, role="assistant"))
        for chunk in ["Hello ", "from ", "AG-UI!"]:
            yield encoder.encode(TextMessageContentEvent(message_id=message_id, delta=chunk))
        yield encoder.encode(TextMessageEndEvent(message_id=message_id))
        yield encoder.encode(RunFinishedEvent(thread_id=input_data.thread_id, run_id=input_data.run_id))

    return StreamingResponse(events(), media_type=encoder.get_content_type())
uvicorn server:app --port 8000

2. The client (TypeScript). In a second terminal, in a new folder. Requires Node.js 20+.

npm init -y && npm pkg set type=module
npm install @ag-ui/client tsx
// client.ts
import { HttpAgent } from "@ag-ui/client";

const agent = new HttpAgent({ url: "http://localhost:8000/" });

agent.addMessage({ id: crypto.randomUUID(), role: "user", content: "Hi there!" });

await agent.runAgent({}, {
  onRunStartedEvent: ({ event }) => console.log(`run started (AG-UI ${event.protocolVersion})`),
  onTextMessageContentEvent: ({ event }) => { process.stdout.write(event.delta); },
  onRunFinishedEvent: () => console.log("\nrun finished"),
});
npx tsx client.ts

You should see Hello from AG-UI! stream in. Swap the server for any supported framework and the client doesn't change.

Where AG-UI fits

Diagram showing where AG-UI fits: a user works in your app, which connects to your agent through AG-UI (agent to user), while the agent reaches tools and data through MCP and other agents through A2A; a single agent often uses all three.

AG-UI is one of three open, complementary agentic protocols. MCP gives agents tools and context, A2A lets agents work with other agents, and AG-UI brings agents to users. A single agent often uses all three, and AG-UI can front agents that speak MCP or A2A. Read more →

Note

AG-UI or A2UI? They work together. A2UI, MCP Apps, and Open-JSON-UI are generative UI specs: they describe what UI an agent wants to show. AG-UI is the runtime protocol that carries those payloads, along with everything else, between the agent and the app. Learn more →

Integrations

AG-UI is adopted by Google, Microsoft, Amazon, and Oracle, and built into most agent frameworks. Every framework below has a live demo in the Dojo.

LangChain logo
LangChain
Docs · Demo
CrewAI logo
CrewAI
Docs · Demo
Microsoft Agent Framework logo
Microsoft Agent Framework
Docs · Demo
Google ADK logo
Google ADK
Docs · Demo
AWS Strands Agents logo
AWS Strands Agents
Docs · Demo
Mastra logo
Mastra
Docs · Demo
Pydantic AI logo
Pydantic AI
Docs · Demo
LlamaIndex logo
LlamaIndex
Docs · Demo
Agno logo
Agno
Docs · Demo
AG2 logo
AG2
Docs · Demo
Claude Agent SDK logo
Claude Agent SDK
Docs · Demo

+11 more
Antigravity, OpenAI Agents, watsonx, Spring AI, and others in the full list

Protocols: A2A · MCP · MCP Apps · A2UI
Clients: CopilotKit (React, Angular, Vue, React Native) · Slack & Teams · Terminal · OpenBot

Don't see your framework? Build an integration →

Full list of integrations

Show all integrations

Source for every integration lives in integrations/ and middlewares/, and the demos in apps/dojo.

SDKs

Language Install Reference
TypeScript npm install @ag-ui/client Docs · Source
Python pip install ag-ui-protocol Docs · Source
.NET dotnet add package AGUI.Client Docs · Source

Community SDKs: Kotlin · Go · Java · Dart · Rust · Ruby · C++ · Swift

Features: what you can build

Each building block maps to events in the spec, and each has a live demo in the AG-UI Dojo.

Building block What it does Try it
Streaming chat Token-by-token messages across multi-turn sessions, with cancel and resume Demo
Generative UI Agents render typed components, or declarative UI with A2UI and MCP Apps Demo
Shared state A typed store the agent and app both read and write, synced with snapshots and JSON Patch deltas Demo
Frontend tools The agent calls tools that run in the app, and gets the result back Demo
Human in the loop Runs end with an interrupt outcome; the user approves, edits, or rejects, and the next run resumes Demo
Reasoning Show the agent's reasoning as it works, including encrypted reasoning round-trips Demo
Subagents Nested delegation, with every event attributed to the subagent run that produced it Demo
Multimodal Images, audio, video, and documents in user input and tool results Demo

Tool output streaming, backend tool rendering, activity progress, token usage, and custom events are covered in the docs. Here's a quick tour of the Dojo:

dojo.mp4

How it works

Diagram of how AG-UI works: your app (CopilotKit, React, mobile, terminal, Slack or any client) sends a single RunAgentInput with messages, tools, state and context to your agent (LangChain, CrewAI, Mastra, Google ADK, Pydantic AI or any framework), and the agent streams back typed AG-UI events for lifecycle, text messages, tool calls, state, reasoning, activity, subagents, and custom and raw data, over any transport such as SSE, WebSockets or HTTP binary (Protobuf).

Your app starts a run by sending the agent a single RunAgentInput: the conversation, the tools the frontend offers, shared state, and context. The agent answers with a stream of typed events from eight families: run lifecycle, text messages, tool calls, state, reasoning, activity, subagents, and custom events (full list). Only the run lifecycle is required, so a minimal agent emits a handful of events and grows from there.

AG-UI is transport-agnostic. The spec defines HTTP + SSE and a binary HTTP + Protobuf binding, and middleware can adapt events from any source. Read the architecture overview for the full picture.

Event reference

AG-UI 1.0 defines 31 event types in eight families. See the spec for every field.

Event family Events
Runs and steps RUN_STARTED RUN_FINISHED RUN_ERROR STEP_STARTED STEP_FINISHED
Text messages TEXT_MESSAGE_START TEXT_MESSAGE_CONTENT TEXT_MESSAGE_END TEXT_MESSAGE_CHUNK
Tool calls TOOL_CALL_START TOOL_CALL_ARGS TOOL_CALL_END TOOL_CALL_RESULT TOOL_CALL_CHUNK
State STATE_SNAPSHOT STATE_DELTA (JSON Patch) MESSAGES_SNAPSHOT
Reasoning REASONING_START REASONING_MESSAGE_* REASONING_ENCRYPTED_VALUE REASONING_END
Activity ACTIVITY_SNAPSHOT ACTIVITY_DELTA
Subagents SUBAGENT_STARTED SUBAGENT_FINISHED SUBAGENT_ERROR
Passthrough RAW CUSTOM

Community

Contributing

Contributions are welcome: new integrations, SDKs, docs, and fixes. Start with CONTRIBUTING.md, and use the server starter and middleware starter as templates for new integrations. Report security issues as described in SECURITY.md.

AG-UI was created by CopilotKit and is developed in the open with the community.

License

AG-UI is open source under the MIT License.

View on GitHub

Recent activity

commits and pull requests

Releases and announcements

81 total
  1. Release 2026-11-27release/2026-11-27Nov 27, 2026

    ## Packages Published ### TypeScript (npm) - published at 22:38:33 UTC | Package | Version | Install | |---------|---------|--------| | @ag-ui/mastra | 2.1.0 | `npm install @ag-ui/mastra@2.1.0` | #### @ag-ui/mastra@2.1.0 - Added `registerCopilotKit` entry at `@ag-ui/mastra/copilotkit-2` for CopilotKit 2.x, importing the runtime from `@copilotkit/runtime` instead of the removed `@copilotkit/runtime/v2`. - Both CopilotKit entries share one route implementation, so routes behave identically. - Optional peer dependency now accepts `^1.76.0` or 2.x. - Adapter version is now declared in capabilities identity. - Added per-run guidance and capability discovery. In-process agents on supported Mastra versions enable run guidance by default. [Run guidance setup](https://github.com/ag-ui-protocol/ag-ui/blob/4ac19c6da6b816c9bc424e995ac349b994ece0b8/integrations/mastra/typescript/README.md#per-run-guidance) ##### Breaking changes - If a custom tool or prompt callback on an in-process agent reads `OpenBot standing role` or `OpenBot granted tools guidance` from `requestContext.get("ag-ui").context`, set `runGuidance: false` to keep those entries available to that callback. When guidance is ena

  2. Release 2026-11-21release/2026-11-21Nov 21, 2026

    ## Packages Published ### TypeScript (npm) - published at 18:04:23 UTC | Package | Version | Install | |---------|---------|--------| | @ag-ui/langgraph | 0.0.47 | `npm install @ag-ui/langgraph@0.0.47` | #### @ag-ui/langgraph@0.0.47 - Added a `durability` agent option; the adapter sends it with runs and uses it to read boundary checkpoints instead of a client-controlled `forwardedProps.durability`. - Client `forwardedProps` now reach `runs.stream` only via an allowlist (`streamSubgraphs`, `durability`); `context`, `checkpoint`, `checkpointId` and others are dropped with a warning. - `forwardedProps.config` is no longer merged over `assistantConfig`; `forwardedProps.command` accepts only `resume` (`goto`/`update` dropped with a warning). - Continue mode now resumes only from the node that thread history shows ran in the latest step, using it as `asNode`, and filters client state by the graph input schema. - A continue that would change an input channel now starts a new run so prior gates re-evaluate the changed input. - A continue that proceeds unchanged no longer writes client state, avoiding reducer channels (e.g. `operator.add`) doubling stored values. - Fixed a pending interru

  3. Release 2026-11-17release/2026-11-17Nov 17, 2026

    ## Packages Published ### TypeScript (npm) - published at 16:18:39 UTC | Package | Version | Install | |---------|---------|--------| | @ag-ui/client | 1.0.5 | `npm install @ag-ui/client@1.0.5` | | @ag-ui/core | 1.0.5 | `npm install @ag-ui/core@1.0.5` | | @ag-ui/encoder | 1.0.5 | `npm install @ag-ui/encoder@1.0.5` | | @ag-ui/proto | 1.0.5 | `npm install @ag-ui/proto@1.0.5` | #### @ag-ui/client@1.0.5 - `compactEvents` now preserves message order and snapshot boundaries across overlapping streams, fixing swapped parallel tool calls and deltas overwritten by mid-stream snapshots. - Events arriving between overlapping streams now keep their arrival order, avoiding `STEP_STARTED`/`STEP_FINISHED` sequences rejected by `verifyEvents`. - Reasoning message deltas (`REASONING_MESSAGE_CONTENT`) are now compacted like text messages, greatly reducing stored history size. - Large replayed threads apply much faster via a `MessageLookup` index replacing full-list scans by message and tool call id. - `AbstractAgent.clone()` now copies `resolvingPeerCeiling`, so clones retain all own fields. - Enforcement now rejects missing, non-string, or inherited union discriminators. ##### Breaking changes

  4. Release 2026-11-13release/2026-11-13Nov 13, 2026

    ## Packages Published ### TypeScript (npm) - published at 21:01:19 UTC | Package | Version | Install | |---------|---------|--------| | @ag-ui/langgraph | 0.0.46 | `npm install @ag-ui/langgraph@0.0.46` | #### @ag-ui/langgraph@0.0.46 - Read LangGraph's native `Interrupt.response_schema` field (langgraph >= 1.2.12), falling back to value-level `responseSchema`/`response_schema` keys. - Unwrap LangChain-serialized `ToolMessage` outputs under `kwargs` on tool end so tool calls and results emit correctly. - Skip `on_tool_end` outputs with no tool call id instead of throwing or emitting events with an undefined id. - Declare `protocolVersion` on `RUN_STARTED` events. - Refreshed Gemini thinking demos. ##### Breaking changes - `@ag-ui/client` and related peer dependencies now require >=1.0.0; `utils.ts` uses `contentToText`/`contentHasMedia`, which only exist in 1.0. <!-- ag-ui-published: @ag-ui/langgraph@0.0.46 -->

  5. Release 2026-11-12release/2026-11-12Nov 12, 2026

    ## Packages Published ### TypeScript (npm) - published at 01:54:53 UTC | Package | Version | Install | |---------|---------|--------| | @ag-ui/claude-agent-sdk | 0.0.9 | `npm install @ag-ui/claude-agent-sdk@0.0.9` | | @ag-ui/a2ui-middleware | 0.0.16 | `npm install @ag-ui/a2ui-middleware@0.0.16` | #### @ag-ui/claude-agent-sdk@0.0.9 - Fixed `clone()` of `ClaudeAgentAdapter`, which previously lacked state maps and threw "Cannot read properties of undefined (reading 'has')" in hosts that clone agents per request, such as CopilotKit runtime. - Clones now share per-thread state (bindings, admitted, activeQueries, sessions) with the original. - Frontend tool parameter schemas are now converted from JSON Schema recursively, preserving nested object properties, array item schemas, required fields, enums, const, nullable/union types and descriptions. - Nested objects no longer strip undeclared keys during parsing. - Preserved raw frontend outcomes during native recovery and replay saved tool results after executor failure. - Preserved final assistant identity without streaming and reconciled superseded recovery deliveries. - Accept public interrupt answers and saved-result retries. - Recov

Code frequency

additions and deletions
+396.1K-396.1KWeek of 2025-12-07: +3,683 linesWeek of 2025-12-07: -101 linesWeek of 2025-12-14: +16,600 linesWeek of 2025-12-14: -4,852 linesWeek of 2025-12-21: +6,087 linesWeek of 2025-12-21: -260 linesWeek of 2025-12-28: +1,421 linesWeek of 2025-12-28: -391 linesWeek of 2026-01-04: +9,386 linesWeek of 2026-01-04: -1,893 linesWeek of 2026-01-11: +5,737 linesWeek of 2026-01-11: -3,577 linesWeek of 2026-01-18: +2,779 linesWeek of 2026-01-18: -1,561 linesWeek of 2026-01-25: +5,009 linesWeek of 2026-01-25: -1,248 linesWeek of 2026-02-01: +24,079 linesWeek of 2026-02-01: -25,424 linesWeek of 2026-02-08: +6,271 linesWeek of 2026-02-08: -1,805 linesWeek of 2026-02-15: +8,108 linesWeek of 2026-02-15: -6,952 linesWeek of 2026-02-22: +10,105 linesWeek of 2026-02-22: -1,546 linesWeek of 2026-03-01: +26,314 linesWeek of 2026-03-01: -20,995 linesWeek of 2026-03-08: +27,103 linesWeek of 2026-03-08: -5,612 linesWeek of 2026-03-15: +771 linesWeek of 2026-03-15: -279 linesWeek of 2026-03-22: +4,467 linesWeek of 2026-03-22: -1,897 linesWeek of 2026-03-29: +40,219 linesWeek of 2026-03-29: -6,773 linesWeek of 2026-04-05: +14,999 linesWeek of 2026-04-05: -6,193 linesWeek of 2026-04-12: +107,840 linesWeek of 2026-04-12: -7,740 linesWeek of 2026-04-19: +11,810 linesWeek of 2026-04-19: -2,923 linesWeek of 2026-04-26: +32,989 linesWeek of 2026-04-26: -20,339 linesWeek of 2026-05-03: +12,800 linesWeek of 2026-05-03: -4,146 linesWeek of 2026-05-10: +12,168 linesWeek of 2026-05-10: -2,563 linesWeek of 2026-05-17: +13,830 linesWeek of 2026-05-17: -2,624 linesWeek of 2026-05-24: +28,885 linesWeek of 2026-05-24: -3,419 linesWeek of 2026-05-31: +18,380 linesWeek of 2026-05-31: -2,302 linesWeek of 2026-06-07: +20,404 linesWeek of 2026-06-07: -8,066 linesWeek of 2026-06-14: +240,441 linesWeek of 2026-06-14: -2,953 linesWeek of 2026-06-21: +11,919 linesWeek of 2026-06-21: -2,943 linesWeek of 2026-06-28: +21,225 linesWeek of 2026-06-28: -36,315 linesWeek of 2026-07-05: +17,751 linesWeek of 2026-07-05: -3,431 linesWeek of 2026-07-12: +15,980 linesWeek of 2026-07-12: -9,322 linesWeek of 2026-07-19: +22,672 linesWeek of 2026-07-19: -4,978 linesWeek of 2026-07-26: +48,622 linesWeek of 2026-07-26: -12,621 linesWeek of 2026-08-02: +26,109 linesWeek of 2026-08-02: -4,742 linesWeek of 2026-08-09: +111,467 linesWeek of 2026-08-09: -18,871 linesWeek of 2026-08-16: +396,081 linesWeek of 2026-08-16: -13,015 linesWeek of 2026-08-23: +69,166 linesWeek of 2026-08-23: -9,819 linesWeek of 2026-08-30: +68,992 linesWeek of 2026-08-30: -21,129 linesWeek of 2026-09-06: +50,158 linesWeek of 2026-09-06: -221,726 linesWeek of 2026-09-13: +113,901 linesWeek of 2026-09-13: -34,795 linesWeek of 2026-09-20: +6,884 linesWeek of 2026-09-20: -2,116 linesWeek of 2026-09-27: +116,433 linesWeek of 2026-09-27: -184,232 linesWeek of 2026-10-04: +16,147 linesWeek of 2026-10-04: -7,554 linesWeek of 2026-10-11: +35,671 linesWeek of 2026-10-11: -13,475 linesWeek of 2026-10-18: +30,686 linesWeek of 2026-10-18: -3,581 linesWeek of 2026-10-25: +7,828 linesWeek of 2026-10-25: -1,432 linesWeek of 2026-11-01: +21,897 linesWeek of 2026-11-01: -4,885 linesWeek of 2026-11-08: +24,039 linesWeek of 2026-11-08: -11,523 linesWeek of 2026-11-15: +8,020 linesWeek of 2026-11-15: -1,325 linesWeek of 2026-11-22: +3,208 linesWeek of 2026-11-22: -491 linesWeek of 2026-11-29: +0 linesWeek of 2026-11-29: -0 linesDec 7, 2025Nov 29, 2026
+2M lines added, -772.8K removed over the last year.

Commits per week

last 52 weeks
2380Week of 2025-12-07: 17 commitsWeek of 2025-12-14: 27 commitsWeek of 2025-12-21: 13 commitsWeek of 2025-12-28: 9 commitsWeek of 2026-01-04: 14 commitsWeek of 2026-01-11: 17 commitsWeek of 2026-01-18: 11 commitsWeek of 2026-01-25: 18 commitsWeek of 2026-02-01: 33 commitsWeek of 2026-02-08: 21 commitsWeek of 2026-02-15: 24 commitsWeek of 2026-02-22: 29 commitsWeek of 2026-03-01: 74 commitsWeek of 2026-03-08: 43 commitsWeek of 2026-03-15: 21 commitsWeek of 2026-03-22: 40 commitsWeek of 2026-03-29: 55 commitsWeek of 2026-04-05: 44 commitsWeek of 2026-04-12: 165 commitsWeek of 2026-04-19: 33 commitsWeek of 2026-04-26: 31 commitsWeek of 2026-05-03: 33 commitsWeek of 2026-05-10: 66 commitsWeek of 2026-05-17: 75 commitsWeek of 2026-05-24: 87 commitsWeek of 2026-05-31: 142 commitsWeek of 2026-06-07: 70 commitsWeek of 2026-06-14: 83 commitsWeek of 2026-06-21: 41 commitsWeek of 2026-06-28: 51 commitsWeek of 2026-07-05: 41 commitsWeek of 2026-07-12: 90 commitsWeek of 2026-07-19: 33 commitsWeek of 2026-07-26: 121 commitsWeek of 2026-08-02: 81 commitsWeek of 2026-08-09: 140 commitsWeek of 2026-08-16: 125 commitsWeek of 2026-08-23: 153 commitsWeek of 2026-08-30: 90 commitsWeek of 2026-09-06: 87 commitsWeek of 2026-09-13: 66 commitsWeek of 2026-09-20: 22 commitsWeek of 2026-09-27: 238 commitsWeek of 2026-10-04: 124 commitsWeek of 2026-10-11: 179 commitsWeek of 2026-10-18: 123 commitsWeek of 2026-10-25: 54 commitsWeek of 2026-11-01: 97 commitsWeek of 2026-11-08: 43 commitsWeek of 2026-11-15: 56 commitsWeek of 2026-11-22: 25 commitsWeek of 2026-11-29: 0 commitsDec 7, 2025Nov 29, 2026
3.4K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 5 commitsSun 1:00 — 2 commitsSun 2:00 — 2 commitsSun 3:00 — 8 commitsSun 4:00 — 1 commitsSun 5:00 — 7 commitsSun 6:00 — 0 commitsSun 7:00 — 3 commitsSun 8:00 — 1 commitsSun 9:00 — 9 commitsSun 10:00 — 0 commitsSun 11:00 — 4 commitsSun 12:00 — 4 commitsSun 13:00 — 6 commitsSun 14:00 — 7 commitsSun 15:00 — 7 commitsSun 16:00 — 6 commitsSun 17:00 — 20 commitsSun 18:00 — 7 commitsSun 19:00 — 3 commitsSun 20:00 — 3 commitsSun 21:00 — 8 commitsSun 22:00 — 1 commitsSun 23:00 — 8 commitsMon 0:00 — 5 commitsMon 1:00 — 2 commitsMon 2:00 — 2 commitsMon 3:00 — 3 commitsMon 4:00 — 1 commitsMon 5:00 — 2 commitsMon 6:00 — 1 commitsMon 7:00 — 6 commitsMon 8:00 — 7 commitsMon 9:00 — 23 commitsMon 10:00 — 44 commitsMon 11:00 — 56 commitsMon 12:00 — 55 commitsMon 13:00 — 75 commitsMon 14:00 — 65 commitsMon 15:00 — 83 commitsMon 16:00 — 83 commitsMon 17:00 — 54 commitsMon 18:00 — 26 commitsMon 19:00 — 25 commitsMon 20:00 — 22 commitsMon 21:00 — 32 commitsMon 22:00 — 19 commitsMon 23:00 — 26 commitsTue 0:00 — 29 commitsTue 1:00 — 13 commitsTue 2:00 — 4 commitsTue 3:00 — 4 commitsTue 4:00 — 3 commitsTue 5:00 — 3 commitsTue 6:00 — 9 commitsTue 7:00 — 9 commitsTue 8:00 — 17 commitsTue 9:00 — 30 commitsTue 10:00 — 37 commitsTue 11:00 — 74 commitsTue 12:00 — 89 commitsTue 13:00 — 48 commitsTue 14:00 — 51 commitsTue 15:00 — 67 commitsTue 16:00 — 63 commitsTue 17:00 — 56 commitsTue 18:00 — 38 commitsTue 19:00 — 28 commitsTue 20:00 — 27 commitsTue 21:00 — 11 commitsTue 22:00 — 17 commitsTue 23:00 — 20 commitsWed 0:00 — 13 commitsWed 1:00 — 4 commitsWed 2:00 — 3 commitsWed 3:00 — 3 commitsWed 4:00 — 1 commitsWed 5:00 — 6 commitsWed 6:00 — 18 commitsWed 7:00 — 8 commitsWed 8:00 — 14 commitsWed 9:00 — 50 commitsWed 10:00 — 44 commitsWed 11:00 — 68 commitsWed 12:00 — 69 commitsWed 13:00 — 44 commitsWed 14:00 — 59 commitsWed 15:00 — 59 commitsWed 16:00 — 64 commitsWed 17:00 — 68 commitsWed 18:00 — 27 commitsWed 19:00 — 27 commitsWed 20:00 — 26 commitsWed 21:00 — 17 commitsWed 22:00 — 20 commitsWed 23:00 — 21 commitsThu 0:00 — 15 commitsThu 1:00 — 20 commitsThu 2:00 — 21 commitsThu 3:00 — 9 commitsThu 4:00 — 4 commitsThu 5:00 — 8 commitsThu 6:00 — 5 commitsThu 7:00 — 19 commitsThu 8:00 — 12 commitsThu 9:00 — 28 commitsThu 10:00 — 74 commitsThu 11:00 — 65 commitsThu 12:00 — 47 commitsThu 13:00 — 61 commitsThu 14:00 — 87 commitsThu 15:00 — 99 commitsThu 16:00 — 77 commitsThu 17:00 — 94 commitsThu 18:00 — 42 commitsThu 19:00 — 69 commitsThu 20:00 — 23 commitsThu 21:00 — 14 commitsThu 22:00 — 28 commitsThu 23:00 — 21 commitsFri 0:00 — 18 commitsFri 1:00 — 9 commitsFri 2:00 — 1 commitsFri 3:00 — 0 commitsFri 4:00 — 2 commitsFri 5:00 — 1 commitsFri 6:00 — 5 commitsFri 7:00 — 17 commitsFri 8:00 — 16 commitsFri 9:00 — 57 commitsFri 10:00 — 48 commitsFri 11:00 — 38 commitsFri 12:00 — 52 commitsFri 13:00 — 59 commitsFri 14:00 — 85 commitsFri 15:00 — 53 commitsFri 16:00 — 66 commitsFri 17:00 — 48 commitsFri 18:00 — 33 commitsFri 19:00 — 17 commitsFri 20:00 — 14 commitsFri 21:00 — 14 commitsFri 22:00 — 3 commitsFri 23:00 — 5 commitsSat 0:00 — 17 commitsSat 1:00 — 14 commitsSat 2:00 — 17 commitsSat 3:00 — 8 commitsSat 4:00 — 1 commitsSat 5:00 — 0 commitsSat 6:00 — 3 commitsSat 7:00 — 6 commitsSat 8:00 — 3 commitsSat 9:00 — 4 commitsSat 10:00 — 4 commitsSat 11:00 — 6 commitsSat 12:00 — 13 commitsSat 13:00 — 21 commitsSat 14:00 — 7 commitsSat 15:00 — 2 commitsSat 16:00 — 13 commitsSat 17:00 — 20 commitsSat 18:00 — 11 commitsSat 19:00 — 7 commitsSat 20:00 — 10 commitsSat 21:00 — 7 commitsSat 22:00 — 3 commitsSat 23:00 — 4 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.
DateListRankStars gained
Dec 2, 2026weekly#9+883
Dec 1, 2026weekly#9+1,035
Nov 30, 2026weekly#9+1,035
Nov 29, 2026weekly#9+1,105
Nov 28, 2026weekly#9+1,185
Nov 27, 2026weekly#9+1,269
Nov 26, 2026weekly#9+1,421
Nov 25, 2026weekly#9+1,753
Nov 24, 2026weekly#8+2,966
Nov 23, 2026weekly#8+3,620
Nov 22, 2026weekly#8+3,792
Nov 21, 2026weekly#8+3,621
Nov 20, 2026weekly#8+3,455
Nov 19, 2026weekly#8+3,221
Nov 18, 2026daily#8+1,444
  • morluto/rea

    Reverse engineer anything with agents, from app behavior down to native binaries.

    486.9K stars · TypeScript

  • freeCodeCamp/freeCodeCamp

    freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

    459.9K stars · TypeScript

  • openclaw/openclaw

    The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

    395.6K stars · TypeScript

  • affaan-m/ECC

    The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

    315K stars · JavaScript

  • NousResearch/hermes-agent

    The agent that grows with you

    267.7K stars · Python

  • anomalyco/opencode

    The open source coding agent.

    230.6K stars · TypeScript