Repository navigation
v0.1 - Initial Release
RAG CLI - Initial Release
A local-first RAG (Retrieval-Augmented Generation) toolkit for indexing and searching codebases.
Features
- BM25 + MMR retrieval pipeline - Full-text search with diversity reranking
- Two-stage hybrid search - BM25 candidates with vector reranking (#6)
- WebAssembly support - In-browser search capabilities (#8)
- Clean hexagonal architecture - Usecases depend on ports only (#7)
- Auto-indexing - With
--no-auto-indexflag to disable (#5)
CLI Commands
rag index [path] # Index files
rag query -q "search" # Search with BM25 + MMR
rag pack -q "question" -b 4000 # Pack context for LLM consumptionConfiguration
Supports YAML configuration (rag.yaml) for BM25 parameters, embedding providers (Ollama/OpenAI), and token budgets.