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
OpenClaw and Local Models: A User's Struggle with GPT Blocks and Seeking a Local Setup
A user details 5-day GPT blocks, fails with LM Studio, and seeks advice for running local models on RTX 5070 Ti + 4060.

Deploying AI Receptionists for Local Businesses with OpenClaw and Retell AI
A developer deployed AI receptionists using OpenClaw and Retell AI to handle calls for local service businesses, capturing 7 appointments from 23 calls in the first week at a cost of $4.12.

Running OpenClaw with Full Cloud Credentials Instead of a Dedicated Machine
A developer shares their experience giving OpenClaw a fully isolated GCP account with full credentials, allowing it to operate on over 40 GitHub projects, spin up around 30 Docker containers, and manage storage, databases, and supporting infrastructure.

Developer Switches from Specs to Proposals for Parallel Claude Code Sessions
A developer shares a workflow using proposals instead of specs when running 5-10 Claude Code sessions in parallel, addressing the problem of AI generating technically correct but contextually wrong code from detailed specifications.