[Go to site: main page, start]

Python knowledge-graph

Open-source Python projects categorized as knowledge-graph

Top 23 Python knowledge-graph Projects

knowledge-graph
  1. MiroFish

    A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物

    Project mention: Miro Fish: Predicting Anything | news.ycombinator.com | 2026-05-19
  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. LightRAG

    [EMNLP2025] "LightRAG: Simple and Fast Retrieval-Augmented Generation"

    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.

  4. 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

  5. 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.

    Project mention: Under the Hood of 348+ Code Merges: My Open Source Evolution | dev.to | 2026-06-21

    topoteretes/cognee

  6. 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-26

    KAG (OpenSPG) - github.com/OpenSPG/KAG

  7. potpie

    Spec-driven development for large codebases

    Project mention: What is Potpie.ai and why it matters for developers | dev.to | 2026-02-06

    🌐 Official website https://potpie.ai

  8. RecBole

    A unified, comprehensive and efficient recommendation library

  9. DeepKE

    [EMNLP 2022] An Open Toolkit for Knowledge Graph Extraction and Construction

  10. 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
  11. 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-18

    I'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

  12. ai-knowledge-graph

    AI Powered Knowledge Graph Generator

  13. 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
  14. 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: Don't fork the code — fork the design: introducing DeepFork | dev.to | 2026-06-15

    DeepFork uses graphify (65.9k★) to generate an AST-based knowledge graph of the repo. You get the structural map — modules, dependencies, call graph — before reading a single file. This is what makes the interrogation phase tractable for large repos.

  15. dgl-ke

    High performance, easy-to-use, and scalable package for learning large-scale knowledge graph embeddings.

  16. 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
  17. kg-gen

    [NeurIPS '25] Knowledge Graph Generation from Any Text

    Project mention: KGGen: Extracting Knowledge Graphs from Plain Text with Language Models | news.ycombinator.com | 2026-01-05
  18. 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-26

    GitHub: https://github.com/apecloud/ApeRAG

  19. 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

  20. GraphRAG-SDK

    Build fast and accurate GenAI apps with GraphRAG SDK at scale 🌟

    Project mention: The AI-Native GraphDB + GraphRAG + Graph Memory Landscape & Market Catalog | dev.to | 2025-10-26
  21. Nucleoid

    Logic Language for LLMs 🌱🐋🌍 Build Neuro-Symbolic AI for Learning and Reasoning

  22. pygraft

    Configurable Generation of Synthetic Schemas and Knowledge Graphs at Your Fingertips

  23. qagnn

    [NAACL 2021] QAGNN: Question Answering using Language Models and Knowledge Graphs 🤖

  24. m_flow

    Graph RAG finds what's similar. M-flow finds what's relevant.

    Project mention: Graph RAG finds what's similar. We should aim for what's relevant | news.ycombinator.com | 2026-04-18
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python knowledge-graph discussion

Log in or Post with

Python knowledge-graph related posts

  • Build a full knowledge graph locally with any video

    1 project | news.ycombinator.com | 19 Jun 2026
  • DeepFork – reverse-engineer any OSS repo into a clean-room rebuild blueprint

    2 projects | news.ycombinator.com | 15 Jun 2026
  • Two Pre-Registered Benchmarks for Audit-Native RAG: RAB (EU AI Act 10/12/19) + LRB (Time-Travel Retrieval)

    1 project | dev.to | 13 Jun 2026
  • Create Agents that are Traceable, detect loops and have a shared memory

    1 project | news.ycombinator.com | 5 Jun 2026
  • Cheese Paper: a text editor specifically designed for writing

    4 projects | news.ycombinator.com | 30 May 2026
  • 🔬 Direction 1 closure on JAMES — when the hypothesis fails but the data turns "7-tier monotonic natural-stop gradient"

    1 project | dev.to | 24 May 2026
  • Miro Fish: Predicting Anything

    1 project | news.ycombinator.com | 19 May 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 21 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Python is
the 1st most popular programming language
based on number of references?