# Provod CLI: connect AI coding agents

Source: https://provod.ai/en/docs/provod-cli

**Provod CLI** (`@provod-ai/cli`, repository `provod-ai/cli`) is the official command-line tool that automatically configures `provod.ai` models and the [Hosted MCP server](/en/docs/hosted-mcp) across popular AI coding agents (see [coding tools](/en/integrations/coding-tools) and the [API overview](/en/products/api)). It ships as a native binary for macOS, Linux, and Windows, manages workspace API keys, and reports your RUB balance.

*Provod CLI workflow: installation, OAuth authorization, setup/balance/api-keys/mcp commands, and 20 supported AI agents.*
&#x2A;One `provod setup` command authorizes your workspace in the browser and configures selected coding agents.*

## Installation




npm (macOS / Linux / Windows)



macOS / Linux (curl)



Windows / WSL (PowerShell)




```bash
npm install -g @provod-ai/cli
provod --version
```



```bash
curl -fsSL https://raw.githubusercontent.com/provod-ai/cli/main/install.sh | sh

# Add the install directory to PATH if needed:
export PATH="$HOME/.local/bin:$PATH"
```



```powershell
npx provod@latest setup

# List available Windows and WSL environments:
provod environments --json

# Configure Windows and a WSL distro together:
npx provod@latest setup --environment windows --environment "wsl:Ubuntu" --provision-runtime
```



Supported release archives: macOS Apple Silicon (`darwin-arm64`), macOS Intel (`darwin-x64`), Linux `arm64`, Linux `x64`, and Windows `x64` (Windows ARM64 is not supported). Direct installers fetch the archive and `SHA256SUMS` over HTTPS and verify checksums before replacing the binary. You can optionally enable Cosign signature verification with `PROVOD_VERIFY_SIGNATURE=1`.

## Quickstart and command examples

Launch interactive setup: the CLI detects installed agents and opens your browser for OAuth authorization and workspace selection:

```bash
provod setup
provod status
```

For automation and reproducible setups, pass agent and model flags:

```bash
# Configure a single agent
provod setup --global --agent claude-code --model claude-code=claude-sonnet-4.6

# Configure multiple agents in one transaction
provod setup --global \
  --agent hermes \
  --agent codex \
  --agent opencode \
  --model hermes=claude-sonnet-4.6 \
  --model codex=gpt-5.4 \
  --model opencode=gpt-5.4

# Configure Hosted MCP only (separate OAuth flow)
provod setup --mcp-only

# Accept recommended models without interactive prompts
provod setup --global --yes
```

Manage balance, API keys, and launch the local MCP stdio bridge:

```bash
provod balance --json
provod api-keys list --limit 50 --json
provod api-keys create --name deploy --budget month=5000.00
provod mcp
```

## Supported AI agents (20 clients)

The `provod-ai/cli` adapter registry supports 20 coding tools (live availability is verified from the remote manifest):

| Category                      | Supported clients                                                                                                                                                                          |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Primary CLI agents            | **Claude Code**, **Codex CLI**, **Hermes Agent**, **OpenCode**, **GitHub Copilot CLI**                                                                                                     |
| IDEs and extensions           | **Cline** (CLI and VS Code 4.1.25 extension via `~/.cline/data/settings/`), **Zed**, **Kilo Code**                                                                                         |
| Terminal agents and harnesses | **Qwen Code**, **Kimi Code CLI**, **Mistral Vibe**, **Crush**, **ForgeCode**, **Goose**, **Grok Build**, **Deep Agents Code**, **Factory Droid**, **omp**, **OpenClaw**, **OpenHands CLI** |

**Junie support removed**


As of v0.2.5, Junie support has been removed. Existing local files remain untouched; to clean up an earlier receipt, run `provod harness reset junie` or `provod uninstall --yes`.


## Command reference

| Command                          | Purpose                                                                                    | `--json` support            |
| -------------------------------- | ------------------------------------------------------------------------------------------ | --------------------------- |
| `provod setup`                   | OAuth login and configuration for one or more agents                                       | Emits machine-readable JSON |
| `provod status`                  | Auth state, connected environments, and receipts                                           | Yes                         |
| `provod balance`                 | Active workspace balance in RUB                                                            | Yes                         |
| `provod api-keys`                | List, create, update limits on, and revoke API keys (`list`, `create`, `update`, `delete`) | Yes                         |
| `provod mcp`                     | Local `stdio` bridge to remote Hosted MCP (`stdout` reserved for JSON-RPC)                 | No                          |
| `provod login` / `provod logout` | Refresh or clear local CLI OAuth session (does not revoke server keys)                     | No                          |
| `provod update --yes`            | Safe self-update with SHA-256 verification (or `--release X.Y.Z`)                          | No                          |
| `provod repair --yes`            | Local receipt and state recovery after an interrupted update                               | No                          |
| `provod uninstall --yes`         | Roll back configured files from receipts and clear local CLI auth                          | No                          |

## Diagnostic logs and security

Session logs are written to `~/.provod-cli/logs` (macOS/Linux) or `%USERPROFILE%\.provod-cli\logs` (Windows; override via `PROVOD_CLI_STATE_DIR/logs`). The last 20 sessions over 7 days are retained (up to 256 KiB per session).

Logs record only safe phase metadata and failure reasons: tokens, OAuth URLs, provider keys, and config contents are never written. When contacting support, attach only the specific `operation-*.jsonl` file—never share the entire `~/.provod-cli` directory (which stores credentials and receipts).

## Troubleshooting


**Terminal reports provod: command not found**


Add `~/.local/bin` to your `PATH` (or check the global `npm bin -g` directory) and open a new terminal session.


**Setup is locked after an interrupted run**


The CLI uses fail-closed state locking to avoid corrupting configs during concurrent runs. Confirm no other `provod` process is running, then follow the recovery prompt or run `provod repair --yes`. Do not delete lock files manually based solely on timestamp.


**macOS Gatekeeper warns on first launch**


Pre-release macOS binaries are ad-hoc signed; verify the `SHA256SUMS` checksum (or Cosign signature) and allow execution in System Settings → Privacy & Security.
