recipe command manages reusable agent recipes.
Usage
Commands
Run Options
Output Modes
Examples
List recipes
Run a recipe
Run with status output
Run with trace output
Run with input
List Recent Runs
Every run is recorded automatically. List past runs to find a Run ID forrecipe judge.
Judge a Trace
Score a recorded trace (or run ID) with an LLM judge. Use-g/--goal to state what the recipe was supposed to achieve.
Fixed in PraisonAI PR #4946.
-g/--goal was declared (and shown in this command’s own example) but dropped. It now threads through both judge_trace(recipe_goal=...) and the plan generator (generate_plan_from_report(..., goal=...)). Precedence: an explicit --goal overrides any recipe_goal extracted from the recipe YAML.Create Recipe from Goal
Create a complete recipe from a natural language goal. The AI automatically:- Generates
agents.yamlwith appropriate agents - Selects relevant tools based on the goal
- Creates
TEMPLATE.yamlmetadata - Runs optimization loop (3 iterations by default)
1
Run Create Command
2
Recipe Generated
Creates folder with
agents.yaml, TEMPLATE.yaml, and tools.py3
Auto-Optimization
Runs 3 optimization iterations with AI judge feedback
Create Options
Examples
Optimize Existing Recipe
Improve an existing recipe using AI judge feedback. Runs the recipe, evaluates output, and applies improvements.1
Run Optimize
2
Target Specific Area
Optimize Options
See Also
- Recipes - Recipe details
- Recipe Registry - Recipe registry

