cd /news/artificial-intelligence/show-hn-autoretrieval-autoresearch-f… · home topics artificial-intelligence article
[ARTICLE · art-67397] src=github.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Show HN: Autoretrieval – Autoresearch for RAG Pipelines

A developer released Autoretrieval, a framework that uses an AI agent to automatically optimize RAG pipelines by running experiments against an evaluation dataset. The agent iteratively edits retrieval parameters such as chunking strategies, chunk sizes, embedding models, and keyword retrieval, keeping or discarding changes based on F-beta score improvements. On one pipeline, the framework more than doubled the F3 score after several hours of experimentation.

read1 min views1 publishedJul 21, 2026

Hi, inspired by Andrej Karpathy's autoresearch, I built autoretrieval, a small framework that lets an AI agent improve a RAG pipeline by running experiments against an evaluation dataset.

The agent edits the retrieval pipeline, runs an eval, checks whether the F-beta score improved, keeps or discards the change, and repeats. It can try different chunking strategies, chunk sizes, the number of retrieved chunks, embedding models, keyword retrieval, and more, while keeping a log of every experiment.

The repo also includes a script that generates question and reference-highlight pairs from any document collection. This makes it possible to optimize a RAG pipeline for domain-specific data.

On one of my own RAG pipelines, it more than doubled the F3 score after a few hours of running experiments.

I'd love to hear any feedback or ideas.

Comments URL: [https://news.ycombinator.com/item?id=48995907](https://news.ycombinator.com/item?id=48995907)

Points: 1

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @autoretrieval 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-autoretrieva…] indexed:0 read:1min 2026-07-21 ·