Iteratively tune a system prompt against a benchmark
When to use: You have a prompt, a benchmark, and the patience for a loop.
Flow
-
Frame the goalUse autoresearch. Goal: maximize score from /bench/run.sh on prompt at /prompts/system.md. Budget 30 iterations.✓ Copied→ Loop starts; first proposal made
-
Watch the traceShow me iterations 5–10 with deltas.✓ Copied→ Trace with score per iteration; kept/discarded marked
-
Stop earlyIf 3 consecutive iterations fail to improve > 1%, stop and report best.✓ Copied→ Convergence guard triggers; best prompt reported
Outcome: Better prompt, with a trace explaining why.
Pitfalls
- Verifier is gameable — score increases without quality — Add a sanity check verifier (LLM judge or held-out set)