After a year of AST-RAG papers, Chonks indexes a whole codebase into one SQLite file

_solidude · reddit · 2026-09-22

A Reddit dev built Chonks (Apache-2.0): AST chunking via Tree-sitter, hybrid BM25 + semantic retrieval, typed cross-reference graphs, no LLM in retrieval — all in one SQLite file served to coding agents over MCP. Hits 64/100 Acc@5 on held-out Loc-Bench in one call, supports 10 languages with cross-language call graphs. The post doubles as an annotated reading list of the papers behind each design choice (cAST, LARGER, LocAgent, Practical Code RAG at Scale, etc.).

Original post →

More from coding & agent

coding & agent channel →