Discover and explore top open-source AI tools and projects—updated daily.
Local LLM powered recursive search and report generation
Top 99.6% on SourcePulse
NanoSage is a local, recursive search and knowledge exploration tool designed for deep research. It assists users by systematically breaking down queries, building a knowledge base from local and web data, and dynamically exploring subqueries with a focus on relevance and depth. The tool is ideal for researchers, students, and power users seeking structured, in-depth reports generated via retrieval-augmented generation (RAG) on their own hardware.
How It Works
NanoSage employs a structured, relevance-driven recursive search pipeline. It refines user queries, builds a knowledge base from local files and web searches, and tracks its exploration progress via a Table of Contents (TOC). Monte Carlo-based exploration balances search breadth and depth, ranking subqueries by relevance to maintain precision. The system then generates a detailed Markdown report using RAG, integrating insights from the most valuable findings.
Quick Start & Requirements
pip install -r requirements.txt
ollama pull gemma2:2b
). Optional GPU acceleration requires PyTorch with CUDA.python main.py --query "Your query here" --web_search --max_depth 2 --device cpu
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The system's effectiveness is dependent on the quality of the chosen retrieval model and the LLM used for summarization. Performance may vary based on hardware, especially when using CPU-only mode. Recursion depth and relevance thresholds require tuning for optimal results.
7 months ago
Inactive