[REQUEST] AG-UI support

Offen
#5,969 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
TypeScript
Sterne
29.8k
Forks
3.9k
Ø Merge
1 Std. 44 Min.
Gemergte PRs (30 T.)
841

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus simstudioai/sim

Alle Issues in simstudioai/sim

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.