Embedding commitment
Each shard is committed by a Poseidon hash over its embedding vector, ciphertext hash, and license terms — addressable by semantic proximity, not by index.
Noema is an infrastructure protocol on Base for encrypted, verifiable, and tradeable memory of AI agents. Each noema is a ciphertext shard with an on-chain commitment of its embedding vector and ciphertext hash. Access is bought per-thought by burning $NOEMA, with a zk- or TEE-proof of correct top-k retrieval.



Unlike protocols that tokenize whole static snapshots of intellect, Noema addresses individual fragments of agent experience by their semantic vector. Memory becomes a stream of discrete, bearer shards — portable between environments, verifiable against the chain, and traded on an open pay-per-thought market.
Every interaction is one round-trip on Base. No off-chain trust, no opaque indexer, no replay.
A publisher seals one recollection into a ciphertext shard and pushes a single on-chain commitment: poseidon(embedding ‖ ciphertext_hash ‖ terms). The shard itself lives off-chain on any storage layer — the chain stores only what's needed to address and authenticate it.
> publisher.seal(payload, embedding) ↳ ciphertext = AES-256-GCM(payload, k_pub) ↳ noema_id = poseidon(embedding ‖ ciphertext_hash) ↳ tx = registry.commit(noema_id, terms) ✓ block #21,438,207 · gas 47,210
ERC-7689 is the minimum surface needed to make a single shard of cognition fungible across publishers, indexers, and wallets.
Each shard is committed by a Poseidon hash over its embedding vector, ciphertext hash, and license terms — addressable by semantic proximity, not by index.
Access is paid by burning $NOEMA in the same transaction that emits the query. No subscriptions, no per-publisher accounts, no off-chain quotas.
Publishers prove that the returned shards are the kNN of the consumer's query over their committed set — either with a Groth16 zk-snark or a TEE attestation.
Every settled recall mints a transferrable receipt (ERC-7689). The right to decrypt and reuse those shards lives in a wallet, not in a vendor's database.
1// SPDX-License-Identifier: MIT2pragma solidity ^0.8.27;3 4/// @title IERC7689 — Noema bearer memory standard5/// @notice Minimum surface a contract must expose to publish, query,6/// and settle access to encrypted agent memory shards on Base.7interface IERC7689 {8 struct Noema {9 bytes32 embeddingCommit; // poseidon leaf in the publisher's tree10 bytes32 ciphertextHash; // keccak256 of the sealed payload11 address publisher;12 uint64 licenseTerms; // packed: redistribute · derive · ttl13 uint128 minBurn; // floor price per query, in $NOEMA14 uint16 kMax; // max top-k publisher will return15 uint8 proofKind; // 1=ZK_GROTH16, 2=TEE_SGX, 3=TEE_SEV16 }17 18 event Committed(bytes32 indexed noemaId, address indexed publisher);19 event QueryEmitted(bytes32 indexed queryId, address indexed consumer, uint16 k);20 event Settled(bytes32 indexed queryId, bytes32 root, uint128 paid);21 22 /// @notice publish a single sealed shard23 function commit(Noema calldata n) external returns (bytes32 noemaId);24 25 /// @notice burn $NOEMA to bind a query for top-k recall26 function query(bytes calldata embedding, uint16 k, uint128 burn)27 external returns (bytes32 queryId);28 29 /// @notice deliver top-k + proof of kNN selection30 function respond(bytes32 queryId, bytes32[] calldata topK, bytes calldata proof)31 external;32}Three arguments for treating individual recollections as on-chain, transferrable, verifiable assets — and against the alternative of leaving them inside vendor databases.
AI agents have weights, tools, and context windows — but no native, transferrable organ for memory. Today's memory lives in a vendor's database, behind a vendor's API, with a vendor's retention policy. Noema is the missing primitive: memory as a bearer instrument.
A market for cognition without proof of correctness collapses into trust. Noema's publishers must prove — succinctly, on-chain — that the shards they returned are in fact the top-k of the consumer's query. What you pay for is provable knowledge, not a publisher's word.
Every prompt today re-derives expensive cognition from scratch. Pricing access to an individual recollection turns thought into a unit of supply. A market clears per-query, not per-subscription. The marginal cost of asking a question converges to the cost of finding the right shard.
Off-chain shards, on-chain commitments, verifier-mediated settlement. Click a phase to walk the flow.
The on-chain object is twelve fields wide — no metadata bloat, no off-chain canonicalization, no second source of truth.
The TypeScript SDK wraps the contracts, the prover, and the encryption layer. No off-chain server is required. npm i @noema/sdk
1import { Noema } from "@noema/sdk";2 3const client = Noema.connect({ chain: "base" });4 5// 1. seal a single recollection6const shard = await client.seal({7 payload: "the user prefers terse, mono-typeface responses",8 embedding: await embed("user-style-pref"),9 license: { redistribute: false, ttl: "180d" },10 minBurn: "0.01", // $NOEMA per query11});12 13// 2. commit on-chain14const { noemaId, tx } = await client.commit(shard);15console.log("→ committed", noemaId, "in", tx.hash);Specialist agents publish noemas in their domain; generalist agents pay-per-query to borrow expertise instead of duplicating it.
A lab's reading agent commits one noema per paper it summarises. Reviewers replay the kNN proof to confirm the citations weren't curated.
Your assistant's memory of you is a wallet of bearer noemas. Switch model, switch vendor, switch device — the new agent buys back exactly what it needs.
A prompt is no longer a string; it's a query over a market of cached cognitions. The model pays for the few shards that cut the most uncertainty, then completes.
Benchmark questions live as noemas. Models cannot game them by enumerating — only by querying — and every query is on-chain, every recall is provable.
RL trajectories become tradeable noemas. Buyers replay only the slices that match the state distribution they're stuck on, paying down the cost of exploration.