#84 · Primary category: Knowledge Base & RAG
nano-graphrag
A simple, easy-to-hack GraphRAG implementation
Project last updated:01/27/26
GitHub Stars
4.0K
Forks
425
Contributors
20
License
MIT
Why we included this project
Microsoft's official GraphRAG pipeline is powerful, but tracing how it actually works can feel like wandering through a maze. nano-graphrag compresses that approach into roughly a thousand lines of readable, fully typed Python while keeping the core graph-based retrieval flow: it extracts entities and relations from your documents, builds a knowledge graph, clusters it into communities, and generates reports you can query in global or local mode. That makes it a solid reference for teams that want to understand graph retrieval before committing to a heavier production stack. It is also practical to run: OpenAI, Bedrock, and local models via Ollama all work as backends, and for vector storage you can choose the built-in option, faiss, hnswlib, or Milvus, with Neo4j available for graph storage. Developers building a RAG feature who want something they can read end-to-end and adapt to their own data will find this far easier to follow than the official implementation.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ragflow
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
crawl4ai
🚀🤖 Crawl4AI: Open-source LLM Friendly Web Crawler & Scraper. Don't be shy, join here: https://discord.gg/jP8KfhDhyN
docling
Get your documents ready for gen AI
anything-llm
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience