gusye1234/nano-graphrag
A minimal, hackable GraphRAG implementation for knowledge graph-based retrieval-augmented generation.

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.