---
title: "Rust SDK"
description: "Overview of the AG‑UI Rust SDKs"
---

# Rust SDK

The Rust SDK consists of two crates:

- ag-ui-core: shared types and events
- ag-ui-client: client utilities and concrete agents like HttpAgent

## Getting started

```bash
# Core data types and events
cargo add ag-ui-core

# Client crate with Agent trait, HttpAgent, subscribers
cargo add ag-ui-client
```

## Packages

<Card
  title="Client"
  icon="cube"
  href="/sdk/rust/client/overview"
  color="#3B82F6"
  iconType="solid"
>
  Agent trait, HttpAgent and subscriber system
</Card>

<Card
  title="Core"
  icon="bolt"
  href="/sdk/rust/core/overview"
  color="#3B82F6"
  iconType="solid"
>
  Shared types and event protocol
</Card>
