Overview
Theprime lab setup command initializes a new workspace for developing environments with Verifiers. It creates the recommended directory structure, downloads starter configurations, and optionally installs prime-rl for local training.
Usage
What It Does
- Initializes a Python project (if not already present) using
uv init - Installs verifiers via
uv add verifiers - Creates directory structure:
- Downloads starter files from the verifiers repository
- Optionally installs prime-rl for local training
Options
Install prime-rl and download prime-rl training configurations. Use this if you want to train models locally.
Skip
uv init and uv add verifiers steps. Use when adding to an existing project.Skip downloading AGENTS.md, CLAUDE.md, and environments/AGENTS.md files.
Comma-separated list of coding agents to scaffold (codex, claude, cursor, opencode, amp).Example:
--agents codex,claudeDisable interactive prompts for coding agent selection.
Examples
Basic Setup
Initialize a new workspace in an empty directory:Add to Existing Project
Add verifiers to an existing Python project:Setup with Local Training
Install prime-rl for training models locally:- Clone and install prime-rl
- Download prime-rl training configurations
- Install all environments from
environments/into the prime-rl workspace
Specify Coding Agents
Configure skill directories for specific coding agents:Next Steps
After runningprime lab setup, you can:
-
Create an environment:
-
Run an evaluation:
-
View results:
-
Train a model (if you used
--prime-rl):
Configuration Files
The setup command downloads several starter configuration files:Endpoints Configuration
configs/endpoints.toml defines model API endpoints:
Evaluation Configs
configs/eval/ contains multi-environment evaluation configurations:
Training Configs
configs/rl/ contains training configurations for use with Hosted Training or prime-rl.
Troubleshooting
uv Not Found
Ifuv is not installed: