Overview

no
Summary: Client package overview

Original Documentation

Documentation Index#

Fetch the complete documentation index at: https://docs.ag-ui.com/llms.txt Use this file to discover all available pages before exploring further.

Client package overview

@ag-ui/client#

The Agent User Interaction Protocol Client SDK provides agent connectivity options for AI systems. This package builds on the core types and events to deliver flexible connection methods to agent implementations.

npm install @ag-ui/client

AbstractAgent#

AbstractAgent is the base agent class for implementing custom agent connectivity. Extending this class and implementing run() lets you bridge your own service or agent implementation to AG-UI.

Base class for creating custom agent connections

HttpAgent#

Concrete implementation for HTTP-based agent connectivity:

Ready-to-use HTTP implementation for agent connectivity, using a highly efficient event encoding format

Middleware#

Transform and intercept event streams flowing through agents with a flexible middleware system:

Powerful event stream transformation and filtering for AG-UI agents

AgentSubscriber#

Event-driven subscriber system for handling agent lifecycle events and state mutations during agent execution:

Comprehensive event system for reactive agent interaction and middleware-style functionality

Link last verified June 7, 2026. View original ↗
Source: AG-UI Protocol
Link last verified: 2026-02-26