For a semantic search tool for codebases, the strongest matches are bloopai/bloop (Bloop is a dedicated semantic code search engine that), yichuan-w/leann (LEANN is a local RAG framework explicitly designed for) and sourcegraph/sourcegraph (Sourcegraph is a full-featured open-source code search platform that). gventuri/pandas-ai and canner/wrenai round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
We curate open-source GitHub repositories matching “semantic code search llm”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.
Bloop is an AI code analysis tool and semantic search engine designed for understanding and querying large-scale codebases. It utilizes a high-performance indexing system written in Rust to enable fast symbol and text retrieval across multiple programming languages. The project differentiates itself by using on-device embeddings for semantic code search, allowing users to locate logic based on meaning and intent rather than exact keywords. It combines a language model with a retrieval-augmented generation approach to provide a natural language interface for conversational querying and the gen
Bloop is a dedicated semantic code search engine that indexes multi-language codebases and uses an LLM with retrieval-augmented generation to answer natural language queries about code, directly matching the intent.
LEANN is a framework for local retrieval augmented generation and vector indexing. It functions as a system for building local knowledge bases and source code search engines that combine large language models with retrieved private data to generate context-aware responses. The project distinguishes itself through a vision-model based document layout extractor for parsing complex PDF figures and diagrams, and a source code search engine that employs structure-aware chunking to preserve function and class boundaries. It also implements the Model Context Protocol to integrate real-time data sour
LEANN is a local RAG framework explicitly designed for building source code search engines with structure-aware chunking and LLM-based retrieval, directly matching the need for a semantic code search tool that supports natural language queries over code.
Sourcegraph is a full-featured open-source code search platform that incorporates LLM-powered semantic search via its Cody AI assistant, supporting natural language queries, code embeddings, multi-language indexing, and retrieval-augmented generation, making it a comprehensive solution for this search.
Pandas AI is a data analysis library and natural language interface that uses large language models to perform conversational querying on structured datasets. It functions as a retrieval-augmented generation framework designed to translate plain text questions into executable code for extracting insights from dataframes and structured files. The system includes a dedicated sandbox execution environment that runs AI-generated analysis code within an isolated container to prevent security risks and system compromise. It employs a natural language translation layer and contextual retrieval to ma
Pandas AI translates plain-text questions into pandas code for analyzing structured dataframes, not for indexing or searching over code repositories, so it does not address the core need for a semantic code search engine.
WrenAI is a platform designed to enable natural language interaction with relational and analytical databases. By combining a text-to-SQL engine with semantic data modeling, it allows users to explore structured data through plain language questions, removing the requirement for manual code generation. The system functions by grounding natural language requests in a predefined business logic layer rather than raw database schemas. This semantic approach, supported by context-aware prompt engineering, ensures that generated queries remain consistent and accurate across an organization. The pla
WrenAI is a text-to-SQL platform for querying databases with natural language, not a semantic code search engine — its LLM-powered system targets relational data, not code repositories or embeddings.
TurboVec is a high-performance Rust vector database and quantized search index designed for storing and retrieving high-dimensional embeddings. It functions as a pluggable vector store for large language model orchestration frameworks, providing a memory-efficient alternative to standard in-memory storage. The project distinguishes itself through a high-dimensional vector compressor that utilizes random rotation and data-oblivious scalar quantization to reduce memory footprints. Retrieval is accelerated via SIMD kernels that process distance calculations and search operations for increased th
TurboVec is a high-performance vector database for storing and retrieving embeddings, not a semantic code search engine itself—it lacks the code-specific indexing, multi-language parsing, and natural language query interface needed for searching code with LLMs.
SurfSense is a self-hosted platform designed for building retrieval-augmented generation pipelines and managing private knowledge bases. It functions as a containerized research stack that allows users to index diverse data sources and query them using language models, ensuring that all information retrieval is grounded in specific source citations. The platform distinguishes itself through its modular architecture, which supports the integration of custom tools and diverse language models via a unified abstraction layer. It facilitates secure, collaborative research environments by implement
SurfSense is a general-purpose RAG platform for indexing diverse data sources and querying them with LLMs, but it is not designed specifically for semantic search over code repositories or code snippet retrieval.
Khoj is a self-hosted artificial intelligence platform designed for personal knowledge management and semantic information retrieval. It functions as a private assistant that indexes your local documents, notes, and external workspaces, allowing you to interact with your data through natural language queries and conversational chat. By maintaining a local-first architecture, the system ensures that your information remains under your control while providing context-aware responses grounded in your personal knowledge base. The platform distinguishes itself through a modular, cross-platform int
Khoj is a general-purpose semantic search and knowledge management tool for personal documents and notes, not specifically designed for indexing and retrieving code repositories with multi-language support.
Annoy is a C++ library designed for approximate nearest neighbor search in high-dimensional vector spaces. It functions as a vector similarity search engine that constructs static, disk-based data structures to facilitate fast lookups. By mapping identifiers to vector data and persisting these structures to disk, the library enables efficient, memory-mapped access to large datasets. The project distinguishes itself through the use of random projection trees and distance-metric-based partitioning, which organize data into hierarchical binary trees to balance search precision against computatio
Annoy is a general-purpose approximate nearest neighbor library for high-dimensional vectors — it could be used as one building block in a semantic code search pipeline, but it does not itself use LLMs, understand code, or provide natural-language querying over code repositories, so it falls short of the search intent.
Pathway is a high-performance data processing framework designed for building unified batch and streaming pipelines. It functions as an orchestrator for complex data transformations, utilizing a differential dataflow engine to process updates incrementally. By treating static datasets and continuous event streams with identical logic, the platform ensures exactly-once processing semantics and consistent results across diverse data sources. The framework distinguishes itself through its specialized support for real-time artificial intelligence and retrieval-augmented generation. It features in
Pathway is a high-performance data processing framework for batch and streaming pipelines with RAG capabilities, but it is not a dedicated semantic code search engine—it provides infrastructure you could build one on, not the code-search tool itself.
Vanna is a Python framework designed to build conversational interfaces that translate natural language into executable database queries. It functions as an enterprise-grade toolkit that connects language models to relational databases, allowing users to retrieve information through conversational prompts rather than manual code. The system maintains context across interactions by utilizing vector databases to store historical query patterns and schema metadata. The framework distinguishes itself through a focus on security and schema-aware generation. It incorporates granular access control,
Vanna is a text-to-SQL framework that uses LLMs to query relational databases, not a tool for semantic search over code repositories — it operates on business data rather than indexing and searching code snippets, so it does not fit your search for a code-focused semantic search engine.
Tree-sitter is a parsing system and incremental parsing framework designed to generate high-performance syntax trees from source code. It functions as a language parsing engine that compiles formal grammar definitions into portable code, which can then be integrated into text editors and development tools to facilitate structural analysis, code navigation, and syntax highlighting. The project distinguishes itself through its ability to maintain valid, usable syntax tree structures even when source code contains syntax errors or incomplete fragments. It utilizes a generalized parsing algorithm
Tree-sitter is a fast parser and syntax tree generator, but it does not include any LLM-based semantic search, code embedding, or natural language querying—it is a parsing component that could be used in a code search system, not the search engine itself.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| bloopai/bloop | 9.5K | Rust | Apache-2.0 | |
| yichuan-w/leann | 12K | Python | MIT | |
| sourcegraph/sourcegraph | 0 | — | — | — |
| gventuri/pandas-ai | 23.6K | Python | NOASSERTION | |
| canner/wrenai | 14.4K | TypeScript | agpl-3.0 | |
| ryancodrai/turbovec | 11.7K | Python | MIT | |
| modsetter/surfsense | 14.8K | Python | Apache-2.0 | |
| khoj-ai/khoj | 35.2K | Python | AGPL-3.0 | |
| spotify/annoy | 14.2K | C++ | apache-2.0 | |
| pathwaycom/pathway | 63K | Python | NOASSERTION |