Local RAG pipeline for pi. BM25 keyword search over indexed files. Zero cloud, zero external deps.
npm install -g @artale/pi-rag- Index files or directories — chunks text, stores for search
- BM25 keyword search — returns relevant chunks with file paths and line numbers
- Stats — file count, chunk count, total tokens
- Fully offline — all data in
~/.pi/rag/
- rag_index — Index a file or directory
- rag_query — Search indexed content
- rag_status — Index statistics
/rag— RAG pipeline operations