Record & Supersede
Upsert structured facts with transaction + valid timestamps. Singular predicates supersede prior claims automatically.
v1.2.0 · Bi-Temporal Agent Memory
Cortex-MCP combines a local-first bi-temporal knowledge graph, Okapi BM25 + 2-hop spreading activation context compiler, semantic contradiction auditor, and TruthGate exporter over MCP.
Quick Install & Connect
pip install -e .
cortex-mcp demo
claude mcp add --transport http cortex-mcp https://cortex-mcp-steel.vercel.app/mcp
How It Works
Upsert structured facts with transaction + valid timestamps. Singular predicates supersede prior claims automatically.
Detect negation polarity conflicts, antonym object pairs, predicate alias collisions, and concurrent drift.
Rank active subgraphs with Okapi BM25, 2-hop spreading activation, SHA-256 Merkle proof, and TruthGate export.
Interactive Preview
Measured Benchmark (500 Facts / 100 Episodes)
Frequently Asked Questions
Vector similarity treats deprecated config (like JWT_HS256) and its replacement (PASETO_v4_public) as equally true neighbors. Bi-temporal bounds (valid_from, valid_until, superseded_by) exclude superseded facts while preserving historical time travel via memory_time_travel.
cortex-mcp export-sources emits verified GroundedSourceDocument payloads for citation verification, while api/index.py exposes Streamable HTTP at POST /mcp and local agents connect over stdio or HTTP/SSE.
Every recorded episode and fact participates in a SHA-256 hash chain and deterministic Merkle root digest checked by memory_verify_integrity.