gusye1234/nano-graphrag
A simple, easy-to-hack GraphRAG implementation
Builds knowledge graphs from text by extracting entities and relationships, then performs retrieval-augmented generation through both global and local graph traversal modes. Supports pluggable components including multiple LLM providers (OpenAI, Bedrock, Ollama), vector databases (FAISS, Milvus, HNSWlib), and graph backends (Neo4j, NetworkX), with full async/await support and MD5-based deduplication for incremental inserts.
3,721 stars and 2,230 monthly downloads. Available on PyPI.
Stars
3,721
Forks
399
Language
Python
License
MIT
Category
Last pushed
Jan 27, 2026
Monthly downloads
2,230
Commits (30d)
0
Dependencies
11
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/gusye1234/nano-graphrag"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related tools
neo4j/neo4j-graphrag-python
Neo4j GraphRAG for Python
FalkorDB/GraphRAG-SDK
Build fast and accurate GenAI apps with GraphRAG SDK at scale.
microsoft/graphrag
A modular graph-based Retrieval-Augmented Generation (RAG) system
Hawksight-AI/semantica
Semantica 🧠— A framework for building semantic layers, context graphs, and decision...
getzep/graphiti
Build Real-Time Knowledge Graphs for AI Agents