gusye1234/nano-graphrag

A simple, easy-to-hack GraphRAG implementation

73
/ 100
Verified

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.

Maintenance 10 / 25
Adoption 18 / 25
Maturity 25 / 25
Community 20 / 25

How are scores calculated?

Stars

3,721

Forks

399

Language

Python

License

MIT

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.