Skip to content

autoresearch-agent

Autonomous experiment loop that optimizes any file by a measurable metric. Inspired by Karpathy's autoresearch. The agent edits a target file, runs a fixed evaluation, keeps improvements (git commit), discards failures (git reset), and loops indefinitely. Use when: user wants to optimize code speed, reduce bundle/image size, improve test pass rate, optimize prompts, improve content quality (headlines, copy, CTR), or run any measurable improvement loop. Requires: a target file, an evaluation command that outputs a metric, and a git repo.

Repository Source folder

Details

Path
engineering/autoresearch-agent/skills/autoresearch-agent
License
MIT
Bundled scripts
3
Dependencies
2

Bundled scripts

  • engineering/autoresearch-agent/skills/autoresearch-agent/scripts/setup_experiment.py
  • engineering/autoresearch-agent/skills/autoresearch-agent/scripts/log_results.py
  • engineering/autoresearch-agent/skills/autoresearch-agent/scripts/run_experiment.py

FAQ