[REQUEST] AG-UI support

Aberta
#5,969 1 comentário 1 reação 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript

Direção de pesquisa

Start by locating the agent execution event pipeline and the boundary where backend clients communicate with workflows. Review how internal workflow and agent events are currently exposed, then compare them with the AG-UI specification. Done means compatible clients can receive streamed messages, tool lifecycles, status, errors, cancellation, and completion events, with documentation and integration tests.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

feature

Add support for the AG-UI (Agent-User Interaction) Protocol to enable standardized real-time communication between AI agents and frontend clients.

The implementation should expose agent execution events (e.g., messages, tool calls, reasoning/status updates, errors, completion, and streamed responses) using the AG-UI protocol, allowing compatible clients such as CopilotKit and other AG-UI consumers to interact with the backend without custom integrations.

Scope
  • Implement AG-UI protocol support for agent execution.
  • Stream agent events (text, tool calls, status, errors, completion, etc.).
  • Map internal workflow/agent events to AG-UI event types.
  • Support incremental/streaming responses.
  • Ensure protocol compliance with the AG-UI specification.
  • Provide an extensible architecture for future event types and protocol updates.
Acceptance Criteria
  • AG-UI compatible clients can communicate with the backend.
  • Agent responses are streamed using AG-UI events.
  • Tool invocation lifecycle is exposed through the protocol.
  • Errors and cancellation events are properly propagated.
  • Protocol implementation is documented and covered by integration tests.
Benefits
  • Standardized frontend integration.
  • Interoperability with existing AG-UI ecosystem tools.
  • Easier maintenance by decoupling internal agent logic from client-specific protocols.
  • Foundation for future multi-agent and workflow integrations.
Linguagem predominante
TypeScript
Estrelas
29.8k
Forks
3.9k
Merge médio
1h 44min
PRs com merge (30d)
841

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de simstudioai/sim

Todas as issues de simstudioai/sim

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.