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

# Requesty CLI

> Point Claude Code, Codex, OpenCode, Pi and Hermes at Requesty from one terminal app

The Requesty CLI is a terminal app that connects the AI coding agents already installed on your machine to Requesty. It detects each harness, writes that harness's own configuration file so requests go through the [Requesty gateway](https://router.requesty.ai), and shows your spend for the last 30 days.

There is no proxy to keep running and no wrapper command to learn. You keep starting `claude`, `codex`, `opencode`, `pi` or `hermes` exactly as before, and every request now goes through Requesty.

With the CLI you can:

* Access **300+ models** from OpenAI, Anthropic, Google, Mistral and many other providers through one API key.
* Set up a harness in a few keystrokes instead of hand editing JSON, TOML or YAML.
* Apply [fallback policies](/features/fallback-policies), [load balancing](/features/load-balancing-policies) and [latency routing](/features/latency-routing) to your coding agents.
* Keep spend, [logs](/features/logs) and [analytics](/features/usage-analytics) for every tool in one dashboard.

## Quick start

<CodeGroup>
  ```bash macOS / Linux theme={"dark"}
  curl -fsSL https://raw.githubusercontent.com/requestyai/cli/main/install.sh | sh
  ```
</CodeGroup>

The installer puts the binary in `~/.requesty/bin` and adds that directory to your `PATH`. Open a new shell, then run:

```bash theme={"dark"}
requesty
```

Paste a key from the [API Keys page](https://app.requesty.ai/api-keys) when the CLI asks for one, select a harness, pick a model, and restart the harness. Your existing configuration file is backed up before anything is written.

## Learn more

The CLI is open source under Apache 2.0. The [README](https://github.com/requestyai/cli) is the reference for supported harnesses, the files each one writes, backups, upgrades and troubleshooting.

<Card title="requestyai/cli on GitHub" icon="github" href="https://github.com/requestyai/cli">
  Source, releases and full documentation for the CLI.
</Card>
