
Graphiti Local
io.github.renezander030由 GitHub 账号 renezander030 发布v0.10.0更新于 Oct 24, 2026
Local-first temporal knowledge graph with six read-only MCP tools and human-reviewed writes.
概览
本地优先的时序知识图谱,为助手提供六个只读记忆工具,更新提案需人工审核后才应用。
- 可以做什么
- 通过六个只读 MCP 工具或 kg 命令行工具,从本地时序知识图谱中检索项目决策与事实,默认返回当前事实,也可显式查看历史版本。将 Markdown、文本或 JSONL 导入图谱,大文档按稳定边界切分,并用回执与失败日志记录实际写入内容。提交图谱更新提案,提案留在独立队列中,直到人工审核并应用,可标记为接受、拒绝或有争议,并生成仅含已接受事实的校验和封存快照。用内置小型合成图谱运行演示,仅靠关键词检索,无需模型或数据库设置。
- 适用场景
- 当你希望智能体回忆本地项目决策与事实,且任何写入前都需要明确人工审核时使用。若需要智能体通过 MCP 直接写入,或想要无需本地设置的托管服务,则不适合。
- 运行要求
- 本地 Python 环境,需安装并运行 uv 与 Ollama;安装过程下载需要联网。通过环境变量 GRAPHITI_LOCAL_CONFIG、KG_WORKSPACE_DIR 和 KG_LADYBUG_PATH 进行配置。抽取需拉取 Ollama 模型 qwen2.5:7b 与 nomic-embed-text。本地设置无需 Docker 或云 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Graphiti Local,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Graphiti Local
Local memory for your agents. You approve what they learn.
Retrieve project decisions through six read-only MCP tools or the kg CLI.
Proposed updates stay in a separate queue until a human approves and applies them.
Ollama handles local inference; embedded LadybugDB stores the graph. No Docker or
cloud API key is needed for the local setup.
[42-second synthetic memory demo]
Captured output excerpts with pauses condensed. Measured results and limitations.
Try it in one command
Answers a question against a small synthetic graph shipped with the package. No Ollama, no model downloads, no database setup: retrieval runs on keywords alone, so nothing contacts a model. Ask your own question by passing it as an argument.
This is the read path only. Building a graph from your own text needs extraction, which needs a model, and that is the full setup below.
Try it locally
Install uv and Ollama, then start Ollama. Setup downloads need internet access. Run these commands in bash or zsh:
The synthetic example returns DuckDB. Follow the complete walkthrough to propose PostgreSQL, review and apply that update, and retrieve it from an MCP client. Model extraction can be wrong; inspect the returned facts and validity timestamps.
To review extraction before it touches the configured graph, run
kg-ingest INPUT --review-output review.jsonl, inspect the snapshot, and mark every
fact in the generated review.jsonl.review.jsonl file as accept, refuse, or
contested. The printed restore command refuses unresolved decisions and promotes a
checksum-sealed snapshot containing accepted facts only. Searches return current facts
by default; kg ask --history is the explicit historical view.
kg-ingest also accepts a Markdown/text file or a directory tree directly. Large
documents split at stable text boundaries. Transient writes retry with one stable
episode id; ingest-receipts.jsonl and ingest-failures.jsonl in the workspace show
exactly what landed and what still needs attention.
Multiple users on Ladybug
Give each user a group, and each group its own Ladybug file:
Each file is named by the SHA-256 of its group, so no group id can point outside the
directory. Reads, kg ask and the drain open only the file of the group they address;
a token granted alice never opens Bob's file. A read names one group, or the token's
single group is used. For a tenant boundary inside one database server, use FalkorDB
or Neo4j.
Is it a fit?
Use it for local agent memory with explicit human review. Skip it if you need agents to write through MCP or want a hosted service without local setup. FalkorDB and Neo4j are also supported.
- Setup and MCP configuration
- Commands, ingestion, backups, and deployment
- Privacy · Security · Container discovery
- Report a successful or blocked setup
If this helps your workflow, star the repository and share your setup result.
Maintained by René Zander, who builds context layers for AI agents on temporal knowledge graphs.
Independent community project built on Graphiti, not affiliated with or endorsed by Zep. Apache-2.0.
来源:README.md,提交 cce3cbc
工具
0版本历史
7- v0.10.0最新Oct 23, 2026
- v0.9.0Oct 16, 2026
- v0.8.0Oct 16, 2026
- v0.7.0Oct 9, 2026
- v0.6.0Sep 25, 2026
- v0.5.0Sep 23, 2026
- v0.4.1Sep 18, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分