Kilo Code has re-introduced codebase indexing as a generally available, opt-in feature. It adds a semantic_search tool to the Kilo agent, allowing it to find code by concept rather than exact string matching. The feature uses Tree-sitter for parsing code into semantic chunks, stores embeddings in a vector store (e.g., LanceDB), and supports providers like Kilo's hosted service, Mistral BYOK, or Ollama. Indexing is incremental and hash-cached, and can be enabled per-project or globally via settings UI, CLI, or config file. The implementation was largely contributed by community member shssoichiro and graduated from experimental status after weeks of testing and feedback.

8m read timeFrom blog.kilo.ai
Post cover image
Table of contents
What changedCommunity brought this backEnabling Codebase IndexingHow to get started with indexingHow Kilo builds the indexWhen to use semantic searchTry it in a repo where search has been frustratingThank you
43 Impressions