Autoresearch Agent
Automates iterative experimentation to optimize code performance, file size, or content quality based on measurable metrics.
The Autoresearch Agent is an autonomous experiment engine for Claude Code that continuously refines your project files through a 'guess, measure, and commit' loop. Inspired by Andrej Karpathy's autoresearch, it systematically modifies a target file, runs a predefined evaluation script, and uses git to persist improvements while discarding regressions. Whether you are optimizing API response times, reducing bundle sizes, or improving LLM prompt quality, this skill provides a structured framework for compounding incremental gains while you focus on higher-level tasks.
Key Features
01Support for built-in LLM-as-a-judge evaluators and custom metric scripts
02Real-time performance dashboards and experiment history logging
03Git-integrated workflow for automatic versioning and reverting of code changes
04Autonomous experiment loops with configurable intervals (hourly, daily, weekly)
05Domain-specific optimization presets for engineering, marketing, and prompts
060 GitHub stars
Use Cases
01Optimizing API speed and memory usage through iterative algorithmic refactoring
02Refining system prompts and agent instructions to achieve higher quality scores
03Minimizing frontend bundle sizes or Docker image footprints via automated experimentation