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

# Overview

> Build custom training and evaluation workflows

Write custom Python recipes for training, evaluation, and other AI workflows using `adaptive_harmony`.

## Getting Started

> [card] [Installation](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/install.md)
>
> Install adaptive-harmony

> [card] [Local Development](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/harmony_client.md)
>
> Connect to compute plane for interactive development

> [card] [Recipe Syntax](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/intro_syntax.md)
>
> Structure and entry points

> [card] [Configuration](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/config.md)
>
> Define recipe parameters

## Building Recipes

> [card] [Models](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/models.md)
>
> Load and spawn models

> [card] [Datasets](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/datasets.md)
>
> Load datasets and StringThread

> [card] [Graders](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/graders.md)
>
> Custom reward functions

> [card] [Platform Graders](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/product_graders.md)
>
> Load graders from Adaptive

## Training & Evaluation

> [card] [Training Recipes](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/training.md)
>
> SFT, PPO, GRPO, DPO algorithms

> [card] [Evaluation Recipes](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/eval.md)
>
> Evaluate models and create artifacts

> [card] [Structured Output](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/structured_output.md)
>
> JSON and constrained generation

> [card] [Progress Reporting](https://docs.adaptive-ml.com/v0.11/advanced/custom-recipes/progress.md)
>
> Track recipe progress in UI

## Quick Reference

Upload a recipe:

```python theme={null}
adaptive.recipes.upload(
    path="/path/to/recipe.py",  # or directory
    recipe_key="my-recipe",
    name="My Training Recipe"
)
```

> [!NOTE]
>
> When uploading a directory, the entry point must be `main.py` and all imports must be relative (e.g., `from .utils import helper`).

Run a recipe:

```python theme={null}
job = adaptive.jobs.run(
    recipe_key="my-recipe",
    num_gpus=2,
    args={"model": "llama-3.1-8b", "dataset": "my-data"}
)
```


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