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

# CLI Overview

> Command-line interface for the Verifiers SDK

The Verifiers library provides a comprehensive CLI for building, evaluating, and managing RL environments for LLMs. Commands are organized under the `prime` namespace.

## Command Structure

The CLI is organized into logical command groups:

### Workspace Management

* **[`prime lab setup`](/cli/lab-setup)** - Initialize a new workspace for developing environments

### Environment Management

* **[`prime env init`](/cli/env-init)** - Create a new environment template
* **[`prime env install`](/cli/env-install)** - Install an environment package
* **[`prime env push`](/cli/env-push)** - Publish an environment to the Hub

### Evaluation

* **[`prime eval run`](/cli/eval-run)** - Run evaluations on environments
* **[`prime eval tui`](/cli/eval-tui)** - View evaluation results in a terminal UI

### Legacy Commands

For backward compatibility, legacy `vf-*` commands are still available. See [Legacy vf-\* Commands](/cli/vf-commands) for details.

## Installation

Install the `prime` CLI using uv:

```bash theme={null}
uv tool install prime
```

For development, install verifiers with the CLI tools:

```bash theme={null}
uv add verifiers
```

## Getting Help

All commands support the `--help` flag for detailed usage information:

```bash theme={null}
prime --help
prime lab setup --help
prime eval run --help
```

## Quick Start

Here's a typical workflow:

```bash theme={null}
# Set up a new workspace
prime lab setup

# Create a new environment
prime env init my-env

# Install the environment
prime env install my-env

# Run an evaluation
prime eval run my-env -m gpt-4.1-mini -n 10

# View results
prime eval tui

# Publish to Hub
prime env push my-env
```

## Configuration

The CLI uses configuration files in the `configs/` directory:

* **`configs/endpoints.toml`** - API endpoint configuration for model providers
* **`configs/eval/*.toml`** - Multi-environment evaluation configurations
* **`configs/rl/*.toml`** - Training configurations for Hosted Training
* **`configs/gepa/*.toml`** - Prompt optimization configurations

## Environment Variables

API keys are configured via environment variables:

* `PRIME_API_KEY` - Prime Inference API key (default provider)
* `OPENAI_API_KEY` - OpenAI API key
* `ANTHROPIC_API_KEY` - Anthropic API key
* `OPENROUTER_API_KEY` - OpenRouter API key

See individual command pages for provider-specific configuration.
