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

✍️ OpenClawRadar📅 Published: March 24, 2026🔗 Source
Autoresearch with Claude Code on Production Codebase: 60 Experiments, 3 Changes Kept
Ad

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
Ad

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

Ad

👀 See Also

Building a Persistent Personal OS for Claude: Psychology Profile, Goals, and Live Context Injection via Notion + Shortcuts
Use Cases

Building a Persistent Personal OS for Claude: Psychology Profile, Goals, and Live Context Injection via Notion + Shortcuts

A developer built a persistent Personal OS in Notion that injects a compressed 800-word psychological profile, goals, relationships, and live context (location, time, calendar, weather) into every Claude API call via iOS Shortcuts, with a nightly debrief loop to keep context fresh.

OpenClawRadar
Integrating OpenClaw with Obsidian for a Private AI Knowledge Base
Use Cases

Integrating OpenClaw with Obsidian for a Private AI Knowledge Base

A developer shares their setup using an isolated Obsidian vault for OpenClaw, synced via SyncThing to maintain privacy while using AI agents. They've implemented task management through OpenClaw with automated research and metadata augmentation.

OpenClawRadar
Using a smaller model as a runtime hygiene layer improves OpenClaw agent reliability
Use Cases

Using a smaller model as a runtime hygiene layer improves OpenClaw agent reliability

A developer found that adding a second, smaller model to act as a runtime hygiene layer for a Qwen 3.5 27B agent in OpenClaw significantly improved reliability, moving from needing session resets every 20-30 minutes to sustained single-session operation.

OpenClawRadar
Lessons from running multiple OpenClaw gateways in production
Use Cases

Lessons from running multiple OpenClaw gateways in production

A developer shares concrete failures from running 3+ OpenClaw gateways 24/7, including upgrade path issues causing MODULE_NOT_FOUND errors and silent capability loss from misconfigured credentials. The post details a solution involving capability audits, config validation gates, and reproducible environments.

OpenClawRadar