REF. C: COMPARATIVE ANALYSIS

How kontexta compares


MATRIX C: CAPABILITY COMPARISON
CapabilityCLAUDE.mdVendor memorymem0LinkseeCosmoskontexta
Setup costNone, just a fileNone, built inSDK integration in your appnpx linksee-memory setupCurl install + macOS handler for iMessage / calendarnpx kontexta start + kontexta.json
Cross-agent portabilityPer-agent flavored files drift apartLocked to one vendorApp-level, not agent-levelOne SQLite read by Claude, Cursor, Codex, GeminiOne .polarity graph across any MCP clientSame MCP surface for Claude Code, Cursor, Codex, Gemini, Aider
Retrieval modelWhole file dumped into contextWhole file / vendor-managedVector + graph (semantic)6-layer structured memory + AST diff cacheKnowledge graph, NL-synthesized on queryDeterministic FTS5 + regex; surgical section reads
Self-editing memoryManual edits onlyAppend-only per sessionAppend-only + dedupDrift detection vs locked decisions (map.yaml)Append-only, graph re-synthesized on readDistill loop rewrites summaries from event log
Command executionN/AVendor-defined toolsN/A (memory only)N/A (memory only)N/A (memory + graph only)Sandboxed Hands with per-command contracts and approval
Token accountingNoneNoneNone exposed to agentDiff cache reduces re-read costNone exposed to agentEvery response carries est_tokens / size_bytes
StorageRepo file (clutters PRs)Vendor cloudSelf-host or hosted, vector DBLocal SQLiteHosted cloud graph (.polarity export)Local SQLite, git-synced markdown vault
Data ingestionNoneChat history onlyVia SDK ingestionAgent-writes onlyiMessage, browser, calendar, shell historyURL clipping + agent-writes; no personal-data vacuum
Best atStatic project conventionsZero-config personal memorySemantic recall inside one appCatching agent drift from locked decisionsPersonal knowledge graph across life appsMulti-agent handoff + governed local execution
REF. C.1: DESIGN RATIONALE

Why kontexta


R-01

One vault, every agent

Same MCP surface for Claude Code, Cursor, Codex, Gemini, Aider, Copilot. Switch tools mid-project; the vault and journal follow.

R-02

Self-editing memory

Everyone else appends. Kontexta's distill loop rewrites the raw event log into per-topic markdown summaries the next session searches instead of re-deriving.

R-03

Governed execution

Every Hands command is declared in kontexta.json. Approval gates for the destructive ones. No rogue shell.

R-04

Deterministic retrieval

SQLite FTS5, not vectors. Exact keyword and regex search, no embedding hallucination, no third-party API.

R-05

Context economy

Surgical fetching: outlines, sections, search excerpts. Every response carries est_tokens so agents budget intentionally.

R-06

Local-first architecture

Your vault on your SSD. No cloud sync, no upload. KONTEXTA_DATA_DIR points wherever you want.

kontexta (kon-TEX-tah) · by safiyu · REV 5.0.0 · Apache-2.0