Equivalent outcomes
Identical governed inputs, configuration and prior State produce equivalent observable outcomes.
01Protocol overview
MOPS defines how persistent memory is identified, changed, governed and verified.
An Agent expresses an intended action as an explicit M-OP Request. MOPS resolves the memory being addressed, applies the relevant Schema, Policy and operation rules, and returns a structured outcome. A successful mutation creates one new immutable State Instance and a verifiable record of the transition.
Because these rules sit at the protocol boundary, independent implementations can use different models, applications, runtimes and storage systems while preserving equivalent observable outcomes.
02Intentional scope
MOPS establishes shared meaning and behaviour at the persistent-memory boundary while leaving the surrounding AI and infrastructure stack open to implementation choice.
03Protocol model
01
02
03
04
The separation is deliberate: MOPS governs memory semantics and behaviour; the storage layer provides durability.
04Governed operation path
M-OP defines a closed set of operations:
Mutating operationsCOMMIT · UPDATE · DELETE · REDACT
Read-only operationsQUERY · HISTORY · RENDER
Each operation crosses the same protocol boundary.
An Agent submits a closed Request containing the M-OP version, Namespace, one operation, explicit Agent identity and timestamp, and the fields permitted for that operation.
MOPS resolves the addressed Memory Object, current authoritative State where one exists, applicable Schema Version, Policy and any required Reducer or Template.
The Namespace supplies the protocol address. Storage keys and other implementation details remain inside the storage layer.
The Request passes through ordered checks for protocol grammar, Namespace, operation eligibility, Schema where applicable and Policy.
For mutations, the candidate State and transition record are also validated before becoming authoritative.
A failed check stops the operation at that point and produces a structured Response.
Each operation applies its defined semantics:
COMMIT supplies complete State and can create a genesis Memory Object.UPDATE applies a partial Payload to existing State and validates the complete result.DELETE and REDACT produce their defined terminal State transition.QUERY, HISTORY and RENDER return governed results without changing State.A successful mutation atomically creates exactly one new immutable State Instance, its StateHash and one corresponding Commit Record.
A successful read returns its governed result without creating a State transition.
If an operation fails, the prior State remains authoritative and no partial State transition or Commit Record is created. Policy may separately require a governance-relevant failure audit entry.
Every path ends in a structured Response describing the outcome.
05Preserved behaviour
MOPS conformance is measured at the protocol boundary, not by an implementation’s internal design.
Identical governed inputs, configuration and prior State produce equivalent observable outcomes.
Accepted mutations create immutable State Instances under an explicit Schema Version and the applicable operation rules. Prior States remain unchanged, and partial transitions never become authoritative.
Validation, operation ordering, history and failure follow explicit rules. The same invalid operation fails at the same governed boundary.
Applicable Policy outcomes are part of the operation path and determine what each Agent is permitted to do.
StateHashes, Commit Records and Audit Trails preserve the ordered relationship between accepted State transitions.
Storage can change in scale, performance and architecture while M-OP operations retain the same meaning and governed outcomes.
Conformant implementations interpret shared MOPS artefacts and operations under the same protocol rules, preserving memory meaning and behaviour across different systems.
06Evidence
Each artefact exposes a different part of the proposal.
01 / Rules
The Specification defines the protocol structures, operations, invariants and conformance requirements.
Read the Specification →02 / Tests
Machine-readable vectors define expected canonicalisation, validation, StateHash, Request, transition and failure outcomes. Reference validator logic makes candidate admission mechanically testable.
Inspect the artefacts →03 / Reference
MOPS-Lite demonstrates a bounded single-runtime execution path in Python—from canonical Requests and validation through mutation, StateHash and Commit Record construction, QUERY, HISTORY and local persistence.
Explore MOPS-Lite →Its role is deliberately limited. MOPS-Lite is a starter SDK rather than a hardened service, complete distributed implementation or proof of the entire protocol. Its current client does not execute RENDER or Schema migration through targetSchemaVersion, so it does not demonstrate the complete MOPS-Lite operation surface.
Together, these artefacts make the proposal inspectable, reproducible and open to technical challenge.