Recipes

Recipes

A recipe is a training method. One deployment runs one recipe, and all its scenarios use it. Use Reef runs one from start to finish, and Write a recipe defines your own.

Recipe

Trains

Feedback

Backend

SFT

Weights

Demonstrations, responses or conversations

Slime, Tinker

SAO

Weights

One scored rollout per prompt

Slime

SDFT

Weights

Demonstrations

Slime

SDPO

Weights

Several scored attempts per question

Slime

OPD

Weights

Prompts, and a frozen teacher model

Slime

TTT-Discover

Weights (LoRA); in the Guidance-TTT example, a guide model with a frozen executor

Groups of scored attempts at one hard problem

Slime, Tinker

OpenClaw-RL

Weights

Conversations, judged by the next user turn

Slime

GEPA

Harness text: rules, skills and agent commands

Fixed tasks with a scorer

Model endpoint

Meta-Harness

Whole harness tree

Fixed tasks with a scorer

Model endpoint or coding agent

ACE

A playbook in the harness rules

Usage traces

Model endpoint

ReasoningBank

Memory items, served as harness skills

Agent runs, scored or judged by a model

Model endpoint

minimal

Weights; the template for a new recipe

Reported agent runs

Slime, Tinker

CORAL TTT (beta)

Weights (LoRA)

Groups of graded attempts of CORAL agents

Slime

Reefine (beta)

Harness tree

Requests in plain language, failing traces

Model endpoint, pi

AutoEnvScaling (beta)

Weights, on tasks built from recorded coding-agent sessions

Verifier scores of the tasks

Slime, Tinker

Continual environments (beta)

Weights, on tasks built from failed sessions of live traffic

Verifier scores of the tasks

Slime, Tinker

SPADE (beta)

Weights, on tasks that the same policy writes

Verifier scores of the tasks

Slime, Tinker

Choose by what you train and the feedback you have. Weights need Slime with GPUs or Tinker. A harness needs only a model endpoint. Beta recipes have no complete learning results yet.

A deployment selects its recipe in the recipe section (settings):

  • Weight recipe: recipe.implementation, such as recipes.sao.recipe:SAORecipe.

  • Harness recipe: recipe.implementation, such as recipes.gepa.recipe:GEPARecipe, with the method's own settings in recipe.config.evolution.method.config. A method without a recipe class runs with reef.recipe.harness:HarnessEvolutionRecipe and the method in recipe.config.evolution.method.

  • Task generator (AutoEnvScaling, continual environments, SPADE): recipe.implementation: reef.recipe.generated_tasks:GeneratedTaskRecipe, with the generator in recipe.samples.generator.

reef.recipe.sft:SFTRecipe ships in the wheel. The others are in recipes/ of a checkout. Do not share an artifact repository between recipes.