The optimizer runs your recipe, evaluates the output, and applies improvements iteratively.
Quick Start
How It Works
Options
| Option | Description | Default |
|---|---|---|
--iterations | Maximum optimization iterations | 3 |
--threshold | Score threshold to stop (1-10) | 8.0 |
--input, -i | Input data for recipe runs | None |
Examples
- Basic
- Targeted
- High Quality
- With Input
Optimize with defaults:
What Gets Improved
The AI judge evaluates and improves:Task Achievement
Task Achievement
Did the agent accomplish what it was asked to do?
Output Quality
Output Quality
Does the output match expected format and contain useful information?
Instruction Following
Instruction Following
Did the agent follow specific instructions, format, and constraints?
Error Handling
Error Handling
How well did the agent handle errors and edge cases?
Score Interpretation
| Score | Quality | Action |
|---|---|---|
| 9-10 | Excellent | Ready for production |
| 7-8 | Good | Minor improvements possible |
| 5-6 | Fair | Needs optimization |
| 1-4 | Poor | Significant issues |

