Quipu

السجل الرسمي الخرائط والسفر والطقس

Local knowledge graph memory for agents. SHACL rules refuse bad facts; SPARQL and time travel.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

OCI package ghcr.io/scbrown/quipu:0.15.0
Claude Code
claude mcp add quipu -- docker run -i --rm ghcr.io/scbrown/quipu:0.15.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "quipu": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/scbrown/quipu:0.15.0"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Quipu
  2. Why you would want it
  3. Install
  4. First success in three commands
  5. On your own code
  6. Delivery events
  7. Wire it into your agent
  8. Before you start
  9. What's next
  10. 🧺 The stack
  11. Contributing
  12. 📜 License

Quipu

Governed knowledge your agents can read, reuse and share

Apache-2.0 · CI · Read the book

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. A quipu is an Andean knotted-cord record: cords are entities, knots are facts.

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

curl -fsSL https://raw.githubusercontent.com/intigraph/quipu/main/install.sh | sh

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 in three commands

In an empty directory, fetch the public fixture, store its episode, then ask about its relationship:

curl -fsSL https://raw.githubusercontent.com/intigraph/quipu/main/docs/demos/terminal/fixture/episode.json -o episode.json
quipu episode episode.json --base-ns urn:demo: --timestamp 2026-01-01T00:00:00Z --db demo.db
quipu read 'SELECT ?person ?thing WHERE { ?person <urn:demo:studies> ?thing }' --db demo.db

The query returns Ada → Engine. Here is the real local episode and query:

The resulting row, drawn as cords and knots:

The recording uses a local public fixture, without a server or model. Its native warning is retained: loading facts is not proof that a semantic index is ready. 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.

You want toStart here
Load facts and apply your vocabularyQuick Start
Ask about current or historical knowledgeSPARQL and time
Share a governed knowledge bundleVerified sharing
Prepare domain knowledge and shapesCamayoc
Repository knowledge

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.

Delivery events

Bring deployment outcomes and change history into the same governed memory. These adapters use CDEvents on CloudEvents and Camayoc's single ingress.

Catalog data · Updating the table

ToolStandardHowStatusDocs
GitHub / Forgejo ActionsCDEvents on CloudEventsReusable deployment-event action or CLI; skipped and cancelled jobs emit no deployment.Supported adapter; activation is separateGuide
AnsibleCDEvents on CloudEventsCallback writes one event per applied host; failed or unreachable recap counters mean failure.Supported adapter; activation is separateGuide
TerraformCDEvents on CloudEventsWrap an actual apply -json; errors or a nonzero exit after an attempted change mean failure.Supported adapter; activation is separateGuide
Native CDEventsCDEvents on CloudEventsPass supported CDEvents through the single governed ingress; unknown types are quarantined.Supported adapter; activation is separateGuide
GitHub change lifecycleCDEvents on CloudEventsRead change, CI and native review records into ChangeEvent history; scheduling is separate.Supported adapter; activation is separateGuide

The catalog describes source support, not installed producers or measured event coverage. The graph queries for deployment frequency, change failure rate, lead time and restore time need recorded events for the selected service, repository and time window. Missing change or deployment history is not a measured zero.

Wire it into your agent

For Claude Code, connect the local MCP server to your database:

claude mcp add quipu -- quipu mcp --db /path/to/knowledge.db

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-server supplies the network API and explorer.
  • Keep your database and credentials private. A demo fixture is not a deployment profile.
  • Semantic search needs a configured model and index; storing a graph alone does not provide either.
  • Configuration covers storage and server settings.

What's next

🧺 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.

toolwhat it gives your agents
tambo🧰 Agent Platform Toolkit - installs and configures the quipu stack
quipustores shared facts with provenance and history; can check writes against your rules
camayocprepares knowledge and vocabulary for Quipu, with checks before it is admitted
quechuashared vocabulary and shapes for interoperable knowledge
chaskireacts to graph changes and delivers governed notifications
bobbinindexes your codebase and injects context from that index and Quipu knowledge
yupanashows code impact and can read policies from Quipu to govern agent actions
desire-pathturns agent mistakes into feature requests; works on its own without Quipu
seedsa work item tracker backed by the Quipu knowledge base
shantytownruns crews of AI agents on work items, triggered by hand, on a schedule or by events; can share work and memory through Quipu
rikuylive brief: status, graphs, watches and signed decisions over Quipu
shuttleruns signed agent workflows and keeps their records in Quipu

Contributing

See CONTRIBUTING.md. The repository's checks are:

just check
just docs check

📜 License

Apache-2.0.

الأسئلة الشائعة

ما هو Quipu؟

Local knowledge graph memory for agents. SHACL rules refuse bad facts; SPARQL and time travel.

كيف أثبّت Quipu؟

يعمل على جهازك. في Claude Code: claude mcp add quipu -- docker run -i --rm ghcr.io/scbrown/quipu:0.15.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Quipu إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Quipu مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص Apache-2.0.

من يصون Quipu؟

ينشره scbrown. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.