Skip to main content

Git-backed experiment loops for coding agents

Project description

autoevolve

screenshot

autoevolve lets coding agents run git-backed experiment loops autonomously. It gives agents a lightweight workflow for branching, recording results, and comparing experiments without needing heavy external dependencies, databases, or services.

Run it inside an existing project, let it set up the files your coding agent needs, and then let the agent iterate through experiments, branch into new research directions, and explore ideas on its own.

Install

pip install autoevolve-cli

Quickstart

1. Initialize autoevolve in an existing git repo:

autoevolve init

autoevolve init walks you through the setup for your coding harness and problem:

  • SKILL.md or PROGRAM.md: the instructions your coding agent reads to use autoevolve
  • PROBLEM.md: the goal, metric, constraints, and validation setup for your problem

For an example problem to try, see the circle packing example repo.

2. Tell your agent to read PROGRAM.md or activate the skill depending on your setup:

Read PROGRAM.md, then start working.

# If using skills
$autoevolve  # Codex
/autoevolve  # Claude Code

From there, your agent should start working in the repo as usual. Experiment commits will include:

  • EXPERIMENT.json: the structured record of the experiment, including summary, metrics, and any references to other experiments
  • JOURNAL.md: the narrative record of the experiment, which could include the hypothesis, changes made, outcomes, reflections, etc.

3. Start the TUI to monitor your agent's progress:

autoevolve dashboard

CLI

Here’s the CLI surface: Human commands handle setup and monitoring, Lifecycle manages experiments, and Inspect and Analytics help your agents review the experiment state.

Usage: autoevolve [OPTIONS] COMMAND [ARGS]...

  Git-backed experiment loops for coding agents.

Options:
  --help  Show this message and exit.

Human:
  init       Set up PROBLEM.md and agent instructions.
  validate   Check that the repo is ready for autoevolve.
  update     Update detected prompt files to the latest version.
  dashboard  Open the experiment dashboard.

Lifecycle:
  start      Create a managed experiment branch and worktree.
  record     Validate, commit, and remove the current managed worktree.
  clean      Remove stale managed worktrees for this repository.

Inspect:
  status     Show the current experiment status.
  log        Show experiment logs.
  show       Show experiment details.
  compare    Compare two experiments.
  lineage    Show experiment lineage around one ref.

Analytics:
  recent     List the most recent recorded experiments.
  best       List the top experiments for one metric.
  pareto     List the Pareto frontier for selected metrics.

Examples:
  autoevolve start tune-thresholds "Try a tighter threshold sweep" --from 07f1844
  autoevolve record
  autoevolve log
  autoevolve recent --limit 5
  autoevolve best --max benchmark_score --limit 5

Run "autoevolve <command> --help" for command-specific details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoevolve_cli-0.1.0.tar.gz (563.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autoevolve_cli-0.1.0-py3-none-any.whl (46.8 kB view details)

Uploaded Python 3

File details

Details for the file autoevolve_cli-0.1.0.tar.gz.

File metadata

  • Download URL: autoevolve_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 563.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for autoevolve_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bf7d5ed1d3c7436ca36c06b3d14c7a935065c576a51fb69d80712ec0edb0d829
MD5 3a598ec36954bd900ccf268b2966b852
BLAKE2b-256 17297f81726c0eb616b77148d1aadfaa761e7bb63a4afc57a38b4c6d0aae0d18

See more details on using hashes here.

Provenance

The following attestation bundles were made for autoevolve_cli-0.1.0.tar.gz:

Publisher: publish.yml on wiskojo/autoevolve

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file autoevolve_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: autoevolve_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 46.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for autoevolve_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5dd48065d56409b8d501e70910f14e29c91bfa71ee0e1033b659dba3ee31bae
MD5 902def853166b51592b0fa9e83119f2f
BLAKE2b-256 af60f7aa280b9452187f8ff921d3ecc34e8792d42b57558e0d5ef3d6a15e3313

See more details on using hashes here.

Provenance

The following attestation bundles were made for autoevolve_cli-0.1.0-py3-none-any.whl:

Publisher: publish.yml on wiskojo/autoevolve

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page