Autoresearch Agent

•
18k
•

Automates an iterative experiment loop to optimize code speed, file size, or content quality based on measurable metrics.

The Autoresearch Agent is an autonomous optimization tool inspired by Karpathy's autoresearch project. It executes a continuous loop of editing a target file, running a fixed evaluation, and committing improvements while discarding failures. Whether you are aiming to reduce bundle sizes, improve API response times, or optimize LLM prompt effectiveness, this skill manages the repetitive process of trial-and-error measurement, allowing developers to focus on high-level strategy while the agent handles the heavy lifting of empirical refinement.

Key Features

01Pre-built evaluators for speed, size, test pass rates, and LLM-based judgments
02Interactive setup for project-level or user-level experiment scopes
03Autonomous experiment loop with git-based rollback and persistence
04Standardized metrics tracking for engineering, marketing, and prompt engineering
05Detailed performance dashboard and exportable experiment logs
0617,930 GitHub stars

Use Cases

01Reducing JavaScript bundle sizes or Docker image footprints for faster deployments
02Optimizing API performance and reducing latency through systematic code refactoring
03Refining LLM system prompts and marketing copy using AI-driven scoring metrics