Autoresearch Agent

0•

Executes autonomous, metric-driven experiment loops to iteratively optimize code, prompts, and content using git commits.

Inspired by Karpathy's autoresearch pattern, the Autoresearch Agent automates iterative optimization across code, prompts, and copy by running continuous feedback loops. The agent systematically edits a target file, runs a defined evaluation command, commits measurable improvements, and reverts regressions using Git. Designed for unattended overnight optimization, it allows developers to systematically reduce API latency, trim bundle sizes, increase test pass rates, or tune system prompts while tracking every iteration in a structured dashboard.

Key Features

01Built-in zero-cost evaluators for execution speed, memory usage, build time, and test pass rates
02LLM-as-a-judge evaluators for automated assessment of prompt quality and content engagement
03Multi-domain support spanning backend performance, bundle size, system prompts, and marketing copy
04Autonomous iterative experiment loop with automated git commit and reset controls
050 GitHub stars
06Comprehensive experiment tracking dashboard with export support for TSV, CSV, and Markdown

Use Cases

01Optimizing code speed, API response times, and memory consumption against benchmark suites
02Iteratively refining LLM system prompts and agent instructions to boost quality scores
03Minimizing frontend bundle sizes or Docker container footprints through continuous micro-refactoring