Autoresearch

0•

Automates codebase optimization through a goal-directed loop of discovery, atomic modifications, and metric-based verification.

Autoresearch is an autonomous optimization agent designed to iteratively improve codebases against specific, measurable goals. It begins by discovering the project's ecosystem—detecting build systems, test runners, and linters—to establish a baseline metric. Using a 'modify-commit-verify' loop, the skill attempts atomic changes and uses either mechanical shell outputs or LLM-based rubric scoring to decide whether to keep or revert the modification. With strict safeguards like automatic rollbacks, complexity gating, and a read-only guard file policy, Autoresearch ensures continuous, safe improvement without manual intervention.

Key Features

01Iterative optimization loop with automatic git commits and hard resets.
02Autonomous project discovery for JS/TS, Go, Rust, Python, and more.
03Detailed results logging and periodic subagent audits to prevent local maxima.
04Dual-mode verification using mechanical metrics or LLM-as-judge rubrics.
050 GitHub stars
06Complexity gating to prevent code bloat by discarding marginal gains.

Use Cases

01Improving performance metrics such as function execution time or memory usage through targeted code changes.
02Refining code quality or documentation adherence by using LLM scoring to guide architectural improvements.
03Reducing application bundle sizes or build times by iteratively refactoring dependencies and configurations.