Autoresearch

0•

Automates iterative, hypothesis-driven code and prompt optimization through structured evaluation loops, baseline tracking, and regression checks.

Autoresearch provides an autonomous, scientific optimization workflow for Claude Code on tasks with measurable evaluation metrics. It guides setup through a structured decision-tree interview to define target metrics, evaluation commands, modifiable paths, and regression boundaries. During execution, it tests one falsifiable hypothesis at a time, measures improvements against an established baseline, automatically discards unverified changes, and commits validated gains with clean ledger tracking. It is ideal for optimizing prompts, system configurations, algorithmic performance, and code generation outputs where repeatable benchmark evaluations exist.

Key Features

01Interactive decision-tree setup for establishing baselines, targets, budgets, and safe boundaries
02Isolated single-hypothesis experimentation loop preventing overlapping variables
03Automated keep-or-discard mechanism that reverts failures and commits verified gains
04Persistent audit ledger tracking state, iteration metrics, and deltas in `.autoresearch/`
05Built-in regression checks ensuring critical secondary tests and constraints never degrade
060 GitHub stars

Use Cases

01Tuning LLM system prompts and agent configurations to maximize benchmark pass rates
02Iteratively refactoring algorithms and query pipelines to reduce execution latency or memory footprint
03Optimizing compiler flags, bundle sizes, or application performance parameters against fixed test suites