Open Source Knowledge Graph Tools
Discover 23 open source Knowledge Graph repositories from GitHub, each with an analysis of what it does, key features, use cases and alternatives. Knowledge Graph projects here are most often combined with AI Agents, MCP and Python. Last updated October 4, 2026.
23 repositories · updated October 4, 2026

MiroFish: Simulate Agent Societies to Explore Possible Futures
MiroFish uses LLM-powered agents and a knowledge graph to simulate social scenarios from source material. It is aimed at teams and individuals exploring public opinion, policy, financial signals, or creative what-if scenarios before making decisions.

agentmemory: Persistent Memory for AI Coding Agents
agentmemory gives coding agents persistent, searchable memory across sessions and tools. It captures work through agent integrations and exposes shared memory through MCP and REST, with a local-first runtime built on iii-engine.

codegraph: Give Coding Agents a Local Code Knowledge Graph
CodeGraph builds and maintains a local graph of code structure so AI coding agents can retrieve relevant source, call paths, and change impact without exploring files one by one. It connects to multiple agents through MCP and supports many languages.

graphify: Turn Codebases into Queryable Knowledge Graphs
Graphify builds a queryable knowledge graph from code, documentation, schemas, and other project files. It helps developers and AI coding assistants explore relationships, trace paths, and understand codebases without relying on a vector store.

QueryWeaver: Turn Natural-Language Questions into SQL
QueryWeaver converts plain-English questions into SQL by using a graph representation of database schemas. It suits teams that want a self-hosted Text2SQL web app, REST API, MCP interface, or Python SDK for PostgreSQL and MySQL.

RAG-Anything: Search Documents Across Text, Images, Tables, and Equations
RAG-Anything extends LightRAG with a pipeline for parsing and querying multimodal documents. It is aimed at teams and researchers who need one retrieval system for mixed-content files rather than text-only RAG.

Trilium: Build and Organize a Personal Knowledge Base
Trilium is a cross-platform note-taking app for building and maintaining large personal knowledge bases. It combines a hierarchical note tree with search, linking, versioning, scripting, and options for self-hosting and synchronization.

Memary: Add Memory and Knowledge Graphs to AI Agents
Memary is a memory layer for autonomous agents that combines a knowledge graph with user-focused memory to inform responses over time. It suits developers building personalized agents who can manage local models, database connections, and API credentials.

graphrag: Build Knowledge Graphs for LLM Question Answering
Microsoft GraphRAG is a Python pipeline that uses LLMs to turn unstructured text into structured, graph-based context for question answering. It is suited to teams exploring graph-enhanced retrieval over private data, with indexing costs and maintenance-mode status to consider.

KAG: Build Knowledge-Grounded Reasoning and Q&A Systems
KAG is a Python framework for building domain-specific question-answering systems that combine knowledge graphs, source text, and LLMs. It targets factual and multi-hop reasoning where vector similarity alone may be insufficient.

ARIES: Automate Infrastructure Operations with AI
ARIES is a Python-based operations platform that combines LLM agents, infrastructure monitoring, and automated remediation. It targets teams managing servers, networks, and MQTT devices, with REST API access and webhook alerts.