showcase/shell-docs/src/content/ag-ui/sdk/rust/client/overview.mdx
ag-ui-clientThe 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.
cargo add ag-ui-client
Agent is the trait to implement for custom agent
connectivity. Implementing run() lets you bridge your
own service or agent implementation to AG-UI.
<Card title="Agent Trait Reference" icon="cube" href="/sdk/rust/client/agent-trait" color="#3B82F6" iconType="solid"
Trait for creating custom agent connections </Card>
Agent implementation for HTTP-based agent connectivity:
<Card title="HttpAgent Reference" icon="cube" href="/sdk/rust/client/http-agent" color="#3B82F6" iconType="solid"
Ready-to-use HTTP implementation for agent connectivity, using a highly efficient event encoding format </Card>
Event-driven subscriber system for handling agent lifecycle events and state mutations during agent execution:
<Card title="AgentSubscriber Reference" icon="bolt" href="/sdk/rust/client/subscriber" color="#3B82F6" iconType="solid"
Comprehensive event system for reactive agent interaction and middleware-style functionality </Card>