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

ag-ui

ag-ui es un proyecto de herramientas de desarrollo de código abierto de ag-ui-protocol (ag-ui-protocol/ag-ui en GitHub). Tiene 16.391 estrellas en GitHub y 1.492 bifurcaciones, se publica bajo la licencia MIT y se actualizó por última vez en GitHub el 8 de octubre de 2026.

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

★ 16,4k estrellas⑂ 1,5k bifurcacionesMITactualizado oct 2026
▦ visual: el README de este proyecto no incluye ninguna captura incrustable,
así que aquí va un marcador. La guía de abajo está completa de todos modos.
// datos del proyecto

Datos del proyecto

Estrellas en GitHub
16.391
Bifurcaciones
1.492
Licencia
MIT
Última actualización en GitHub
8 de octubre de 2026
Tipo de ficha
Guía de instalación completa
Sitio oficial
Official site
// cómo funciona

Cómo funciona

  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.

// características

Por qué gusta tanto

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
// ejecútalo

Ejecútalo tú mismo

  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
// casos de uso

Qué puedes crear

Advertisement
// preguntas frecuentes

Preguntas frecuentes

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.

// sigue explorando

Herramientas similares

Herramientas de desarrollo

ai

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

★ 27,2k estrellasNOASSERTION
Ver la guía →
Herramientas de desarrollo

rust-sdk

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

★ 4,0k estrellasNOASSERTION
Ver la guía →
Herramientas de desarrollo

CopilotKit

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

★ 37,8k estrellasMIT
Ver la guía →
Herramientas de desarrollo

cocoindex-code

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

★ 2,8k estrellasApache-2.0
Ver la guía →
Herramientas de desarrollo

memorax-code

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

★ 2,1k estrellasMIT
Ver la guía →
Herramientas de desarrollo

cavemem

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

★ 678 estrellasMIT
Ver la guía →
// alternativas

Alternativas en Herramientas de desarrollo

Los demás proyectos de Herramientas de desarrollo con más estrellas del catálogo de LibreAI: la lista realista de alternativas si ag-ui no es lo que buscas.

// más en devtools

Más en Herramientas de desarrollo

Proyectos de Herramientas de desarrollo cercanos en el catálogo, los más próximos en estrellas a ag-ui: sigue explorando a ambos lados.

Consigue ag-ui

Gratis y abierto: consigue el código fuente, dale una estrella al repositorio y empieza a crear.