iterion

← Documentation index · ← Iterion

Recipes

Recipes let you run the same workflow with different configurations without editing the .bot file. They’re useful for benchmarking models, comparing prompts, or creating reusable presets:

{
  "name": "fast_review",
  "workflow_ref": {
    "name": "branch_improve_loop",
    "path": "bots/branch-improve-loop/main.bot"
  },
  "preset_vars": {
    "review_rules": "Focus on security only"
  },
  "prompt_pack": {
    "review_system": "You are a security-focused reviewer."
  },
  "budget": {
    "max_duration": "10m",
    "max_cost_usd": 5.0
  },
  "evaluation_policy": {
    "primary_metric": "approved",
    "success_value": "true"
  }
}
iterion run workflow.bot --recipe fast_review.json

Recipes can override variables, prompts, budgets, and define success criteria for automated evaluation.