Getting started

Your first successful cap-evolve run, in two minutes, with no API key. Clone, install the core, run the toy example, open the dashboard.

Prerequisites

Python 3.10+ and git. That's it — the toy run calls no model and needs no credentials.

Clone and enter

git clone https://github.com/skillberry-ai/cap-evolve.git
cd cap-evolve

Create a clean environment and install the core

python3 -m venv .venv && source .venv/bin/activate
pip install ./core          # package: cap-evolve-core · CLI: cap-evolve · zero runtime deps
cap-evolve version          # verify

If your default pip index requires auth, append --index-url https://pypi.org/simple.

Run the zero-API toy example

toy_calc is a deterministic stand-in agent that only answers correctly when its system prompt contains a [CALC] marker. The mock optimizer adds the marker, so the score provably rises — no model is called.

bash examples/toy_calc/run.sh

What you saw

The seed prompt scores 0.0 on val; the optimized prompt clears the acceptance gate and scores 1.0 on the sealed test split:

baseline_val 0.0  ->  test_reward 1.0   (gate-accepted, test sealed) + dashboard.html

This is exactly what core/tests/test_e2e_slice.py asserts. The script prints a working directory; open the dashboard.html it writes in any browser to see the run — KPIs, per-iteration diffs, and the tasks × iterations heatmap.

cap-evolve dashboard: KPI tiles and a 'Fitness over iterations' step chart rising from baseline to best.
The dashboard run.sh writes — KPIs up top and fitness climbing across iterations. (Shown here from a real benchmark run, not the toy.)

Where to next

Run a real benchmark

Take the same loop end-to-end on a real capability and eval, with a live optimizer and runner.

Optimize your own agent

Wire the 3-method adapter to your agent + benchmark and let cap-evolve improve it.

See the results

Honest fit-metric and held-out numbers from real runs — baseline val → best val → sealed test.