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

# User Guide

> Concepts, launch script walkthrough, customization hooks, and a complete CLI reference.

| Page                                                                   | What it covers                                                                                                                                  |
| ---------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| [Core Concepts](/docs/user-guide/concepts)                                  | The four objects in the training loop and the four-knob invariant.                                                                              |
| [Argument Groups](/docs/user-guide/argument-groups)                         | Where `MODEL_ARGS`, `PERF_ARGS`, `GRPO_ARGS`, and the other launch-script arrays belong.                                                        |
| [Training Backend](/docs/user-guide/usage)                                  | Megatron-LM as the training backend — parallelism, checkpoints, and hooks.                                                                      |
| [Training Script Walkthrough](/docs/user-guide/training-script-walkthrough) | The eight `XXX_ARGS` arrays in a launch script, plus the execution modes (sync/async, colocation, dynamic sampling, partial rollout, BF16+FP8). |
| [Monitoring & Logging](/docs/user-guide/monitoring)                         | wandb, structured logs, per-source breakdowns, profiling, router metrics.                                                                       |
| [Customization](/docs/user-guide/customization)                             | The 21 `--*-path` plug-points for custom Python — rollout, reward, filters, loss, hooks.                                                        |
| [Rollout Endpoints](/docs/user-guide/rollout-endpoints)                     | The `/generate` endpoint and the OpenAI chat endpoint for agentic sessions.                                                                     |
| [Fully Async Rollout](/docs/user-guide/fully-async)                         | Queue-backed rollout production, tuning knobs, and when to use `train_async.py`.                                                                |
| [Agentic Chat Templates](/docs/user-guide/agentic-chat-template)            | Turning on and verifying TITO so multi-turn agentic rollout stays append-only.                                                                  |
| [CLI Reference](/docs/user-guide/cli-reference)                             | Every flag Miles accepts, grouped by subsystem.                                                                                                 |
| [Environments](/docs/user-guide/environments)                               | Supplying an environment: dataset + reward, your own env via the plug points, or an external ecosystem.                                         |

## Which pages do I actually need?

* **Training my first job** — read [Core Concepts](/docs/user-guide/concepts), then [Training Script Walkthrough](/docs/user-guide/training-script-walkthrough).
* **Tuning a running job** — [Training Script Walkthrough](/docs/user-guide/training-script-walkthrough) in depth + [CLI Reference](/docs/user-guide/cli-reference).
* **Plugging in a custom reward / rollout / filter** — skim [Core Concepts](/docs/user-guide/concepts) for vocabulary, then go to [Customization](/docs/user-guide/customization).
* **Contributor onboarding** — read top to bottom.
