AutoResearch
Automates iterative optimization of code, prompts, and configurations using an autonomous hill-climbing loop.
AutoResearch is a specialized Claude Code skill that implements an autonomous optimization loop inspired by Andrej Karpathy's research workflow. It orchestrates subagents to iteratively modify files—such as Python scripts, SQL queries, or LLM prompts—evaluating changes against a specific scalar metric to keep improvements and revert regressions. By combining a systematic 'hypothesize-edit-evaluate' cycle with human-defined constraints, it enables continuous, unattended performance tuning for any domain with a measurable objective.
Key Features
01Integrated scaffold system with automated configuration and result logging
020 GitHub stars
03Multi-domain support including code performance, prompt engineering, and config tuning
04Autonomous hill-climbing loop for iterative performance improvements
05Comprehensive summary reporting with baseline comparisons and improvement percentages
06Git-integrated version control to track and commit every successful optimization
Use Cases
01Refining LLM prompt templates to maximize accuracy on a benchmark dataset
02Tuning infrastructure configurations like Nginx or build flags for throughput
03Optimizing Python script execution time or SQL query performance