How To Use Overmind
Step-by-step guide to run your first Overmind optimization loop.
Overmind is the fastest way to improve an existing Python agent with measurable, regression-aware changes.
1) Install
Section titled “1) Install”pip install overmind2) Initialize your project
Section titled “2) Initialize your project”From your agent project root:
overmind initThis creates .overmind/ and collects required API keys and model defaults.
3) Register your agent entrypoint
Section titled “3) Register your agent entrypoint”overmind agent register my-agent agents.my_agent:runYour entrypoint should accept a dictionary input and return a dictionary output.
4) Set up policy + evaluation
Section titled “4) Set up policy + evaluation”overmind setup my-agentYou can also bring your own policy document:
overmind setup my-agent --policy docs/my_policy.md5) Run optimization
Section titled “5) Run optimization”overmind optimize my-agentOvermind will:
- run your agent against a dataset
- trace and score outputs
- generate candidate fixes
- keep only changes that improve results
6) Review artifacts
Section titled “6) Review artifacts”Results are written to:
.overmind/agents/<name>/setup_spec/.overmind/agents/<name>/experiments/
You can inspect report.md, review diffs, and continue iterating.