AutoResearch

Let coding agents autonomously improve nanochat training on a single NVIDIA GPU.

Stars
★ 101k
Last updated
8mo ago
FARS reviewed
Nov 08, 2026
Primary language
Python

At a glance

How it runs
CLIAgent plugin / skill
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free software; you pay for model usage
Setup effort
High · needs real infrastructure
You'll need
Single NVIDIA GPUPython 3.10+uvPyTorchShell / CLINetwork accessLocal filesystem
Typical use
An ML researcher with one NVIDIA GPU who wants a coding agent to run roughly a hundred short experiments overnight.
Not a fit if
  • Users without a single NVIDIA GPU
  • Teams on macOS, Windows, or AMD hardware
  • Anyone comparing results across different hardware
Maintenance
No commits for 6+ monthslast commit 2026-03-26+48.1 ★/day over 7 days

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

AutoResearch is an autonomous experimentation framework built around a small but real LLM training workload derived from nanochat. Its three central components are prepare.py for fixed data and evaluation utilities, train.py for the agent-editable model and training loop, and program.md for human-authored agent instructions. Every experiment receives a fixed five-minute wall-clock training budget and is judged using val_bpb, where lower is better. An agent can repeatedly change the architecture, hyperparameters, optimizer, and batch size, then keep or discard each result and leave a log of the experiments. It is a self-hosted research workflow requiring local file and shell access, networked data preparation, and one NVIDIA GPU—not a hosted service or a general-purpose training platform.

The workflow begins with uv run prepare.py, which downloads training data, trains a BPE tokenizer, and provides the dataloader and evaluation utilities. Claude Code, Codex, or another coding agent then reads program.md and edits only train.py, which contains the complete GPT model, Muon + AdamW optimizer, and training loop. Each candidate is trained with uv run train.py for a fixed five-minute budget and evaluated through val_bpb. The agent keeps an improvement, discards a regression, and repeats while recording an experiment log. Humans change program.md to refine the research strategy; prepare.py is intentionally fixed.

  1. An ML researcher with one NVIDIA GPU who wants a coding agent to run roughly a hundred short experiments overnight.
  2. An agent-workflow developer comparing different program.md instructions to see which research strategy produces faster progress.
  3. A nanochat user searching architectures, optimizers, batch sizes, or training hyperparameters under a fixed compute-time budget.
  4. An individual researcher who wants reviewable experiment diffs by restricting automated edits to one train.py file.
  5. An engineer building a Mac, Windows, or AMD-oriented fork from a deliberately compact single-GPU training baseline.

Key setup facts

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

Install / run
  • curl -LsSf https://astral.sh/uv/install.sh | sh
Runtime
Python 3.10+

How do you install or deploy this agent?

The documented runtime requires Python 3.10+, uv, and one NVIDIA GPU; testing is reported on an H100. Install and prepare the project with:

curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
uv run prepare.py

prepare.py downloads the dataset and trains the tokenizer; the one-time preparation is described as taking about two minutes. No API key or other credential is documented.

How do you use this agent?

First verify a manual experiment with:

uv run train.py

A run takes approximately five minutes. For autonomous mode, launch Claude Code, Codex, or another coding agent inside the repository and direct it to program.md. The provided starter prompt is:

Hi have a look at program.md and let's kick off a new experiment! let's do the setup first.

The agent should repeatedly edit train.py, run training, inspect val_bpb, and keep or discard each change. Humans refine the research behavior by editing program.md rather than directly conducting the usual Python-editing workflow.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Automated changes are concentrated in train.py, keeping model, optimizer, and training-loop diffs relatively easy to review.
  • A fixed five-minute budget makes architectures, model sizes, and batch choices comparable on the same hardware.
  • The vocabulary-size-independent val_bpb metric supports fairer comparisons when experiments alter the vocabulary or architecture.
  • The system is intentionally compact, centered on prepare.py, train.py, and program.md without distributed training or complex configuration.
Limitations
  • The current implementation explicitly requires one NVIDIA GPU and has only been tested on H100; CPU, MPS, AMD, and other environments need a fork or code changes.
  • Results are not directly comparable across different hardware because the fixed-time design optimizes for each machine's throughput.
  • Dataset preparation and repeated training require network access, filesystem writes, and sustained GPU compute.
  • The default program.md is a bare-bones baseline; stronger research policies and multi-agent organizations must be designed by the adopter.
  • The source provides no estimate of operating cost, documented recovery mechanism, or guarantee that autonomous experiments will improve the model.

How does this agent compare with similar options?

Compared with the full nanochat project, AutoResearch uses a simplified single-GPU implementation and frames research as agent edits to train.py followed by fixed-time val_bpb comparisons. nanochat offers broader platform techniques such as generic device support, autodetection, and a Flash Attention 3 fallback, while AutoResearch intentionally avoids that added complexity. The README also names community forks for macOS, MLX, Windows RTX, and AMD hardware.

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

Agent Source review Form / cost Stars Updated Language Full support on
AutoResearch This agent 48 · Major gaps CLIFree + model costs ★ 101k 8mo ago Python Codex · Claude Code
Deep Researcher Agent 47 · Major gaps Agent plugin / skillFree + model costs ★ 1.1k 6mo ago Python Claude Code · OpenAI API · Claude API
AgileRL 62 · Some gaps Library / SDKFreemium ★ 974 2d ago Python —
RecursiveMAS 51 · Major gaps CLIFree + model costs ★ 992 2mo ago Python —

How does FollowAgents rate this agent?

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

The README limits the stated edit scope to train.py and describes prepare.py as fixed. Its launch example nevertheless recommends disabling all permissions, and the materials provide no per-action confirmation, data protection, or side-effect controls, so least privilege, confirmation, and external-effects handling receive only partial credit. The README describes data downloads, tokenizer training, single-GPU training, and the val_bpb metric, making the main data flow fairly clear. A fixed five-minute run and keeping or discarding experiments offer some recoverability. It references nanochat and links related material, but gives no clear maintainer or update path.

Reliability5 / 14 · 1.8/5

The README's descriptions of the fixed five-minute budget, lower-is-better val_bpb, single-GPU setup, and file roles are broadly consistent. pyproject.toml specifies an exact Torch version, lower bounds for other dependencies, and a CUDA 12.8 index, but no lock file or availability guarantee is shown. The supplied material shows no error handling or user-facing failure diagnostics, so that criterion scores zero.

Adaptability10 / 18 · 2.8/5

The README describes a single NVIDIA GPU target, the intended workflow, and tuning suggestions for smaller systems, while stating that other platforms are not currently supported. program.md and source code are absent, so finer trigger boundaries cannot be assessed; the README still gives some useful scenario and limitation guidance. Environment support is explicit but narrow, and H100 is identified as the tested device.

Convention10 / 18 · 2.8/5

The README organizes content into operation, quick start, structure, design choices, platform support, and licensing. Installation steps, commands, and tuning suggestions are concrete. File names and roles are stable, examples are enough to start an experiment, and platform limitations are listed. The README declares MIT, but the license text is not included in this packet. A version is present, no changelog is supplied, and maintenance responsibility is only indirectly addressed through a statement about whether the author will take on broader platform support.

Effectiveness6 / 13 · 2.3/5

The purpose is clear: have an agent modify training code, run repeated fixed-budget experiments, and select by a validation metric, which could reduce manual experiment cycles. The README defines no standard agent report format or human review process. Continuous single-GPU runs cost about five minutes per iteration, and the cost-benefit depends on hardware and model changes; no benefit is quantified in the supplied materials.

Verifiability4 / 8 · 2.5/5

The main workflow and metric are traceable to the README, while dependencies and version information are traceable to pyproject.toml; the two files broadly agree on the product name and Python dependencies. The core program, program.md, locked dependencies, and run artifacts are not included, limiting cross-checks. The README distinguishes design descriptions from platform limits, but some benefits remain expectations rather than demonstrated results.

Risks and how to mitigate them
  • The README recommends disabling all permissions when launching the agent; the materials show no fine-grained permission plan or per-action confirmation.
  • Only README and pyproject.toml are supplied; the training code and program.md are unavailable, so the agent's exact instructions, data handling, and recovery implementation cannot be checked.
  • The project targets a single NVIDIA GPU; the README says other platform support is limited, and data preparation downloads data over the network.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 228791fb499a
Review evidence README.mdpyproject.toml
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/karpathy-autoresearch.svg)](https://followagents.com/en/agents/karpathy-autoresearch)
<a href="https://followagents.com/en/agents/karpathy-autoresearch"><img src="https://followagents.com/badge/karpathy-autoresearch.svg" alt="FARS review"></a>

FAQ

Is an H100 mandatory?
No. The stated requirement is a single NVIDIA GPU, but H100 is the only explicitly tested model. Smaller hardware may require reduced depth, sequence length, evaluation tokens, and total batch size.
Will it run directly on Mac, CPU, AMD, or Windows?
Those platforms are not supported by the current code as documented. The project points users to nanochat's broader implementation and named community forks for macOS, MLX, Windows RTX, and AMD.
Which files can the agent modify?
The agent is designed to modify only train.py. prepare.py contains fixed constants, preparation, and runtime utilities, while program.md is maintained by the human.
How does it decide whether an experiment succeeded?
Each experiment trains for a fixed five-minute budget and is compared using validation bits per byte, or val_bpb. Lower is better.
What license and credentials does it require?
The README identifies the license as MIT. No required API credentials are documented, although network access is needed to install dependencies and download training data.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

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

Related concepts