Autoresearch with Claude Code on Production Codebase: 60 Experiments, 3 Changes Kept

Autoresearch Experiment on Production Codebase
A developer tested Karpathy's autoresearch approach on a real production system using Claude Code, running 60 iterations across two rounds while away from the computer. The target was a hybrid search system built with Django, pgvector, and Cohere embeddings.
Key Results and Findings
Out of 60 iterations, only 3 changes were kept while 57 were reverted. The overall score improvement was marginal (+0.03), but the knowledge gained was significant:
- Title matching as a search signal proved to be net negative, demonstrated in just 2 iterations
- Larger candidate pools had no effect - the problem was ranking, not recall
- Hand-built adaptive weighting actually worked - removing it caused regressions
- Fiddling with keyword damping formulas barely moved scores
- Round 2 targeting the Haiku metadata prompt yielded zero improvements because ranking weights from Round 1 were co-optimized to the original prompt's output
- Discovered a Redis caching bug: keys were on query hash, not prompt hash, which would have shipped to production unnoticed
Practical Takeaways
The biggest insight was that autoresearch helps map where the ceiling is, not just find improvements. Having 60 data points saying "You can stop tuning this" provides concrete evidence rather than relying on intuition. The developer notes this approach saved manual experimentation time on optimizations that wouldn't have paid off.
The full writeup is available at the blog link, and the open source Claude Code autoresearch skill is on GitHub. The developer is curious about others trying this on non-ML codebases and what metrics they're using.
📖 Read the full source: r/ClaudeAI
👀 See Also

Building Non-Coding AI Agents with Claude Code: Three Practical Examples
A Reddit user shares their personal setup for creating AI agents using Claude Code, detailing three specific implementations: an automated morning briefing agent pulling from emails, todos, and calendar; a tmux-based pipeline for capturing Substack articles; and a meeting summarization agent.

Deep Research Reports with Hermes Agent and Qwen3.6-35b-a3b: A Practical Walkthrough
A social researcher shares their workflow using Hermes Agent and qwen3.6-35b-a3b Q6_K to produce 21-page policy reports autonomously, with full repo of prompts, skills, and intermediate artifacts.

Claude Opus 4.6 Successfully Writes Malbolge Code Through Iterative Feedback
A developer used Claude Opus 4.6 to write "Hello World" in Malbolge, an esoteric programming language, by implementing a feedback loop where compiler errors were fed back to the AI until the code passed validation.

Professor Builds AI Detection Bias Game with Claude Code
A UK professor built Flagged, a browser game that simulates AI detection decisions in academia using Claude Code. The game reveals how detection tools produce false positive rates up to 61.3% for non-native English speakers.