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

ag-ui

ag-ui é um projeto de ferramentas de desenvolvimento de código aberto de ag-ui-protocol (ag-ui-protocol/ag-ui no GitHub). Tem 16.391 estrelas no GitHub e 1.492 forks, é publicado sob a licença MIT e foi atualizado pela última vez no GitHub em 8 de outubro de 2026.

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

★ 16,4 mil estrelas⑂ 1,5 mil forksMITatualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Estrelas no GitHub
16.391
Forks
1.492
Licença
MIT
Última atualização no GitHub
8 de outubro de 2026
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como 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.

// recursos

Por que as pessoas gostam 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
// execute você mesmo

Execute você mesmo

  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

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

Ferramentas de desenvolvimento

ai

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

★ 27,2 mil estrelasNOASSERTION
Ver o guia →
Ferramentas de desenvolvimento

rust-sdk

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

★ 4,0 mil estrelasNOASSERTION
Ver o guia →
Ferramentas de desenvolvimento

CopilotKit

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

★ 37,8 mil estrelasMIT
Ver o guia →
Ferramentas de desenvolvimento

cocoindex-code

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

★ 2,8 mil estrelasApache-2.0
Ver o guia →
Ferramentas de desenvolvimento

memorax-code

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

★ 2,1 mil estrelasMIT
Ver o guia →
Ferramentas de desenvolvimento

cavemem

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

★ 678 estrelasMIT
Ver o guia →
// alternativas

Alternativas em Ferramentas de desenvolvimento

Os outros projetos de Ferramentas de desenvolvimento com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se ag-ui não for o ideal para você.

// mais em devtools

Mais em Ferramentas de desenvolvimento

Projetos de Ferramentas de desenvolvimento próximos no catálogo, os mais próximos em estrelas de ag-ui: continue explorando dos dois lados dele.

Baixe o ag-ui

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.