uditgoenka

autoresearch: Automate Goal-Driven Iteration in Coding Agents

Built on Andrej Karpathy's autoresearch principles, this skill turns Claude Code, OpenCode, and OpenAI Codex into goal-directed improvement loops. It makes focused changes, checks them against a mechanical metric, and keeps or reverts each result.

Stars
6.7k
Forks
486
Stars, last 30 days
+104
Last commit
2 months ago
Contributors
6

Our take

Activerecent releases

Health score

49/100

How it is scored
Activity
65
Community
26
Issues
44
Pull requests
60

+104 stars in the last 30 days

  • Releases more often than 85% of the projects we track

Autoresearch offers a broad, actively maintained workflow toolkit for coding agents, but adoption means trusting an agent-driven Git loop and accounting for the project's concentrated maintenance.

Good fit if

  • You use Claude Code, OpenCode, or Codex and can express the goal as a measurable result with a repeatable verification command.
  • You want experiments to be isolated, logged, and automatically kept or reverted instead of accepting unverified edits.
  • You are comfortable adopting a fast-moving project with recent releases and activity, while recognizing that most development comes from one contributor.

Look elsewhere if

  • You need equivalent security hooks across all supported platforms, since the documented hooks are Claude Code-only.
  • Your task has no useful mechanical metric or verification method, except where the separate adversarial-reasoning workflow suits the job.
  • You need a security sandbox: the project describes its hooks as guardrails, not isolation from agent actions.
All health signals
Last commit2026-08-12 (2 months ago)
Commits, last 90 days9
Releases, last 12 months46 (latest v2.2.2, 2026-08-12)
Contributors6 (top contributor: 91% of commits)
Issues closed, last 90 days5 (typically closed in 29 days)
Pull requests merged, last 90 days3 (typically merged in 0 days)
Project age7 months

Checked on 2026-10-21 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

6,903

Forks

493

Change since Dec 3, 2026: +5 stars·0 forks

Overview

Autoresearch brings Andrej Karpathy's autoresearch approach to Claude Code, OpenCode, and OpenAI Codex. It helps teams improve software and other measurable work by setting a goal, limiting what an agent can change, and checking each change against a mechanical metric rather than relying on subjective review.

The agent makes one focused change at a time, verifies the result, keeps improvements or reverts regressions, and records outcomes in a results log. Alongside the core loop, the project provides commands for tasks such as debugging, fixing errors, security reviews, and release preparation. It is intended for people who want an agent to run a repeatable improvement process, not just suggest edits.

Key Features

  • Runs metric-based iteration loops with a configurable scope, verification command, and iteration limit.
  • Commits experiments before verification, then keeps successful changes and reverts unsuccessful ones.
  • Logs iteration outcomes in TSV files for later review and analysis.
  • Provides dedicated commands for planning, debugging, fixing, security auditing, scenario generation, and shipping.
  • Supports a plain-language orchestrator mode that selects a workflow and continues until its success condition is met.
  • Installs for Claude Code, OpenCode, or Codex, with shared core skills and platform-specific command formats.
  • Includes Claude Code hooks for guardrails such as blocking access to secrets and dangerous shell commands; these hooks are not available on OpenCode or Codex.

Use Cases

  • A developer wants an agent to raise test coverage or reduce bundle size through bounded, verifiable changes.
  • A team wants to investigate a bug, record tested hypotheses, and then pass confirmed findings into a repair workflow.
  • A maintainer wants to check whether a proposed change regresses existing tests or other measured behavior before shipping.
  • A product or content team wants to iterate on work outside code, provided it can define a measurable success metric and verification method.

What you need

Detected in the repository

  • Shell (main language on GitHub)
  • A test suite and automated checks on GitHub Actions

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

For Claude Code, install the skill with:

npx skills add uditgoenka/autoresearch

Restart Claude Code after installation. See the README for OpenCode and Codex setup, command options, and configuration details.

Alternatives

  • agent-skills: It offers broader software-development workflows, including autonomous sprints, rather than autoresearch’s focused, metric-driven change-and-revert loop.
ProjectLanguageLicenseStarsStatus
autoresearchShellMIT6.7kActive
agent-skillsShellMIT2Active

Considerations

  • The project is actively maintained, with recent commits and frequent releases, but the contributor base is small and most contributions come from one person. Teams should account for that concentration when depending on it for long-lived workflows.
  • The core loop depends on agents making Git commits and running verification commands. Review its scope and commands before using it on important repositories.
  • Hooks provide defense in depth only for Claude Code. They do not create a security sandbox, and equivalent hook protection is not provided for OpenCode or Codex.
  • Results depend on choosing a meaningful metric and a verification command that actually measures it. The project includes a planning command to help define these, but the user still needs to judge whether they represent the goal.

Found this useful?

Share it with someone who would like autoresearch.

Comparisons