JetBrains details Air Context RAG semantic code search indexing

jb.gg12 min read

Building on a previous post about chunking and vectorization, the authors outline the storage, search, and agent tooling strategies behind Air Context, a production-grade RAG system for code search at JetBrains. The article explores how approximate nearest-neighbor indexing, filtered ANN mechanisms, and incremental Merkle-tree updates handle the scale and permission constraints of real-world codebases. It also details local indexing options, candidate reranking, and the use of dedicated sub-agents to optimize code retrieval. Open article →

More on this topic