
Tzivia-AI
io.github.MMcBerry-bitPublished by GitHub account MMcBerry-bitv5.1.0Updated Nov 7, 2026
Persistent local memory for AI agents: a self-organizing knowledge graph. Windows.
Overview
Tzivia-AI is a local Windows MCP server that gives an assistant a persistent, self-organizing knowledge graph as long-term memory.
- What you can do
- Store and retrieve knowledge as a typed, decaying graph persisted in a local SQLite file
- Retrieve only relevant knowledge chains instead of re-feeding whole context windows
- Score nodes across frequency, accuracy, connectivity and inference weight for retrieval
- Reason over typed relationship edges with a formal logic engine
- Keep discovered patterns as durable synthesis nodes that do not decay
- When to use it
- Worth considering if you want an assistant to carry knowledge across sessions on a Windows machine and to cut prompt size by retrieving only relevant chains, rather than relying on a flat vector store.
- Requirements
- Runs as a local stdio process on Windows (desktop only), installed from the provided MCP bundle package. No authentication, environment variables or headers are declared. The README says the full engine is private and the public launch is targeted for December 2026.
Installation
In SourceWeft
- Open Tzivia-AI in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Tzivia
Middleware that makes LLMs faster and cheaper.
Tzivia is a persistent memory and reasoning layer that attaches to any large language model. Instead of re-feeding entire context windows on every call, Tzivia retrieves only the relevant knowledge chains — cutting search space, latency, and token cost by orders of magnitude.
⚡ 3,136× faster routing than linear search at 100k items 🧠 88ms to retrieve 25 knowledge chains from 1,000,000 tokens 🗜️ 99.6% search-space reduction (1M tokens → 3,861 synthesis nodes)
The Problem
Every LLM call today pays the same tax: context has to be stuffed into the prompt, tokenized, and attended over from scratch. As knowledge bases grow, this gets slower and more expensive linearly — or worse. Retrieval-augmented approaches help, but most treat memory as a flat vector store with no structure, no reasoning, and no persistence of insight.
The Approach
Tzivia models memory as a typed, decaying knowledge graph with a dedicated routing algorithm on top:
- ARIA routing algorithm — sub-linear traversal that reaches relevant nodes without scanning the full store. Benchmarked at 3,136× faster than linear search at 100k items.
- 4D vector scoring (Vec4) — every node is scored across four independent dimensions: frequency, accuracy, connectivity, and inference weight. Retrieval balances all four rather than relying on similarity alone.
- Typed semantic relationships — 10 distinct edge types (not just "related to"), enabling a formal logic engine to reason over the graph with defined inference rules.
- Synthesis nodes — a persistent insight layer that doesn't decay. Discovered patterns are promoted into durable knowledge instead of being recomputed every session.
- MCP server architecture — Tzivia attaches to LLMs through the Model Context Protocol, making it a drop-in memory layer for any compatible model.
Benchmarks
Methodology and reproduction details available on request.
Applied Result: DNA Decay Finder
To validate the graph-decay mechanics on real data, Tzivia's decay model was applied to cancer genomics. The DNA decay finder detects mutation hotspots and was validated against the public TCGA cancer genomics dataset — demonstrating that the same routing and decay machinery that accelerates LLM memory generalizes to structured scientific data.
Architecture at a Glance
- SQLite persistence — zero-configuration local storage; the full graph lives in a single file
- Single-tenant by design — your memory graph stays on your machine
Roadmap
- PostgreSQL / Supabase backend for hosted, multi-tenant deployments
- Zero-knowledge encryption for multi-tenant mode
- Real-time 3D knowledge-graph visualization (Fibonacci-sphere layout, force-directed)
Status
Tzivia is in active development at v5.1. Core components — ARIA routing, Vec4 scoring, the typed edge store, the logic engine, and the validated DNA decay finder — are working and benchmarked. Public launch targeted for December 2026.
About
Built by Matthew McBerry, founder & CEO of Dorcas Innovations.
The full engine is under active development and kept private as core IP. This repository is a public overview — for a live demo, benchmark reproduction, or partnership inquiries, reach out.
Tzivia — persistent memory and reasoning for any LLM.
Source: README.md at commit fca3bd2
Tools
0Version history
1- v5.1.0LatestNov 7, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.