AI AutoResearch - spinningideas/resources GitHub Wiki
AutoResearch: The Skill That Improves All Skills
Andrej Karpathy's AutoResearch project proposes an autonomous research loop - an LLM-driven system that iteratively searches, reads, synthesizes, and improves its own outputs. It is a practical implementation of the idea that learning to learn is the highest-leverage skill.
Andrej Karpathy's AutoResearch is a small but thought-provoking open-source project that puts a concrete shape on an idea that has been circulating in AI circles: what if an LLM could run its own research loop?
What Is AutoResearch?
AutoResearch is an autonomous agent that takes a research question, searches the web, reads and summarizes sources, synthesizes findings, and iteratively refines its output - all without human intervention at each step. It is less a finished product than a proof of concept and a design pattern.
The core loop looks like this:
- Receive a research question or topic.
- Generate search queries to explore the space.
- Fetch and read relevant sources.
- Synthesize a draft answer or summary.
- Identify gaps and generate follow-up queries.
- Repeat until a quality threshold is met.
Why It Matters
The project is interesting not just as a tool but as an argument. Karpathy has written and spoken about the idea that learning how to learn - or more precisely, building systems that improve their own knowledge acquisition - is the compounding skill above all others.
AutoResearch is a working prototype of that idea applied to LLMs. Instead of a one-shot query-response, the model is given agency over its own information gathering. The result is research outputs that are notably more thorough than single-prompt approaches.
The Connection to LLM Wiki
AutoResearch and Karpathy's earlier LLM Wiki concept are two sides of the same coin:
- LLM Wiki is the storage layer: a persistent, compounding knowledge base that an LLM maintains and enriches over time.
- AutoResearch is the acquisition layer: an autonomous loop that gathers, synthesizes, and adds new knowledge.
Together they sketch an architecture for an AI system that continuously learns - not through gradient updates, but through structured information retrieval and synthesis.
Practical Takeaways
Even if you are not running autonomous agents, the AutoResearch loop is a useful mental model for human research:
- Iterate, don't stop at the first answer. The first search result is a starting point, not a conclusion.
- Identify gaps explicitly. After reading, ask what questions remain unanswered.
- Synthesize before moving on. Writing a summary forces clarity and reveals what you actually understood.
- Track sources. Knowing where something came from matters when you revisit it later.
These are habits that make any research process - human or machine - more reliable and more useful over time.
Getting Started
The repository is straightforward to run locally. It requires an OpenAI API key and Python. The README walks through setup and includes example research queries to get a feel for what the loop produces.
For a longer discussion of the ideas behind the project and how it fits into a broader vision of AI-assisted learning, the AIMaker Substack writeup is a good companion read.