PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Knowledge Graph Python Packages

Python packages with the GitHub topic knowledge-graph. Sorted by relevance, with stars and monthly downloads.
safishamsi
graphifyy

AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.

1.1M 79K 8K
tirth8205
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.

352K 19K 2K
HKUDS
lightrag-hku

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

262K 37K 5K
RUCAIBox
recbole

A unified, comprehensive and efficient recommendation library

126K 5K 749
topoteretes
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.

120K 27K 3K
opensanctions
followthemoney

Data model and processing tools for investigative entity graphs. Used by OpenSanctions, OpenAleph and dozens of other fincrime tools.

78K 74 19
kkollsga
kglite

Lightweight in-memory knowledge graph with Cypher query support

72K 32 4
GrafeoDB
grafeo

Grafeo is a pure-Rust, high-performance graph database that can be embedded as a library or run as a standalone database, with optional in-memory or persistent storage. Grafeo supports both LPG and RDF and all major query languages.

41K 689 29
trustgraph-ai
trustgraph-embeddings-hf

Write context once. Run agents anywhere. Own your data and the models.

31K 2K 268
yantrikos
yantrikdb

Cognitive memory engine for AI agents — temporal decay, contradiction detection, autonomous consolidation, knowledge graph, ANN recall via HNSW. Embeddable Rust library with Python bindings; powers yantrikdb-server (HTTP gateway, MCP server, openraft cluster). AGPL.

30K 37 8
TaeSooPark-PTS
ltcai

Local-first private AI memory layer / Digital Brain for conversations, documents, decisions, and model-agnostic knowledge.

28K 1 0
bxw91
brainpalace-rag

Vector Graph RAG for code & docs with Persistent Chat-Session Memory — BM25 (multi-lang), AST chunking. Hybrid, Compute, Scan, Timeline, Absence, Salience. Graph with temporal knowledge. Chat summarisation + verbatim copy + free scan. Git indexing. CLI, MCP and Claude Code plugin. Ollama or cloud LLMs. Web Dashboard.

22K 2 0
HumanBrainProject
ebrains-kg-core

A python wrapper for the KG core API incl. token handling

21K 5 4
bxw91
brainpalace-cli

Vector Graph RAG for code & docs with Persistent Chat-Session Memory — BM25 (multi-lang), AST chunking. Hybrid, Compute, Scan, Timeline, Absence, Salience. Graph with temporal knowledge. Chat summarisation + verbatim copy + free scan. Git indexing. CLI, MCP and Claude Code plugin. Ollama or cloud LLMs. Web Dashboard.

21K 2 0
benseverndev-oss
goldenmatch

Zero-config entity resolution & record linkage. The zero-tuning Fellegi-Sunter path beats hand-tuned Splink head-to-head and scales from a CSV to a verified 100M-row dedupe in 9.2 min. Fuzzy/exact/probabilistic + PPRL + LLM + identity graph. Python + edge-safe TypeScript (WASM), SQL-native in Postgres & DuckDB, MCP/REST + dbt/Airflow.

20K 119 12
benseverndev-oss
goldenmatch-native

Zero-config entity resolution & record linkage. The zero-tuning Fellegi-Sunter path beats hand-tuned Splink head-to-head and scales from a CSV to a verified 100M-row dedupe in 9.2 min. Fuzzy/exact/probabilistic + PPRL + LLM + identity graph. Python + edge-safe TypeScript (WASM), SQL-native in Postgres & DuckDB, MCP/REST + dbt/Airflow.

19K 119 12
biocypher
biocypher

A unifying framework for biomedical research knowledge graphs

18K 315 54
morph-kgc
morph-kgc

Powerful RDF Knowledge Graph Generation with RML Mappings

18K 280 56
qualixar
superlocalmemory

World's first local-only AI memory to break 74% retrieval and 60% zero-LLM on LoCoMo. No cloud, no APIs, no data leaves your machine. Additionally, mode C (LLM/Cloud) - 87.7% LoCoMo. Research-backed. arXiv: 2603.14588

18K 191 27
ngvoicu
kluris

Turn AI agents into team SMEs. Kluris builds a shared, human-curated knowledge brain (decisions, constraints, incidents, tribal knowledge) as markdown in a git repo. Queryable via slash commands from Claude Code, Codex, Cursor, Windsurf, Cline, Gemini CLI.

18K 4 0
FalkorDB
graphrag-sdk

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

17K 960 134
Blackcat-Informatics
gmeow-gts

A single-file, content-addressed, append-only transport for RDF 1.2 graphs — four interoperable engines (Rust, Python, Go, TypeScript), one spec, one conformance corpus.

15K 2 1
sayak-sarkar
contextlake

A local context layer for AI tools: mirror your repositories, index them into a knowledge graph, and serve it over MCP so agents answer from real source instead of guessing.

15K 0 0
quantamixsol
graqle

Give your AI tools architecture-aware reasoning. Knowledge graph from any codebase — 14 LLM backends, impact analysis, confidence scores. Works with Claude Code, Cursor, VS Code Copilot.

15K 31 10
    • Data from PyPI, GitHub, ClickHouse, and BigQuery