RAGrep

Semantic, retrieval-augmented search for codebases and knowledge repositories. RAGrep helps AI agents and developers index projects, run dense retrieval, and surface the right snippets without shipping data to external services.

Key Features

Quick Start

RAGrep requires Python 3.9+ and a working pip installation.

git clone https://github.com/pierce403/ragrep.git
cd ragrep
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -e .

Install prerelease wheels for torch if your architecture is not covered by the default wheels.

CLI Essentials

# Index the current repository
ragrep index

# Index a specific directory
ragrep index ./src

# Retrieve relevant chunks
ragrep dump "authentication middleware" --limit 5

# Inspect vector store stats
ragrep stats

Use --db-path to point commands at a custom vector store directory and --verbose for richer progress logs.

Project Highlights

Stay in the Loop

RAGrep is evolving quickly. Track updates, file issues, and contribute improvements: