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. 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 Comments: 0