← all repositories

gusye1234/nano-graphrag

A minimal, hackable GraphRAG implementation for knowledge graph-based retrieval-augmented generation.

3.9k stars Python RAG · Search
nano-graphrag
Velocity · 7d
+5.7
★ / day
Trend
steady
star history

This is a simplified, educational implementation of Microsoft’s GraphRAG system. It builds knowledge graphs from documents to enable structured retrieval over unstructured text. The system leverages LLMs to extract graph entities and relationships, then combines graph traversal with vector similarity search for improved context. It supports async operations and integrates with FAISS, Neo4j, and Ollama for vector and graph storage backends.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.