Bi-temporal history, OWL 2 ontologies, identity resolution, and provenance built into every query. For AI developers, researchers, and knowledge engineers.
# Give your AI agent governed memory in 3 lines from relata import Memory m = Memory('http://localhost:9090', purpose='agent') m.add('Alice's risk score: HIGH — flagged 2026-01-15') # REMEMBER hits = m.search('Alice risk flags', as_of='2026-01-01') # RECALL AS OF # Every memory: bi-temporal + governed by ACL + hash-chained provenance ──── or SQL ──── -- Resolve an entity, travel back in time, prove it SELECT RESOLVE_IDENTITY(entity_id) AS canonical, event_type, confidence, prov_author FROM AgentMemory AS OF '2026-01-15T09:00:00Z' WITH PROVENANCE WHERE agent_id = 'researcher-7' AND confidence > 0.85 ORDER BY valid_from DESC;
Five stages. No manual wiring. Every fact temporal, governed, and queryable.
AS OF 'timestamp'WITH PROVENANCERESOLVE_IDENTITY()IDENTITY_CLUSTER()REMEMBER / RECALLPURPOSE 'id'OWL 2 QL/ELHYBRID_SCORE()valid_from/valid_to + system_from/system_to on every row. AS OF queries, no triggers, no shadow tables.
75+ canonical types — email, IBAN, IMEI, MMSI, mobile money. RESOLVE_IDENTITY, IDENTITY_CLUSTER, IDENTITY_PATH.
Cedar ABAC, cell masking, PURPOSE audit, hash-chained PROV-O manifests. Deny-wins, fail-closed.
MCP memory verbs + A2A protocol. Cognitive verbs map directly to governed temporal storage rows.
Custom BM25 + q-gram + HNSW vector + identity fusion. RRF scoring. No Tantivy. No external deps.
OWL 2 QL/EL inference engine, live SPARQL endpoint, git-branched schema with HEAD pointer.
Single container, no external dependencies. Postgres wire on port 9090 — any psql client or SDK connects immediately.
# Run with Docker $ docker run -p 9090:9090 ghcr.io/openworkbench-co/relatadb:latest # Pick your SDK $ pip install relata-sdk # Python $ npm install @relata/sdk # TypeScript $ go get github.com/openworkbench-co/relata-go → postgres://localhost:9090 → http://localhost:9090/mcp (MCP tools) → http://localhost:9090/sparql (SPARQL)Read the quickstart →