Autoresearch

Autoresearch

Autonomous single-GPU AI research loop by Andrej Karpathy where coding agents iterate on LLM training overnight.

★ 100.6K

Let AI Agents Run Overnight LLM Training Experiments on a Single GPU

Iterating on neural network architectures and optimizer hyperparameters usually means babysitting training runs and manually tweaking scripts for days. Created by Andrej Karpathy, Autoresearch (karpathy/autoresearch) turns that workflow into an autonomous loop where an AI agent edits a single-GPU nanochat training script, runs a fixed 5-minute experiment, checks validation bits-per-byte, and keeps only the winning changes. Crossing 100,600 GitHub stars and 13,800 forks under the MIT license, it showcases how tiny, focused repositories unlock real agent-driven science.

Why It Captures So Much Attention

  • Deliberately minimal codebase: Centres on just three core files (prepare.py, train.py, and program.md) so diffs stay readable and verifiable.
  • Fixed 5-minute wall-clock budget: Makes every architecture or batch-size tweak directly comparable on your hardware (~100 experiments overnight).
  • Markdown-steered research: Humans guide the research direction in plain English inside program.md while the coding agent handles PyTorch edits.

Best Fit and Caveats

ML engineers and researchers with an NVIDIA GPU (or community Mac MLX and Windows RTX forks) will have a blast running autonomous sweeps. Because every 5-minute score is tied to your specific GPU throughput, results are meant for self-improvement on your rig rather than cross-machine leaderboards.

Quick Takeaway

Autoresearch is a brilliant, hackable blueprint for turning coding agents into tireless machine learning experimenters.

Ready to try Autoresearch?

Experience the full capabilities on their official website.

Visit Official Website