> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install the Ruby Agent SDK and its core client dependency.

## Install

```bash theme={null}
gem install ai_stats_sdk ai_stats_agent_sdk
```

## Environment

Set your gateway API key before running examples:

```bash theme={null}
export AI_STATS_API_KEY="aistats_***"
```

## Next

* [Overview](./agent-sdk-overview.mdx)
* [Usage](./agent-sdk.mdx)
