Quipu
io.github.scbrown由 GitHub 账号 scbrown 发布v0.15.0更新于 Oct 24, 2026
Local knowledge graph memory for agents. SHACL rules refuse bad facts; SPARQL and time travel.
概览
Quipu 是面向 AI 代理的本地受治理知识图谱记忆,让助手保存带来源的事实,并查询当前或历史状态。
- 可以做什么
- 把以 Turtle 编写的事实写入本地图数据库,写入时按你的词汇表与形状进行校验
- 用 SPARQL 查询图谱,并可查询早期版本的数据以回答时间回溯问题
- 对已存知识做关键词检索,配置嵌入模型后可做语义检索
- 导入经过校验的知识包,先暂存新事实而不改动现有根数据
- 在多个代理与工具之间共享项目事实、决策与关系,无需重复粘贴上下文
- 适用场景
- 适合希望助手把持久、可审计的项目知识(事实、决策及其历史)集中保存在一个本地存储中,供多个代理和工具读取复用的场景,而不是每次会话都重复粘贴同样的上下文。
- 运行要求
- 以 stdio 本地进程方式运行,启动时指定数据库路径,可通过 Docker 镜像或命令行工具启动。命令行工具面向 Linux 和 macOS 的 x86_64 与 arm64,安装需要 Python 3.9+ 和 curl。未声明任何环境变量、请求头或身份验证。语义检索需安装嵌入模型;全新存储可直接使用关键词检索。
安装
在 SourceWeft 中
- 打开 控制台中的 Quipu,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[Quipu logo: knotted strings forming a knowledge graph]
Quipu
Governed knowledge your agents can read, reuse and share
[License: Apache-2.0] [CI] [crates.io: quipu-ai] [Docs: the Quipu book] [DOI: 10.5281/zenodo.21878428] [arXiv: 2608.16813] [Part of the Tambo stack]
Quipu is a governed, bitemporal knowledge store for AI agents and the people who run them. Use it from the command line, REST, MCP or a Rust application.
Why you would want it
- Governed: check incoming knowledge against your vocabulary and shapes.
- Bitemporal: keep a queryable history of facts and decisions.
- Reusable agent knowledge: store memory agents can read, reuse and share across tools.
- Time-aware entities: attach event-triggering time attributes for Chaski to react to.
Use Quipu as the central graph and base for many tools: see the stack. The full case is in Why Quipu.
Install
Linux and macOS, x86_64 and arm64; requires Python 3.9+ and curl.
The installer verifies the published archive checksum and executable version.
Then run quipu --version. Install, upgrade or remove Quipu.
For the whole stack, use Tambo's guided onboarding.
First success: insert a fact, watch the graph change
Write one fact in plain Turtle, knot it into a local store, and ask for it back:
Add a second fact and the graph grows. The first version is still there to query:
[Animated terminal: two plain facts are inserted and queried, then the earlier version is read back]
Transcript, tool version and reproducible capture.
On your own code
Keep project facts, decisions and relationships together instead of pasting the same context into each agent.
The latest release includes a repository pendant,
checksum and provenance. Verify them together, then use quipu import SHARE_DIR --db repository.db;
import stages knowledge and leaves ROOT unchanged. Follow the verified import workflow.
Wire it into your agent
For Claude Code, connect the local MCP server to your database:
The MCP Registry identifier is mcp-name: io.github.intigraph/quipu.
Other clients, HTTP MCP and credential configuration: Agent Setup.
Use Tambo to configure and verify the tools together.
Before you start
- The CLI runs locally;
quipu-serversupplies the network API and explorer. - Fresh stores support keyword search without downloading a model.
quipu search "your terms"uses keyword search until an embedding provider is configured; explicit--mode semanticstill requires a model and vectors. Install the pinned default model withquipu model installin a full build. Check readiness withquipu doctor search. - Configuration covers storage and server settings.
What's next
- The Quipu book: tutorials, concepts and references.
- Quick Start: governed local examples.
- Domain shapes: producer-owned vocabulary.
- Stack README format and shared hero theme.
🧺 The stack
Tambo installs these together and proves each one works; every tool also stands alone. Use each tool's README for its own installation and first success.
The Quipu stack is built around a governed, bitemporal knowledge store: shared facts, decisions and work history your agents can query. Quipu can check writes against your rules, records where each fact came from, and answers what was true when.
Contributing
See CONTRIBUTING.md. The repository's checks are:
📜 License
来源:README.md,提交 2289024
工具
0版本历史
10- v0.15.0最新Oct 20, 2026
- v0.14.1Oct 15, 2026
- v0.14.0Oct 15, 2026
- v0.13.0Oct 14, 2026
- v0.12.0Oct 10, 2026
- v0.11.1Oct 8, 2026
- v0.11.0Oct 3, 2026
- v0.10.0Oct 2, 2026
- v0.9.1Sep 30, 2026
- v0.9.0Sep 26, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分