graphiti-local is a local-first temporal knowledge graph project designed to provide controllable long-term memory for AI agents. Its core idea is "you approve what they learn": knowledge that agents extract from interactions is not written directly to the main graph but first enters a pending-review queue and is applied only after human confirmation.
Main capabilities include: retrieving project decisions through six read-only MCP tools or the kg CLI; updates proposed by agents are kept in a separate queue awaiting human approval and application; using Ollama for local inference and embedded LadybugDB for graph storage; local setup requires no Docker or cloud API keys. FalkorDB and Neo4j are also supported.
Usage: the project offers a one-command quick trial that answers questions against a small synthetic graph bundled with the package, with no Ollama, model downloads, or database setup required; retrieval is keyword-based only and does not contact a model. However, this trial covers only the read path; building a graph from your own text requires extraction, and extraction requires a model, so full setup is needed. Full setup requires installing uv and Ollama, starting Ollama, and ensuring network access for downloads. kg-ingest can be used to ingest Markdown/text files or directory trees, with large documents split at stable text boundaries. To review extraction results before they touch the configured graph, run kg-ingest INPUT --review-output review.jsonl, inspect the snapshot, and mark each fact in the generated file as accept, refuse, or contested; the resume command rejects unresolved decisions and promotes a checksum-sealed snapshot containing only accepted facts. Search returns current facts by default, and kg ask --history provides an explicit historical view. In multi-user scenarios, each user can be assigned a group, with each group owning a separate Ladybug file named by the group's SHA-256, ensuring a group ID cannot point outside the directory; reads, kg ask, and drain open only the addressed group's file, so the token alice will never open Bob's file. If tenant boundaries are needed within a single database server, FalkorDB or Neo4j can be used.
Suitable scenarios: scenarios that need local agent memory with explicit human review. Unsuitable scenarios: scenarios that need agents to write via MCP, or that want a hosted service without local setup.
Limitations and caveats: model extraction may make mistakes, so returned facts and validity timestamps should be checked; the quick trial supports keyword retrieval only and does not involve a model; full functionality requires installing Ollama and uv and downloading over the network. The project is an independent community project built on Graphiti, with no affiliation with or endorsement by Zep, and is licensed under Apache-2.0.