// devtools · ag-ui-protocol/ag-ui

ag-ui

ag-ui — проект с открытым исходным кодом из категории «Инструменты разработчика» от ag-ui-protocol (ag-ui-protocol/ag-ui на GitHub). У него 16 391 звезда на GitHub и 1 492 форка, он распространяется по лицензии MIT и последний раз обновлялся на GitHub 8 октября 2026.

Open, event-based protocol that connects AI agents to user-facing apps with streaming and shared state.

★ 16,4 тыс. звёзд⑂ 1,5 тыс. форковMITобновлено окт. 2026
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
ag-ui-protocol/ag-ui
Звёзды GitHub
16 391
Форки
1 492
Лицензия
MIT
Последнее обновление на GitHub
8 октября 2026
Тип страницы
Полное руководство по установке
Официальный сайт
Official site
// как это работает

Как это работает

  1. Decide what your agent should show users

    Pick the interaction you need first: streaming chat, shared state between agent and UI, frontend tool calls, or human-in-the-loop approval steps.

  2. Create a starter app

    Scaffold a new AG-UI application with the create-ag-ui-app tool, or add AG-UI to an existing agent built on a supported framework such as LangGraph or CrewAI.

  3. Wire the event stream

    Connect your agent backend to the frontend over a transport such as SSE or WebSockets, using the reference HTTP implementation and the standard event types.

  4. Run and iterate in the Dojo

    Open the AG-UI Dojo examples to see each building block in 50-200 lines of code, then adapt one to your own agent and UI.

// возможности

Почему его любят

Standard event types

Agent backends emit events compatible with roughly 16 standard AG-UI event types, so any compliant frontend can render agent runs consistently.

Real-time agentic chat

Streaming chat is a core feature, letting users watch tokens and progress as the agent works rather than waiting for a final answer.

Bi-directional state sync

Application state is synchronized in both directions, so the agent and the user can both read and update a shared view of the work.

Generative UI

The protocol supports generative UI and structured messages, letting agents render rich components instead of plain text only.

Frontend tool integration

Agents can call tools that live in the frontend, so an agent can trigger actions in the app the user is already looking at.

Human-in-the-loop

Built for collaboration patterns where a person reviews, edits or approves agent steps before the agent continues.

Advertisement
// запустите сами

Запустите сами

  1. Clone the repository

    Clone the protocol repo to explore the spec, SDKs and the Dojo example apps locally.

    git clone https://github.com/ag-ui-protocol/ag-ui.git
    cd ag-ui
  2. Scaffold a new app

    Create a fresh AG-UI application in seconds with the official scaffolding command from the README.

    npx create-ag-ui-app my-agent-app
  3. Explore the Dojo

    Run or browse the Dojo building-block examples in the repo to see each AG-UI feature in a small, focused app.

    cd apps/dojo  # see README for the exact command
// сценарии использования

Что можно создать

Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains AG-UI?

The ag-ui-protocol open-source organization maintains it; it grew out of CopilotKit's agent-interactivity work and has first-party and community contributors across many frameworks.

Is AG-UI free to use?

Yes. It is open source under the MIT license, which permits commercial use, modification and distribution.

Does AG-UI need a paid API key?

AG-UI itself is just a protocol and needs no key. The agent you connect behind it will use whatever model provider you choose, which may require your own API key.

How does AG-UI compare with MCP or A2A?

They are complementary: MCP gives agents tools, A2A lets agents talk to other agents, and AG-UI brings agents into user-facing applications.

How do I get started?

Run npx create-ag-ui-app my-agent-app, or open the AG-UI Dojo to copy a small working example for your framework.

// продолжить изучение

Похожие инструменты

Инструменты разработчика

ai

Vercel's AI SDK: the TypeScript toolkit for building AI apps and agents with any model provider

★ 27,2 тыс. звёздNOASSERTION
Смотреть руководство →
Инструменты разработчика

rust-sdk

rmcp: the official Rust SDK for the Model Context Protocol — tokio-based servers and clients

★ 4,0 тыс. звёздNOASSERTION
Смотреть руководство →
Инструменты разработчика

CopilotKit

The frontend stack for AI agents and generative UI in React, Angular, mobile and chat apps

★ 37,8 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

cocoindex-code

Lightweight AST-based semantic code search CLI (ccc) that makes coding agents faster and cheaper

★ 2,8 тыс. звёздApache-2.0
Смотреть руководство →
Инструменты разработчика

memorax-code

Shared memory for coding agents: lessons, repo knowledge, and your preferences, carried across sessions.

★ 2,1 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

cavemem

Persistent memory for coding agents — frozen, but its core lives on in Caveman.

★ 678 звёздMIT
Смотреть руководство →
// альтернативы

Альтернативы: Инструменты разработчика

Другие проекты из категории «Инструменты разработчика» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если ag-ui вам не подходит.

// ещё в категории devtools

Больше проектов: Инструменты разработчика

Соседние проекты из категории «Инструменты разработчика» в каталоге, ближайшие по числу звёзд к ag-ui — продолжайте изучать полку по обе стороны от него.

Получить ag-ui

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.