Open Memory Interchange — Formal Specification

Spec ID:
OMI-AI/0.1-draft
Status:
Public Review Draft / not a stable 1.0 release
Format version:
0.1
Primary file extension:
.omi.json
Primary media type:
application/vnd.omi+json
Streaming file extension:
.omi.jsonl
Streaming media type:
application/vnd.omi+jsonl
JSON Schema:
JSON Schema Draft 2020-12, with L0 and L1 schemas in Appendix B
Canonical release posture:
small, neutral, snapshot-first memory interchange floor

Name and acronym are provisional. “Open Memory Interchange” and “OMI-AI” are working names. The floor’s value is neutrality, not ownership or branding. Before public launch, the working group should resolve naming, domain, repository ownership, and governance. The format was previously named “Open Memory Record” (OMR), but that acronym collided with the widely used acronym for Optical Mark Recognition, so it has been renamed to “Open Memory Interchange” (OMI-AI); do not lock the acronym until searchability and standards-positioning have been checked. A memory portability floor adopters do not perceive as one author’s front door is the floor most likely to be adopted.

0. Abstract

Open Memory Interchange is a minimal, vendor-neutral JSON format for exporting and importing AI, assistant, and agent memory between tools. Its only job is portability: a producer can emit an OMI-AI file, and a consumer can read that file without sharing a storage engine, query language, governance model, ontology, vector index, or vendor-specific runtime.

OMI-AI is deliberately thin. It defines:

  1. a file envelope;
  2. a human-readable memory record;
  3. a small set of optional descriptive fields;
  4. an extension object, ext, for everything above the floor;
  5. two serializations of the same model: a single JSON document and a JSON Lines streaming form.

OMI-AI does not define a query language, schema language, lifecycle model, full provenance graph, integrity/signature scheme, embedding standard, storage engine, sync protocol, or notation language. Those concerns are real, but they belong in optional profiles layered on top of the floor.

The core invariant is simple:

A floor-only OMI-AI record remains legible from content alone.

A record may carry type hints, source hints, validity dates, tags, entities, relations, language metadata, and extension profiles. But a consumer that understands none of those still receives a readable memory.

This document is not a claim that OMI-AI is stable. It is a formal public-review draft. A stable 1.0 should require implementation feedback, conformance fixtures, at least two independent import/export implementations, and a governance home.

1. Design goals and non-goals

1.1 Goals

  1. Portability above all. A file is self-describing and tool-independent.
  2. A floor anyone can reach. Existing provider exports, assistant memories, agent memories, CRM notes, local knowledge-vault notes, and application-specific memory stores can be converted into OMI-AI without adopting a theory of memory.
  3. Snapshot-first interchange. OMI-AI core represents export/import snapshots. Incremental synchronization, tombstones, mutation operations, and conflict policies are optional profile concerns.
  4. Human-readable anchor. Every record has content: a readable text anchor. The record is not only an opaque structured object.
  5. Open memory type vocabulary. type is an open string. OMI-AI recommends semantic, episodic, and procedural, but does not require or exhaust memory taxonomy.
  6. Forward and outward compatibility. Unknown extension profiles do not make a file invalid. Lossless round-trip processors preserve unknown extensions.
  7. Profile pressure valve. Governance, integrity, schema, provenance, retrieval, and sync live in named profiles under ext, not in the core.
  8. Large-export viability. OMI-AI supports both ordinary JSON files and JSON Lines for large exports and streaming pipelines.
  9. Boring on purpose. Plain JSON, no custom syntax, no required cryptography, no required ontology, no required embeddings, no required hosted registry.

1.2 Non-goals

OMI-AI explicitly does not specify, and a floor implementation MUST NOT require, any of the following:

These exclusions are a commitment, not an omission. They are what make OMI-AI politically and technically small enough to be a shared floor between parties who disagree about everything above it.