SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python knowledge-graph Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: Show HN: Query years of Ask HN and Show HN discussions as local knowledge graph | news.ycombinator.com | 2026-05-10
I built lightrag-snkv, Basically it uses lightRAG https://github.com/HKUDS/LightRAG ,this requires various storage databases like key value store, graph database, vector database, I built single embedded file based database which covers all these requirements: https://github.com/hash-anu/snkv.
-
code-review-graph
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Project mention: Code-review-graphv 2.1.0, 8× fewer tokens for code reviews via structural graph | news.ycombinator.com | 2026-04-03• True zero-config install — one command across 7 platforms
Tech: Python + Tree-sitter + SQLite (WAL) + FastMCP. 572 tests.
https://code-review-graph.com
GitHub: https://github.com/tirth8205/code-review-graph
pip install code-review-graph && code-review-graph install
-
cognee
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
topoteretes/cognee
-
KAG
KAG is a logical form-guided reasoning and retrieval framework based on OpenSPG engine and LLMs. It is used to build logical reasoning and factual Q&A solutions for professional domain knowledge bases. It can effectively overcome the shortcomings of the traditional RAG vector similarity calculation model.
Project mention: The AI-Native GraphDB + GraphRAG + Graph Memory Landscape & Market Catalog | dev.to | 2025-10-26KAG (OpenSPG) - github.com/OpenSPG/KAG
-
🌐 Official website https://potpie.ai
-
-
-
MemMachine
Universal memory layer for AI Agents. It provides scalable, extensible, and interoperable memory storage and retrieval to streamline AI agent state management for next-generation autonomous systems.
Project mention: MemMachine, an open-source memory layer for advanced AI agents | news.ycombinator.com | 2025-11-21 -
llm-wiki-agent
A personal knowledge base that builds and maintains itself. Drop in sources — Claude (or Codex/Gemini) reads them, extracts knowledge, and maintains a persistent interlinked wiki. Works with Claude Code, Codex, OpenCode, Gemini CLI. No API key needed.
Project mention: Show HN: Claude Soul – cross-session learning engine for Claude Code | news.ycombinator.com | 2026-05-18I'm really interested in trying this out. Currently, I'm using the standard Obsidian MD format for long-term memory (https://github.com/SamurAIGPT/llm-wiki-agent) and asking the agent to access the wiki at the start of the task and then record useful information at the end
-
-
WFGY
Verification-first reasoning engine for LLMs, with reproducible demos and audit-oriented specifications. Includes WFGY 3.0 Singularity Demo (public spec) and engineering failure maps for real systems.
Project mention: Show HN: A text-only reasoning core for LLMs (MIT, system prompt and self-test) | news.ycombinator.com | 2026-02-13 -
graphify
AI coding assistant skill (Claude Code, Codex, OpenCode, OpenClaw). Turn any folder of code, docs, papers, or images into a queryable knowledge graph
Project mention: How Graphify Stopped My Team from Burning Through Cursor's Context Window | dev.to | 2026-06-21Check out the Graphify repo for the full docs. If you're on Cursor specifically, the .mdc integration is the smoothest path — it just works.
-
dgl-ke
High performance, easy-to-use, and scalable package for learning large-scale knowledge graph embeddings.
-
Semantica
Semantica 🧠 • Build AI systems that can explain, trace, and justify every decision. Knowledge graphs, context graphs, reasoning engines, provenance, and governance for production AI.
Project mention: Show HN: Semantica – Explainable GraphRAG with Provenance | news.ycombinator.com | 2026-02-03 -
Project mention: KGGen: Extracting Knowledge Graphs from Plain Text with Language Models | news.ycombinator.com | 2026-01-05
-
ApeRAG
ApeRAG: Production-ready GraphRAG with multi-modal indexing, AI agents, MCP support, and scalable K8s deployment
Project mention: The AI-Native GraphDB + GraphRAG + Graph Memory Landscape & Market Catalog | dev.to | 2025-10-26GitHub: https://github.com/apecloud/ApeRAG
-
contextualise
Contextualise is an effective tool particularly suited for organising information-heavy projects and activities consisting of unstructured and widely diverse data and information resources
-
Project mention: The AI-Native GraphDB + GraphRAG + Graph Memory Landscape & Market Catalog | dev.to | 2025-10-26
-
-
-
-
Project mention: Graph RAG finds what's similar. We should aim for what's relevant | news.ycombinator.com | 2026-04-18
Python knowledge-graph discussion
Python knowledge-graph related posts
-
How Graphify Stopped My Team from Burning Through Cursor's Context Window
-
Build a full knowledge graph locally with any video
-
DeepFork – reverse-engineer any OSS repo into a clean-room rebuild blueprint
-
Two Pre-Registered Benchmarks for Audit-Native RAG: RAB (EU AI Act 10/12/19) + LRB (Time-Travel Retrieval)
-
Create Agents that are Traceable, detect loops and have a shared memory
-
Cheese Paper: a text editor specifically designed for writing
-
🔬 Direction 1 closure on JAMES — when the hypothesis fails but the data turns "7-tier monotonic natural-stop gradient"
-
A note from our sponsor - SaaSHub
www.saashub.com | 21 Jun 2026
Index
What are some of the best open-source knowledge-graph projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | MiroFish | 66,672 |
| 2 | LightRAG | 36,766 |
| 3 | code-review-graph | 18,665 |
| 4 | cognee | 17,885 |
| 5 | KAG | 8,834 |
| 6 | potpie | 5,458 |
| 7 | RecBole | 4,434 |
| 8 | DeepKE | 4,425 |
| 9 | MemMachine | 3,120 |
| 10 | llm-wiki-agent | 2,925 |
| 11 | ai-knowledge-graph | 2,310 |
| 12 | WFGY | 1,757 |
| 13 | graphify | 1,469 |
| 14 | dgl-ke | 1,329 |
| 15 | Semantica | 1,229 |
| 16 | kg-gen | 1,203 |
| 17 | ApeRAG | 1,193 |
| 18 | contextualise | 1,097 |
| 19 | GraphRAG-SDK | 945 |
| 20 | Nucleoid | 751 |
| 21 | pygraft | 707 |
| 22 | qagnn | 662 |
| 23 | m_flow | 539 |