Codex Autoresearch
A Codex plugin that runs bounded software experiments, keeps what improves the benchmark, discards what does not, and records the evidence
- Status
- v2.7.2 released
- Works in
- Local Git repositories
- Distribution
- Codex plugin marketplace
- License
- Apache 2.0
Overview
What it is
Codex Autoresearch turns a vague improvement request into a sequence of bounded, measurable software experiments.
You give it a goal, a benchmark, correctness checks, and an edit boundary. It measures a baseline, runs small attempts, keeps the useful results separate from dead ends, and writes a durable ledger that another session can resume without reconstructing the story.
The loop works for repeatable performance metrics and for source-backed quality-gap checklists. It is intentionally local and Git-aware; the optional dashboard reads the evidence but never becomes the control plane.
Capabilities
What it does
- 01
Starts with a boundary
Records the goal, metric, benchmark, checks, time or attempt budget, and the exact files an experiment may change.
- 02
Establishes a baseline
Measures the current result before changing code and checks that the benchmark can be trusted.
- 03
Makes each attempt reviewable
Runs one measured attempt at a time and records the command, result, score, changed files, and notes.
- 04
Remembers what worked
Keeps improvements, discards regressions and dead ends, and preserves the reasoning in a durable project ledger.
- 05
Hands off deliberately
Shows review-branch candidates before changing branches, so finalization begins as a read-only decision.
- 06
Makes the evidence visible
Offers an optional read-only dashboard for metric history, blockers, next actions, and finalization state.
Under the hood
Engineering decisions
- Hardest constraint
Make the loop resumable without hiding state
An experiment can span several attempts, Git states, processes, and Codex sessions. The difficult part is preserving enough state to resume safely without letting old measurements or half-finished mutations pass as current evidence.
- Design decision
Keep the ledger, not the dashboard, in charge
The append-only local ledger is authoritative; the dashboard only reads and explains it. That makes parsing and recovery stricter, but a browser tab can never become a second control plane or the only place the experiment still makes sense.
- Verification
Test the decision loop end to end
Every candidate has to beat its declared baseline and pass correctness checks before it is kept. The plugin’s operator-task benchmark and hostile-workflow tests exercise the same decisions across setup, runs, recovery, and finalization.
Project links

