Autoresearch: Autonomous Iteration Engine

Turn Claude Code, OpenCode, or OpenAI Codex into a relentless improvement engine: set a goal, define a metric, and let it iterate modify→verify→keep/discard automatically.

Stars
★ 6.8k
Last updated
17d ago
License
MIT
Primary language
Shell

At a glance

How it runs
Agent plugin / skillCLI
Works with
Platform-specificCodex · Claude CodeChatGPT (Unsupported)
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Claude CodeOpenCodeOpenAI CodexNode.js (for Codex)Shell / CLI
Typical use
A frontend developer wants to boost test coverage: run /autoresearch in Claude Code with a Goal and Metric, letting it iterate until 90% coverage.
Not a fit if
  • Teams not using Claude Code, OpenCode, or Codex — it cannot run on ChatGPT or other non-coding agents
  • Users whose goals lack a mechanically verifiable metric; subjective work needs extra setup
  • Anyone unable to monitor long autonomous runs that consume significant time and tokens
Maintenance
Commits in the last 30 dayslast commit 2026-10-31latest release v2.3.0 (2026-10-31)+3.0 ★/day over 7 days

What does this agent do, and when should you use it?

Autoresearch is a skill pack built on Karpathy's autoresearch principles, providing 14 commands and 9 safety hooks for Claude Code, OpenCode, and OpenAI Codex. It transforms one-off code improvements into an automated loop of modify→verify→keep/rollback, making one focused change per iteration and evaluating it with mechanical metrics (test coverage, performance) while auto-reverting failures via git. v2.2.0 introduces an autonomous orchestrator: type a plain-language goal, and it classifies it, derives a success predicate, and loops across subcommands until done. Architecturally, v2.1.0 replaced the monolithic 813-line SKILL.md with a 41-line routing file and 12 self-contained command files, slashing token usage by 95% per invocation. The skill installs into Claude Code (plugin or npx), OpenCode, and Codex, covering everything from coding, debugging, security audits, to product improvement.

It provides a full command suite: /autoresearch runs the classic iteration loop (review state → pick one change → commit → run verification → keep or revert); /autoresearch:plan converts a natural-language goal into a validated config; /autoresearch:debug iteratively hunts bugs using hypotheses; /autoresearch:fix auto-repairs errors to zero; /autoresearch:security performs STRIDE/OWASP audits; /autoresearch:ship drives releases through 8 phases; /autoresearch:scenario generates edge cases across 12 dimensions; /autoresearch:predict simulates 5 expert personas; /autoresearch:learn auto-generates docs; /autoresearch:reason runs adversarial debate with blind judges; /autoresearch:probe interrogates requirements with 8 adversarial personas; /autoresearch:improve researches ICP and produces PRDs; /autoresearch:evals analyzes historical result trends; /autoresearch:regression gates stability with STABLE/UNSTABLE verdicts. Every command ships with bounded default iterations, supports Guard commands to prevent regressions, logs results in TSV, and supports --chain chaining. Installation is via npx, plugin, guided script, or manual copy.

  1. A frontend developer wants to boost test coverage: run /autoresearch in Claude Code with a Goal and Metric, letting it iterate until 90% coverage.
  2. A backend team faces many failing tests before CI: use /autoresearch:fix to automatically repair all errors until passing.
  3. A security engineer needs periodic STRIDE/OWASP audits: run /autoresearch:security and get a structured report with code evidence.
  4. A product manager wants to derive requirements for a new feature: use /autoresearch:probe to surface constraints and /autoresearch:improve to generate PRDs.
  5. A developer before release needs to ensure no regressions: run /autoresearch:regression to get a STABLE/UNSTABLE verdict.
  6. A maintainer wants to generate docs for an existing codebase: /autoresearch:learn --mode init creates reference docs and architecture diagrams.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx skills add uditgoenka/autoresearch

How do you install or deploy this agent?

Installation varies by platform:

Claude Code (recommended via npx):

npx skills add uditgoenka/autoresearch

Or via plugin:

/plugin marketplace add uditgoenka/autoresearch
/plugin install autoresearch@autoresearch

Or manually copy the .claude directory into your project or globally. Or use the guided installer:

git clone https://github.com/uditgoenka/autoresearch.git
cd autoresearch
./scripts/install.sh --claude --global

OpenCode:

./scripts/install.sh --opencode --global

Codex:

./scripts/install.sh --codex --global

How do you use this agent?

After installation, invoke commands directly in your Claude Code session. Example:

/autoresearch
Goal: Increase test coverage from 72% to 90%
Scope: src/**/*.test.ts, src/**/*.ts
Metric: coverage % (higher is better)
Verify: npm test -- --coverage | grep "All files"
Iterations: 25

Or use the orchestrator mode:

/autoresearch help me fix the login bug

Useful subcommands:
- /autoresearch:plan to turn goals into configs.
- /autoresearch:debug to hunt bugs.
- /autoresearch:security for audits.
- /autoresearch:ship to release.

If you're on OpenCode, use underscore naming (/autoresearch_debug); on Codex, use $autoresearch debug syntax.

What are this agent's strengths and limitations?

Pros
  • Dramatically reduces token usage: v2.1.0 cut tokens per invocation by 95% (from ~100K to 5-8K).
  • Ships with 9 safety hooks that block reading sensitive files (.env, keys), dangerous commands (force-push, rm -rf), etc.
  • Supports three major agent platforms (Claude Code, OpenCode, Codex) with unified installation scripts.
  • Every command has a bounded default iteration count, preventing infinite loops; failed changes auto-revert via git.
  • Rich command set covers the entire dev workflow: planning, debugging, fixing, security, shipping, scenario generation, doc generation.
Limitations
  • Core dependency on Claude Code's Skill system; though ports exist for OpenCode and Codex, installation is more complex (manual copy or scripts).
  • Not compatible with ChatGPT or other non-coding agents; cannot be used there.
  • Requires users to provide a mechanically verifiable metric; for hard-to-quantify goals (e.g., subjective design) you need extra setup (like /autoresearch:reason).
  • Requires a session restart after install for commands to resolve — a platform limitation.
  • Even bounded iterations can consume significant time and tokens; users need to monitor long runs.

How does this agent compare with similar options?

Compared to Karpathy's original autoresearch, this repository generalizes it beyond ML models to any domain, adds 14 commands and safety hooks, and supports multiple agent platforms.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Autoresearch: Autonomous Iteration Engine This agent 54 · Major gaps Agent plugin / skillFree + model costs ★ 6.8k 17d ago Shell Codex · Claude Code
Maestro Orchestration Platform 64 · Some gaps Agent plugin / skillFree + model costs ★ 490 28d ago JavaScript Codex · Claude Code
gnhf (Good Night, Have Fun) 55 · Major gaps CLIFree + model costs ★ 4.3k today TypeScript Codex · Claude Code
Ordewell 87 · Good CLIFree + model costs ★ 210 today TypeScript Codex · Claude Code · OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
54/ 100 5-point scale 2.7 / 5
Trust 14/29
Reliability 5/14
Adaptability 14/18
Convention 10/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

Safety invariants prohibit pushing, publishing, or deploying without explicit approval; bounded defaults, iteration logs, and git rollback provide meaningful confirmation and recovery support. The packet also describes hooks that block access to sensitive files and an optional Slack webhook, but says the hooks are defense in depth rather than a sandbox; the pi entry point says guardrails fail open. Evidence for permission isolation, data retention, and a complete outbound-data inventory is thin, as is dependency-security evidence.

Reliability5 / 14 · 1.8/5

The packet lists cross-platform installation, CI workflows, and test scripts, but this static review did not run them. README and AGENTS.md differ on default iteration counts, hooks, and command surfaces; platform skill files also differ in paths and capability descriptions. Some maintenance mechanisms are traceable, but evidence about failure messages and runtime reliability is limited.

Adaptability14 / 18 · 3.9/5

The product targets Claude Code, OpenCode, Codex, pi, and Muse, and gives scenarios across code, content, marketing, and DevOps with many commands and options. Its core is bounded iteration toward measurable goals, but the claim of applicability to anything measurable is broad and depends on users defining sound metrics, scope, and verification. Platform installs and hook capabilities vary, so boundaries are stated but incomplete.

Convention10 / 18 · 2.8/5

README, skill files, guides, and install examples provide a reasonably organized information structure, command examples, task guidance, and an MIT license. Version numbers are visible, but the supplied excerpts do not establish a complete change history, maintenance responsibility, or support path. Documentation differs on iteration defaults and platform capabilities, and command names vary by platform.

Effectiveness7 / 13 · 2.7/5

The loop, verification, keep-or-revert decisions, result logs, and subcommands offer a usable workflow with clear potential value. Multi-platform support and orchestration add usage complexity; if a metric fails to represent behavioral quality, optimizing it can diverge from the user's actual goal. The material calls for independent acceptance, but users still need to supply appropriate guardrails.

Verifiability4 / 8 · 2.5/5

README and skill files state concrete invariants, commands, defaults, and procedures, while test and CI files provide traceable verification leads. Most support is internal to this project rather than independent corroboration; promotional claims such as token reduction are not directly verified by the supplied excerpts. Test files are evidence of test intent, not evidence that this review executed or confirmed their results.

Risks and how to mitigate them
  • The loop edits the workspace and runs user-configured verification commands; constrain scope, use a recoverable git workspace, and configure an independent guard for behavioral correctness.
  • Hooks are not a security boundary, and pi guardrails fail open; do not rely on them as the sole protection for sensitive data or dangerous operations.
  • Check the skill and command paths for the selected platform before installing; README and AGENTS.md differ on defaults and platform capabilities.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 7bddd056dfd0
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/autoresearch.svg)](https://followagents.com/en/agents/autoresearch)
<a href="https://followagents.com/en/agents/autoresearch"><img src="https://followagents.com/badge/autoresearch.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2.3.0 v2.3.0 — pi, Muse and Fork-and-Flush
    Release notes excerpt
    What's new in v2.3.0 Highlights pi extension (#122, thanks @jbanety) - autoresearch now runs in the pi coding agent. The extension ports the Claude hooks to pi events: scout, privacy and dangerous-command blocks, iteration context, dev rules, simplify gate, session init, stop notification and subagent context. - Every hook fails open and honors the same AR_DISABLE_* env flags as the Claude hooks. - The 14 autoresearch commands ship as pi prompt templates (/autoresearch, /autoresearch_debug, ...). The dispatcher is a pi skill (/skill:autoresearch). …
    View on GitHub ↗
  2. v2.2.3
    Release notes excerpt
    What's new in v2.2.3 Guard hooks only run during an autoresearch run (#125, #123) - scout-block, dangerous-cmd-block, simplify-gate and dev-rules-reminder no longer fire in sessions that are not running autoresearch. - A run is active after you type /autoresearch, when the model loads the autoresearch skill, or while a results TSV was written in the last 30 minutes. - The run flag now survives compact and resume. - privacy-block stays global. Fewer false blocks …
    View on GitHub ↗
  3. v2.2.2 Autoresearch v2.2.2 — Stabilization Release
    Release notes excerpt
    Autoresearch v2.2.2 is a stabilization release focused on truthful platform support, self-contained installs, and release confidence. Highlights - Portable Claude Code guardrails now cover native Windows with Git Bash as well as macOS and Linux. - Sensitive-file operations use the host native permission boundary; the forgeable APPROVED: path-prefix flow is removed. - Hook failures are visible and redacted, while guardrails remain explicitly documented as defense in depth rather than a security sandbox. …
    View on GitHub ↗

FAQ

What runtime environment do I need?
You need to have Claude Code, OpenCode, or OpenAI Codex installed. For Codex, Node.js is also required. Git is needed for automatic commits and rollbacks.
Is it safe? Could it break my code?
Nine safety hooks are enabled by default to block access to sensitive files and dangerous commands. Every change is committed first, and failures are auto-reverted via git revert. You can also set a Guard command to prevent regressions.
What if I don't know which metric to use?
Use /autoresearch:plan. It analyzes your codebase, suggests metrics, and dry-runs the verify command before launching.
Can it work for non-code tasks?
Yes. The documentation states it works for any task with a measurable metric, such as sales emails, marketing copy, or HR policies.
How do I stop the loop?
Press Ctrl+C or add Iterations: N to your inline config. Since it commits before verifying, your last successful state remains in git.
Is Autoresearch: Autonomous Iteration Engine free?
The software is free, but Autoresearch: Autonomous Iteration Engine calls an AI model, and you pay that model provider for usage (or run a local model).
Is Autoresearch: Autonomous Iteration Engine open source?
Yes. The source code is on GitHub (uditgoenka/autoresearch) under the MIT licence.
Is Autoresearch: Autonomous Iteration Engine still maintained?
Yes. The latest commit on GitHub is from 2026-10-31, within the last 30 days. The latest release is v2.3.0 (2026-10-31).
Who makes Autoresearch: Autonomous Iteration Engine?
Autoresearch: Autonomous Iteration Engine is published on GitHub by the account uditgoenka. FollowAgents has not verified which person or company is behind that account.
What is Autoresearch: Autonomous Iteration Engine's official website?
The project's GitHub repository lists https://udit.co/projects/autoresearch as its website. That link is set by the repository owner; the source code itself is on GitHub (uditgoenka/autoresearch).
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts