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

# Getting Started

> Launch your first Hosted Training run in minutes

Train a model using reinforcement learning on Prime Intellect's infrastructure — no GPUs to manage.

## Prerequisites

* Python 3.10+
* A [Prime Intellect account](https://app.primeintellect.ai)

## 1. Install the CLI and log in

```bash theme={null}
# install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# install the prime CLI
uv tool install -U prime
# log in
prime login
```

## 2. Set up your workspace

```bash theme={null}
# ~/dev/my-lab
prime lab setup
```

This sets up your workspace with `AGENTS.md`, environments, and example training configs in `configs/rl/`.

## 3. Launch training

Pick one of the example configs and run it:

```bash theme={null}
prime train run configs/rl/alphabet-sort.toml
```

That's it. Prime Intellect handles the GPU cluster, rollouts, and optimization. You'll get a dashboard link in the output.

You can also launch your coding agent (Claude, Cursor, OpenCode, etc.) and use it to manage your workspace and research workflows.

## 4. Monitor progress

**Terminal:**

```bash theme={null}
prime train logs <run-id> -f
```

**Dashboard:** Open the link from the previous step to see reward curves, rubric scores, and individual rollouts in real time.

## Next steps

<CardGroup cols={2}>
  <Card title="End-to-End Run" icon="arrow-trend-up" href="/hosted-training/end-to-end-run">
    Detailed walkthrough with baseline evals, model selection, and result review.
  </Card>

  <Card title="Advanced Configs" icon="gear" href="/hosted-training/advanced-configs">
    Multi-environment training, online evals, difficulty filtering, and W\&B integration.
  </Card>

  <Card title="Models & Pricing" icon="money-bill" href="/hosted-training/models-and-pricing">
    Supported models and pricing details.
  </Card>

  <Card title="What is Lab?" icon="flask" href="/hosted-training/what-is-lab">
    Understand the full platform and how everything fits together.
  </Card>
</CardGroup>
