Autoresearch Agent

•
25
•

Automates iterative experimentation loops to optimize code, prompts, and content based on measurable performance metrics.

The Autoresearch Agent is an autonomous optimization engine that implements a continuous experiment loop to improve specific files through measured feedback. Inspired by Karpathy’s autoresearch concept, the agent performs single-variable edits, executes performance benchmarks, and uses git to automatically commit improvements while discarding failures. Whether you are fine-tuning API response times, reducing bundle sizes, or optimizing LLM prompts, this skill allows the agent to work through dozens of iterations independently to find the most efficient solution based on data rather than intuition.

Key Features

01Interactive setup for defining targets, metrics, and success directions (higher vs. lower)
02Autonomous experiment loops with git-backed version control and automatic rollbacks
0325 GitHub stars
04Real-time progress dashboard with cross-experiment result tracking and TSV/CSV exports
05Standardized evaluation framework for speed, size, pass rates, and quality metrics
06Flexible domain support covering engineering, marketing, and prompt engineering with built-in evaluators

Use Cases

01Optimizing API performance and latency by testing multiple algorithmic refactors overnight
02Reducing JavaScript bundle sizes or Docker image footprints through iterative code removals
03Refining system prompts and marketing copy using LLM-based evaluators to maximize engagement scores