neo4j-graphrag-python and nano-graphrag
Neo4j's official GraphRAG library is a production-grade implementation designed to integrate with Neo4j's graph database backend, while nano-graphrag is a lightweight, self-contained alternative that can operate independently—making them competitors for the same use case rather than complementary tools.
About neo4j-graphrag-python
neo4j/neo4j-graphrag-python
Neo4j GraphRAG for Python
Supports automated knowledge graph construction from unstructured text and PDFs via LLM-powered entity/relation extraction, alongside multiple retrieval strategies (vector search, graph traversal, hybrid, and Text2Cypher). Integrates with major LLM providers (OpenAI, Anthropic, Google, Cohere, Ollama, MistralAI) and optional external vector stores (Weaviate, Pinecone, Qdrant), with experimental NLP components using spaCy for semantic resolution.
About nano-graphrag
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.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work