# Repository Briefing: uditgoenka/autoresearch
> Source: https://repoforai.com/repo/uditgoenka/autoresearch (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/uditgoenka/autoresearch
- **Official Docs / Website**: https://udit.co/projects/autoresearch
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Shell
- **License**: MIT
- **Engineering Health**: A+ (92/100 · Maintenance 35/35 · Adoption 17/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v2.3.01 (2026-11-28) — https://github.com/uditgoenka/autoresearch/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI
- **Momentum**: 6,903 ★ total (+4 24h / +32 7d) · 493 forks
- **Topics**: `ai`, `autonomous-agent`, `autoresearch`, `claude`, `claude-code`, `iteration`, `karpathy`, `productivity`, `skill`
- **When to Use**: Best for: Teams optimizing bundle size, test coverage, or performance in a scoped Git checkout with a stable metric, an independent acceptance check, and a capped trial budget. Skip if: Success requires subjective review on every iteration, verification is too slow or noisy to guide search, or you need a standalone MCP service or hard isolation.

## Overview
```text
### Architecture & Core Mechanics
Autoresearch runs inside an existing coding agent as a skill or extension. Its slash commands are host entry points, not an exposed MCP tool API. The v2.1.0 redesign split a monolithic SKILL.md into a thin router and self-contained command files. Shell scripts support installation and runtime tooling; the root package.json serves as pi's extension-loading manifest, not a server entry point.

The host agent proposes changes against a scoped baseline. Each trial makes one focused change, commits it before mechanical verification, then keeps an improvement or reverts a regression. Git preserves experiment history, while a TSV log records the outcomes. Users can supply the metric and verification command directly or let the orchestrator choose a pipeline from a plain-language goal.

### Key Capabilities & Differentiators
The classic loop defaults to 25 iterations; unbounded operation is opt-in. Planning turns a goal into an editable file scope, a numeric metric, an optimization direction, and a dry-run verification command, then writes handoff.json. A separate Guard can check behavior that the optimization metric cannot certify. The evals command analyzes best iterations, stalls, and trends from results TSV files, while regression compares baseline and candidate stability.

Fork-and-flush gives the loop a way to change course at 33% and 66% of the budget or after five iterations without a keep. Short trials restart from the best commit with fresh context; an adjustable split lets some branches choose their own experiments while a stateless Advisor assigns distinct experiments to others using the results log.

### Trade-offs & Limitations
Compared with a one-off coding-agent session, Autoresearch adds a baseline, a repeatable acceptance process, and a reviewable experiment history at the cost of setup and repeated verification. Compared with a fixed CI job or custom script, it can propose the next change rather than just execute known steps, but that makes runs less predictable. A noisy benchmark can select a lucky result, and a narrow metric can reward changes that miss the real goal.

Hooks help block some sensitive reads and destructive commands, but they are not a sandbox. Claude Code and pi provide those guardrails; OpenCode, Codex, and Muse do not have hook parity. Start with a bounded run in an isolated checkout and review the retained changes before merging. Slow verification and forked trials can increase runtime and model usage even when the skill itself is lightweight.

### Hardware & Deployment Guide
Use an existing Claude Code, OpenCode, Codex, pi, or Muse installation, a Git checkout, and whatever tooling your verification command needs. Claude Code supports `npx skills add uditgoenka/autoresearch`, a marketplace plugin, and manual installation; the npx path requires an environment that provides npx. Start a fresh session after installing. OpenCode can use `./scripts/install.sh --opencode --global`, and pi can load the extension with `pi install git:github.com/uditgoenka/autoresearch`.

There is no separate service or model runtime to provision for the skill. Offline operation depends on the host's model setup and the verification command. The v2.3.0 release added the pi extension and its event-based guardrails; v2.3.01 corrected how the orchestrator reports runs with `pending_verify` still set.
```

## Key Capabilities
```text
- Git-backed experiments: Commit each focused change before verification, revert regressions, and record outcomes in TSV.
- Independent acceptance: Use a numeric metric to rank experiments and a separate Guard command to check behavior that the metric cannot certify.
- Plateau handling: At 33% and 66% of the budget, or after five iterations without a keep, try fresh-context branches from the best commit.
- Planning handoff: Resolve editable scope, validate numeric output, dry-run verification, and emit handoff.json.
- Run analysis: Read current and v2.0.x results TSV files to identify the best iteration, stalled progress, and whether to continue.
- Host integration: Five coding agents support the core workflow; Claude Code and pi additionally provide hook-based guardrails.
```

## Quick Start / Clone
```bash
npx skills add uditgoenka/autoresearch
```
