For code rag, the strongest matches are zilliztech/claude-context (Claude-context is a retrieval-augmented generation pipeline and semantic code), cocoindex-io/cocoindex-code (Cocoindex is a local code search engine and indexing) and bloopai/bloop (Bloop is an AI-powered code analysis tool and semantic). mixedbread-ai/mgrep and colbymchenry/codegraph round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Compare the top code RAG repositories on GitHub, ranked by stars and activity, and find the right tool for your codebase.
Claude-context is a retrieval-augmented generation pipeline and semantic code search tool. It functions as an LLM codebase indexer and RAG context provider, designed to index local directories and retrieve relevant code files to provide context for large language models. The system operates as a hybrid search engine that combines keyword matching with dense vector search. This allows for the retrieval of code snippets and logic using natural language queries based on meaning rather than exact text matches. The project covers codebase indexing and search index management, utilizing asynchrono
Claude-context is a retrieval-augmented generation pipeline and semantic code search tool that indexes local codebases to provide context for large language models through hybrid search, though it focuses primarily on providing context rather than offering a full standalone chat interface or IDE extension.
Cocoindex is a command-line code search engine and indexing tool that combines abstract syntax tree pattern matching and semantic vector embeddings for precise code discovery. It functions locally and integrates with AI coding assistants to automatically retrieve necessary codebase context through standardized communication protocols and persistent background daemon services. The platform employs an asymmetric embedding architecture that generates vector representations using separate parameters for document indexing and search queries. It supports incremental index maintenance by tracking fi
Cocoindex is a local code search engine and indexing tool that combines abstract syntax tree pattern matching and vector embeddings, though it lacks some broader IDE-specific features.
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 an AI-powered code analysis tool and semantic search engine that uses retrieval-augmented generation and vector embeddings for natural language code search, conversational querying, and navigation across large codebases.
mgrep is an LLM-powered semantic search engine and local file indexer designed to retrieve information from local directories and web content using natural language queries. It functions as a semantic document retriever that uses meaning and context rather than exact keyword matches to locate relevant data. The tool distinguishes itself by combining local file indexing with real-time web content retrieval to synthesize comprehensive answers. It employs retrieval-augmented generation to transform retrieved snippets from both local and remote sources into direct, concise responses. The system
This tool provides local file indexing, vector similarity search, and retrieval-augmented generation for natural language queries, fitting the core codebase search and RAG requirements despite lacking dedicated IDE integrations.
Codegraph is a local codebase indexer and static analysis graph database that serves as a context provider for AI agents. It parses multiple programming languages into a searchable knowledge graph of symbols and dependencies, exposing these relationships to AI tools through the Model Context Protocol. The project distinguishes itself by aggregating relevant code snippets and symbol flows to reduce token usage for large language models. It automates the configuration of server settings and steering instructions across various AI agent platforms and command line editors to enable automatic code
Codegraph is a local codebase indexer and static analysis graph database that serves as an AI context provider, fulfilling the core requirements of local codebase indexing, graph-based search, and AI agent integration for code navigation.
This project is a retrieval-augmented generation pipeline designed for building custom ChatGPT plugins that allow language models to query private or professional documents. It implements a full retrieval workflow, from processing and indexing document chunks to retrieving relevant context for natural language queries. The system distinguishes itself through a hybrid retrieval approach that combines dense vector embeddings with sparse keyword matching, further refined by a two-stage semantic re-ranking process. It includes specialized data privacy tools for screening personally identifiable i
This tool provides a retrieval-augmented generation pipeline with vector search and document ingestion tailored for building plugins rather than dedicated codebase navigation, making it a functional but less specialized option for searching code.
qmd is a local semantic search engine and RAG knowledge base indexer that functions as a Model Context Protocol server. It converts local documents, markdown files, and codebases into a searchable database to provide retrieval augmented generation capabilities for AI agents. The system exposes its search and retrieval tools via stdio or HTTP. It utilizes local model files for embeddings and reranking, supporting query expansion across multiple languages. The project employs abstract syntax tree based chunking to split source code at function and class boundaries. It implements hybrid vector-
qmd is a local semantic search engine and RAG indexer that performs syntax-aware code chunking and hybrid vector-keyword search, fitting the codebase RAG category well even though it focuses primarily on server protocols rather than providing dedicated IDE or CLI integrations.
Easy Local RAG is a system for building and operating private, offline retrieval-augmented generation pipelines. It enables users to perform semantic search, document querying, and conversational analysis on local data sources without transmitting sensitive information to external cloud providers. The project distinguishes itself by integrating specialized utilities for archiving personal email communications alongside standard document processing. By leveraging locally hosted language models and a local vector database, it maintains full control over data ingestion, indexing, and model infer
Easy Local RAG is a retrieval-augmented generation system for operating private, offline pipelines with local data, though it focuses on general document search and email archiving rather than specialized codebase navigation.
Rag-stack is an enterprise knowledge retrieval system designed to deploy private generative artificial intelligence environments. It functions as a retrieval-augmented generation stack, orchestrating the connection between internal document repositories and open-source language models to enable natural language querying of private organizational data. The platform distinguishes itself by providing a complete infrastructure for private large language model hosting and vector database management. By utilizing infrastructure-as-code provisioning and containerized microservices, it allows organiz
Rag-stack provides a private retrieval-augmented generation and vector database infrastructure for internal documents, but it focuses on general organizational data and knowledge bases rather than being a dedicated codebase-specific search and navigation tool.
Flowise is a low-code platform designed for building and deploying complex language model workflows through a visual, node-based interface. It functions as an orchestrator for autonomous multi-agent systems, allowing users to construct conversational pipelines by connecting language models, memory stores, and external tools on a drag-and-drop canvas. The platform distinguishes itself through its support for sophisticated agentic patterns, including supervisor-worker delegation and iterative reasoning strategies. Users can design directed acyclic graphs to manage conditional branching, state p
Flowise is a low-code workflow builder that supports retrieval-augmented generation and vector databases, making it possible to construct custom codebase search and chat pipelines visually, though it lacks a pre-built, out-of-the-box CLI or IDE code-navigation interface.
This project is a data processing engine and AI application platform designed for building production-grade machine learning workflows. It provides a unified programming model that handles both historical batch data and live stream ingestion, enabling the development of real-time ETL pipelines and scalable data transformation workflows. The framework distinguishes itself through differential dataflow execution, which propagates only changes through a pipeline rather than recomputing entire datasets. It supports distributed state management across worker nodes and utilizes incremental stream p
This repository provides a data processing framework and AI application platform with built-in RAG capabilities, though it serves more as a general-purpose streaming ETL and workflow tool rather than a pre-packaged code search application.
Genkit is an open-source framework for building AI-powered applications. It provides a unified interface for connecting to hundreds of generative AI models from multiple providers, enabling text, image, audio, and video generation through a single API. The framework structures multi-step AI interactions—including chat, retrieval-augmented generation, tool use, and agentic workflows—as composable, traceable flows with built-in streaming and state management. The framework distinguishes itself through a comprehensive developer toolkit that includes a command-line interface and a local developer
Genkit is an open-source framework for building generative AI applications that natively supports retrieval-augmented generation flows, though it functions as a general development toolkit rather than a ready-made codebase search engine.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| zilliztech/claude-context | 5.4K | TypeScript | mit | |
| cocoindex-io/cocoindex-code | 2K | Python | Apache-2.0 | |
| bloopai/bloop | 9.5K | Rust | Apache-2.0 | |
| mixedbread-ai/mgrep | 3.3K | TypeScript | apache-2.0 | |
| colbymchenry/codegraph | 50.2K | TypeScript | MIT | |
| openai/chatgpt-retrieval-plugin | 21.2K | Python | MIT | |
| tobi/qmd | 9.5K | TypeScript | mit | |
| allaboutai-yt/easy-local-rag | 1.2K | Python | MIT | |
| finic-ai/rag-stack | 1.6K | TypeScript | MIT | |
| flowiseai/flowise | 53.6K | TypeScript | NOASSERTION |