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 |
|---|---|---|---|
|
Weights |
Demonstrations, responses or conversations |
Slime, Tinker | |
|
Weights |
One scored rollout per prompt |
Slime | |
|
Weights |
Demonstrations |
Slime | |
|
Weights |
Several scored attempts per question |
Slime | |
|
Weights |
Prompts, and a frozen teacher model |
Slime | |
|
Weights (LoRA); in the Guidance-TTT example, a guide model with a frozen executor |
Groups of scored attempts at one hard problem |
Slime, Tinker | |
|
Weights |
Conversations, judged by the next user turn |
Slime | |
|
Harness text: rules, skills and agent commands |
Fixed tasks with a scorer |
Model endpoint | |
|
Whole harness tree |
Fixed tasks with a scorer |
Model endpoint or coding agent | |
|
A playbook in the harness rules |
Usage traces |
Model endpoint | |
|
Memory items, served as harness skills |
Agent runs, scored or judged by a model |
Model endpoint | |
|
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.