Open Memory Standards
for AI Agents

MemCube v2 and SMRS v1.0 — formal specifications for interoperable, provably safe agent memory governance.

View MemCube v2 Spec View SMRS v1.0 Spec

MemCube v2 — Memory Entry Schema

A standardized JSON Schema for AI agent memory entries. Designed for interoperability across LangChain, CrewAI, AutoGen, LangGraph, mem0, and any agent framework.

7 Required Fields

Field Type Description
idstringUnique identifier
contentstringMemory content text
typeenumOne of 7 memory types
timestamp_age_daysfloatAge in days since creation
source_trustfloat 0-1Source reliability score
source_conflictfloat 0-1Contradiction level with other sources
downstream_countintNumber of dependent agents

Memory Types

episodic semantic preference tool_state shared_workflow policy identity

Example Entry

{
  "id": "mem_001",
  "content": "User prefers wire transfers under $10,000",
  "type": "preference",
  "timestamp_age_days": 14,
  "source_trust": 0.91,
  "source_conflict": 0.04,
  "downstream_count": 3
}

SMRS v1.0 — Memory Risk Score

A formal risk scoring standard for AI agent memory validation. Computes a 0-100 risk score from 10 components, producing one of four preflight decisions.

Decision Thresholds

0-25

USE_MEMORY

Safe to proceed

25-50

WARN

Proceed with caution

50-75

ASK_USER

Human approval needed

75-100

BLOCK

Do not proceed

10 Risk Components

s_freshness

Memory age decay

s_drift

Semantic drift

s_provenance

Source reliability

s_propagation

Blast radius

r_recall

Recall accuracy

r_encode

Encoding quality

s_interference

Cross-entry conflict

s_recovery

Recovery capability

r_belief

Model belief alignment

s_relevance

Intent-drift detection

Standard body: Sgraal Governance Working Group · Version: SMRS v1.0

Empirically Validated

Joint benchmark with Grok (xAI)

1.000

F1 Score

Across all 3 corpora

239/239

Corpus Cases

All green on live API

0

False Negatives

No unsafe memory passed through

View corpus on GitHub →

Compatible With

LangChain CrewAI AutoGen LangGraph mem0 OpenAI Agents SDK
View Integration Docs →

Start validating memory today

No signup needed. Use the demo key to try the full 83-module safety pipeline.

Get API Key

Demo key: sg_demo_playground — no signup needed