Back to directory

NanoSage

A local research assistant that runs on a laptop using small models, recursively exploring a query with a Monte Carlo search strategy and compiling what it finds into a structured, cited report.

NanoSage

NanoSage refines a user's query, builds a knowledge base from local and web sources, and dynamically explores follow-up subqueries, tracking its own progress through a running table of contents that also serves as a record of the search. Monte Carlo-based exploration balances how deeply it follows one line of inquiry against how broadly it branches into new ones, ranking each branch's relevance to keep the search from wandering into unrelated territory, then compiles the most useful findings into a report using retrieval-augmented generation.

Web search runs through the Tavily API, giving access to academic sources such as PubMed and other scholarly databases, and a hybrid embedding setup uses SigLIP or CLIP for images and PDFs and a small text embedding model for ordinary text, avoiding a dimension mismatch between the two. Getting started means installing Python packages from a requirements file and, optionally, a CUDA build of PyTorch for GPU acceleration; an example generated report is linked from the README.

More in RAG

See all 540
  • ai·rete·rag

    ai-rete-rag.com

    A platform that pairs a Rete rule engine with retrieval-augmented generation, so deterministic rules decide an outcome and grounded retrieval explains the decision in plain language.

  • Xtriever

    github.com

    A hybrid retrieval engine for retrieval-augmented generation, written in Rust to run on-device on a phone or a laptop, combining lexical BM25 search, dense embedding search, reciprocal-rank fusion and cross-encoder re-ranking with no server.

  • FileFlux

    github.com

    A .NET library that turns PDF, DOCX, HWP and other documents into optimized chunks for RAG systems, through a five-stage pipeline built on high-performance Rust FFI readers.