Skip to content

[REQUEST] AG-UI support #5969

Description

@ebe-wolf

Here's a concise but informative GitHub issue description:


Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions