Skip to content

Official AG-UI (@angular/ag-ui) support for agent-driven chat and streaming UIs #69335

@kpobb1989

Description

@kpobb1989

Description

AG-UI (Agent-User Interaction Protocol) is becoming the open standard for connecting AI agents to frontend applications. It defines a lightweight, event-based protocol over SSE/WebSockets for streaming chat, tool calls, state updates, and human-in-the-loop workflows.

Major vendors (Microsoft Agent Framework, LangGraph, LlamaIndex, Oracle, AWS, Google) are already shipping AG-UI-compatible runtimes, and CopilotKit has implemented the first mature frontend client. However, there is no official Angular-first AG-UI client or set of Angular components from the Angular team, even though:

Many enterprise teams (including .NET/Angular teams) are building agentic AI chat and agent-driven UIs

React has a mature AG-UI client via CopilotKit (it does support angular, but it requires a subscription), but Angular users must implement their own SSE client and components

Proposed solution

Add official AG-UI support for Angular, either as:

A new Angular package: @angular/ag-ui providing:

  • An Angular service for connecting to AG-UI endpoints (SSE/WebSocket)
  • RxJS/Signals-based state management for AG-UI events
  • Ready-to-use components:
  • Typed hooks/service interfaces for AG-UI events (TEXT_MESSAGE_CONTENT, TOOL_CALL_START, STATE_DELTA, etc.)
  • Support REASONING_MESSAGE_CONTENT

This would mirror the React/CopilotKit experience but with Angular-native APIs.

Alternatives considered

https://www.npmjs.com/package/@ag-ui/client

https://www.npmjs.com/package/@copilotkitnext/angular (commercial license for angular)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues related to the framework runtimegemini-triagedLabel noting that an issue has been triaged by gemini

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions