Karpathy's autoresearch project: AI agents run overnight LLM training experiments

What Karpathy's autoresearch project does
Andrej Karpathy released a tiny repository called "autoresearch" that demonstrates an "AI researcher in a loop" concept. The system uses an AI agent to autonomously run LLM training experiments overnight on a single GPU.
How it works
The agent follows this workflow:
- Continuously edits the
train.pyfile - Runs 5-minute nanochat training experiments
- Checks whether the validation bits-per-byte (
val_bpb) metric improved - Repeats this cycle while you sleep
Setup and configuration
The project has a super minimal setup:
- Hardware: One GPU
- Files: One main file
- Metrics: One primary metric (
val_bpb)
The human writes the research organization prompt in program.md, and the agent handles the code iteration.
Experiment throughput
With a fixed 5-minute budget per experiment, the system can run approximately 12 experiments per hour.
This approach demonstrates a practical implementation of automated research where AI agents can explore parameter spaces and training configurations autonomously, potentially accelerating experimentation cycles for developers working with language models.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Community patch adds RTL language support to Claude Desktop on Windows
A developer has created a patch that adds proper right-to-left language support to Claude Desktop on Windows, fixing broken rendering for Hebrew, Arabic, and other RTL languages. The patch injects RTL detection logic into the Electron app's renderer and includes backup/restore functionality.

OpenHelm: A Local Background Scheduler for Claude Code with Self-Correcting Retry Logic
OpenHelm is a Tauri-based application that runs Claude Code tasks in the background on a schedule, stores all state locally in SQLite, and includes a self-correcting retry loop that adjusts prompts after failures.

Stoa Markets: A Marketplace for GPUs and AI Servers with Verified Quotes
Stoa is a marketplace for buying and selling new and used GPUs and AI servers. It standardizes RFQs, verifies counterparties, and provides firm quotes, aiming to improve price discovery in the GPU market.

NaNMesh MCP checks GitHub issues before Claude recommends libraries
NaNMesh MCP is an open-source Model Context Protocol server that crawls GitHub Issues, Stack Overflow, and Reddit for known bugs in development tools. When Claude recommends a library, it can check for real problems before integration.