2026 最佳 AI 知识图谱工具推荐
图数据库、知识图谱构建器、GraphRAG 框架和 Agent 记忆系统。为你的 AI 提供结构化、连接的知识。
Graphiti — Real-Time Knowledge Graphs for AI Agents
Build real-time knowledge graphs for AI agents by Zep. Temporal awareness, entity extraction, community detection, and hybrid search. Production-ready. 24K+ stars.
Graphiti — Temporal AI Knowledge Graph by Zep
Build dynamic knowledge graphs from AI agent conversations. Graphiti tracks entity changes over time, resolves contradictions, and provides temporal-aware queries.
LangGraph — Build Stateful AI Agents as Graphs
LangChain framework for building resilient, stateful AI agents as graphs. Supports cycles, branching, persistence, human-in-the-loop, and streaming. 28K+ stars.
DeepAgents — Multi-Step Agent Framework by LangChain
Agent harness built on LangGraph by the LangChain team. Features planning tools, filesystem backend, and sub-agent spawning for complex multi-step tasks like codebase refactoring. 16,500+ stars.
LangGraph — Build Stateful AI Agent Workflows
Framework for building stateful, multi-step AI agent workflows as graphs. LangGraph enables cycles, branching, human-in-the-loop, and persistent state for complex agent systems.
LangGraph — Stateful AI Agent Graphs by LangChain
Framework for building stateful, multi-actor AI agent applications as directed graphs. Supports cycles, branching, persistence, and human-in-the-loop patterns. By LangChain. 8,000+ stars.
Graphify — Repo Knowledge Graph + MCP
Graphify extracts docs/code into a knowledge graph and can install as an MCP/skill across Claude Code, Cursor, Codex, and Gemini CLI. Install via uv/pipx.
SwarmVault — Local-First LLM Wiki + Graph
SwarmVault turns docs/code/transcripts into a durable Markdown wiki plus a local knowledge graph for agents, with a 30-second `quickstart` CLI path.
LightRAG — Graph-Enhanced Retrieval-Augmented Generation
LightRAG integrates knowledge graphs into the RAG pipeline, enabling both low-level entity retrieval and high-level thematic search for more accurate and context-rich LLM responses.
langchain-mcp-adapters — MCP Tools in LangGraph
Use MCP servers inside LangChain/LangGraph by loading MCP tools into agents via MultiServerMCPClient, without writing one-off wrappers per server.
DuckDB Graph Memory MCP — File-Backed Memory DB
DuckDB Graph Memory MCP is a fork of the MCP memory server that stores the knowledge graph in a DuckDB file for SQL queries and scaling beyond JSON.
Cayley — Open-Source Graph Database Inspired by Google's Knowledge Graph
Cayley is an open-source graph database written in Go, inspired by the graph infrastructure behind Google's Knowledge Graph. It supports multiple storage backends and query languages for flexible graph traversal.
MCP Toolbox Python SDKs — Use Toolbox Tools in Apps
Python SDKs that load MCP Toolbox tools as callable functions/objects, with packages for core apps, Google ADK, LangChain/LangGraph, and LlamaIndex.
GitNexus — Zero-Server Code Intelligence Knowledge Graph
A client-side knowledge graph creator that turns any GitHub repository or ZIP file into an interactive visual graph with a built-in Graph RAG agent for code exploration.
langchain_data_agent — NL2SQL Data Agent CLI
NL2SQL data agent with a CLI (`data-agent`) built on LangGraph/LangChain. Ask questions in English to get SQL + results, with per-source configs.
nano-graphrag — Lightweight GraphRAG Implementation
A simple, hackable implementation of Microsoft GraphRAG that builds knowledge graphs from documents and uses graph-based retrieval for more accurate LLM question answering.
RedwoodJS — Full-Stack React Framework with GraphQL and Prisma
RedwoodJS is an opinionated full-stack JavaScript framework that combines React on the frontend with a GraphQL API and Prisma ORM on the backend, optimized for startups and rapid application development.
URQL — Lightweight Extensible GraphQL Client for React and Beyond
URQL is a highly customizable and lightweight GraphQL client for JavaScript frameworks that prioritizes simplicity and extensibility through a modular exchange-based architecture.
Paper.js — The Swiss Army Knife of Vector Graphics Scripting
An open-source vector graphics scripting framework that runs on top of the HTML5 Canvas, offering a clean scene graph, powerful path manipulation, and PaperScript for concise creative coding.
Relay — Declarative GraphQL Data Fetching for React
Relay is a JavaScript framework by Meta for building data-driven React applications powered by GraphQL. It handles data fetching, caching, and optimistic updates with a compiler-driven approach.
Insomnia — Open-Source API Client for REST, GraphQL & gRPC
Design, debug, and test APIs with a collaborative open-source client that supports REST, GraphQL, gRPC, and WebSocket protocols.
TerminusDB — Document Graph Database with Git-Like Versioning
TerminusDB is a document graph database that versions your data like Git. It stores JSON documents with graph relationships, enabling branch, merge, diff, and time-travel operations on your entire dataset.
PostGraphile — Instant GraphQL API from PostgreSQL
PostGraphile generates a high-performance, standards-compliant GraphQL API from your PostgreSQL database schema automatically. It uses database introspection to build a fully-featured API without writing resolvers.
DGL — Deep Graph Library for Scalable Graph Neural Networks
A high-performance framework for building graph neural networks on top of PyTorch, TensorFlow, or MXNet, designed for both research prototyping and production-scale graph learning.
React Admin — Frontend Framework for Admin Panels on REST and GraphQL
React Admin is an open-source frontend framework for building admin interfaces and internal tools on top of REST or GraphQL APIs using React and Material Design components.
Apache AGE — Graph Database Extension for PostgreSQL
Apache AGE (A Graph Extension) adds graph database capabilities to PostgreSQL. Query your existing Postgres data as a graph using openCypher while keeping full SQL compatibility.
Graphite — Scalable Real-Time Graphing and Metrics Platform
Graphite is a time-series monitoring platform that stores numeric data and renders graphs on demand, providing a flexible API for querying, transforming, and visualizing operational metrics.
PyTorch Geometric — Graph Neural Network Library for PyTorch
A library for deep learning on graphs and other irregular structures, featuring efficient mini-batch training and a broad collection of GNN operators.
Inkscape — Professional Open Source Vector Graphics Editor
Inkscape is a free, open-source vector graphics editor that uses SVG as its native format. It provides tools for drawing, shape manipulation, text, clones, gradients, path operations, and extensions, serving as a full-featured alternative to Adobe Illustrator for designers, illustrators, and technical artists.
React-Admin — Frontend Framework for Admin Apps on REST/GraphQL
A full-featured frontend framework for building single-page admin applications on top of REST or GraphQL APIs, using TypeScript, React, and Material Design.
图是新的上下文
Graphs Are the New Context
Vector embeddings dominated 2024-2025, but 2026 is the year of hybrid graph + vector systems. Knowledge graphs excel where vectors fall short: multi-hop reasoning, temporal relationships, and queries that span multiple documents. Agent State Graphs — LangGraph models AI agents as stateful graphs where nodes are tools or LLM calls and edges define control flow. Essential for building reliable multi-step agents.
Real-Time Knowledge Graphs — Graphiti builds temporal knowledge graphs from streaming data, letting agents remember "what happened when" across sessions. Perfect for personal assistants, CRM automation, and long-running AI applications. GraphRAG — Microsoft's GraphRAG extracts entities and relationships from documents to build structured knowledge graphs. Retrieval combines graph traversal with vector search for dramatically better accuracy on complex queries.
Code Intelligence — Codebase Memory MCP builds call graphs and type graphs from your codebase, giving AI coding agents deep structural understanding. Ask "what breaks if I rename this function?" and get an accurate answer based on actual graph traversal, not fuzzy text matching.
Vectors capture similarity; graphs capture relationships. The best AI systems use both.
常见问题
What is the difference between vector search and knowledge graphs?+
Vector search finds items similar to your query (semantic similarity). Knowledge graphs find items connected to your query through defined relationships (structural traversal). Vectors are great for "find documents about X"; graphs are essential for "show me all people who worked with X on project Y." The best modern AI systems combine both — GraphRAG and similar approaches extract graphs during indexing and query them alongside vectors.
What is LangGraph and when should I use it?+
LangGraph is a framework for building stateful AI agents modeled as directed graphs. Nodes are functions (LLM calls, tools, routing logic) and edges define how state flows between them. Use it when you need: reliable multi-step workflows, complex control flow (loops, conditionals, parallelism), checkpointing and resume, or human-in-the-loop approvals. It's production-ready and used by major AI applications.
How do I add persistent memory to AI agents?+
For session memory: use your agent framework's built-in state (LangGraph checkpoints, Claude Agent SDK sessions). For long-term memory across sessions: use dedicated memory tools like Mem0 (semantic) or Graphiti (temporal graphs). Graphiti is particularly powerful because it captures not just facts but when they were true — enabling agents to reason about change over time.