> ## 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.

# Developer Guide

> Contribution conventions, internal architecture, dependency versions, and debugging.

You're here because you want to change Miles, not just use it. This section is the
short tour for new contributors.

> [card] [Contributing](https://miles.radixark.com/docs/developer/contributor-guide.md)
>
> Repo layout, what enforces code style, what lives in .claude, and how to drive CI from a PR.

> [card] [Architecture Overview](https://miles.radixark.com/docs/developer/architecture.md)
>
> The 30-minute tour of how Miles is organized internally.

> [card] [Versions and Images](https://miles.radixark.com/docs/developer/versions.md)
>
> How the miles, SGLang and Megatron-LM trees fit together, and how to bump one.

> [card] [Debugging](https://miles.radixark.com/docs/developer/debug.md)
>
> Isolating rollout from training, the debug and CI assertion flags, aligning precision.

> [card] [Training Backends](https://miles.radixark.com/docs/user-guide/training-backend.md)
>
> Megatron-LM and FSDP: what each backend owns and where its code lives.

## TL;DR for first-time contributors

1. Pick something small from `good first issue` on [GitHub](https://github.com/radixark/miles/issues).
2. Run the [Reproducibility recipe](https://github.com/radixark/miles/tree/main/examples/experimental/reproducibility) so you can be sure
   "I changed X and it broke" actually means that.
3. Use `--debug-train-only` or `--debug-rollout-only` to scope your changes.
4. Open a PR. We'll review within \~48h.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.