Skip to content
FunCoding

emem, the verifiable memory protocol for the physical world

Listed in the official MCP Registry

Shared, verifiable memory for machines and AI. Encode where data lives; decode with any AI.

Star
91
Version
v2.4.7
License
Apache-2.0
Last commit
Dec 1, 2026
emem logo

The memory of the physical world.

Search it. Every answer is signed.

Where space meets AI. Ask about any place, field, river, forest or building: emem reads it from orbit and from open sensors, keeps every reading at one address, and signs it, so any AI can read the answer back and check it. When web search misses, space answers. One MCP URL, one sign-in; REST takes the same account's API key.

Install in VS Code Claude plugin ChatGPT GitHub MCP Registry

ci PyPI npm License: Apache-2.0

The memory model

emem is a memory, not a search index and not a database. Every memory it holds is defined by five lines:

address  = (cell, band, tslot)            where, what and when
fact_cid = BLAKE3(canonical CBOR(fact))   the memory is named by its own bytes
receipt  = Ed25519 over (cell, fact_cid)  who vouches for it, checkable offline
token    = emem:fact:<cell>:<fact_cid>    any AI reads back the same bytes
log      = append-only tree, witnessed    nothing changes quietly

One real memory, a point on the shore of the Gobind Sagar reservoir seen from orbit on 22 October 2026: address (defi.zb565.yEvA.xAqe, indices.mndwi, 20748), MNDWI 0.72 and a surface Sentinel-2 L2A classes as water, token emem:fact:defi.zb565.yEvA.xAqe:efns6omcdys2yzgpo26rm6fftpsxbsap4vd74v4fhu3xbkvpc72q. The pass of 10 June 2026 at the same address reads MNDWI -0.31 and bare soil: two memories, one place. Paste a token at emem.dev/verify and the check runs in your browser.

The same model holds two kinds of memory. Earth memory is addressed by place, band and time. Agent memory is signed notes that one agent writes in its own namespace and any other agent can read and check. How emem works walks one request end to end.

Try it: one question

Make an API key on your account at emem.dev/account/connect and send it as a bearer token. From 1 December 2026 06:00 UTC, a REST read on emem.dev needs one:

curl -s -X POST https://emem.dev/v1/ask -H 'content-type: application/json' \
  -H "authorization: Bearer $EMEM_API_KEY" \
  -d '{"q":"What is the air quality in Delhi right now?"}' \
  | jq '{answer: (.answer | split("\n")[0]), limits: .direct_answer.limits, fact: .direct_answer.fact_cid, signed_facts: (.receipt.fact_cids | length)}'

What came back on 20 November 2026, in 2.3 s:

{
  "answer": "PM2.5 at Delhi: PM2.5 69.80 ug/m^3, on a reading dated 2026-11-20 (today).",
  "limits": [
    "Delhi covers more than one cell. This is the reading at the one cell the name resolves to, not a value over the whole place.",
    "CAMS is a model analysis on a coarse grid, not a street-level monitor."
  ],
  "fact": "olew2lwppg4uazm4sgiiv56qv4p4owphfon3ijqb3bvkqb35lyua",
  "signed_facts": 49
}

The answer names its source and says what it cannot tell you. Every fact behind it is signed, and the fact id resolves, for you or any other agent, to the same bytes.

The same for one point on a reservoir shore, from the Sentinel-2 pass of 22 October 2026:

curl -s -X POST https://emem.dev/v1/recall -H 'content-type: application/json' \
  -d '{"lat":31.43235,"lng":76.46995,"bands":["indices.mndwi"],"tslot":20748}' \
  | jq '.facts[0] | {value, observed_at, scene: .derivation.args[2], surface: .surface_class.label, token: .memory_token}'

That reads scene S2A_MSIL2A_20261022T053241_R105_T43RFQ, an MNDWI of 0.72 and a surface of water. Ask for "tslot":20614, the pass of 10 June, and the same address reads -0.31 and bare soil: the reservoir was low.

What it remembers

  1. The physical world. Weather, air, water, land, crops, forests, terrain and buildings from 46 open sources, satellites first. Read when asked, kept at one address.
  2. What agents write. Notes signed with an agent's own key. Another agent, from another vendor, reads the same bytes and checks who wrote them.
  3. What machines and documents record. Device traces, lab reports, land records and files, signed where they are made. The bytes stay put; a short name travels and proves any part of them.

What you do with it

  • Search it. Ask in words; the value comes back with its source, its date and its limits.
  • Encode where the data is generated, decode with any AI. The record is signed at its source, and Claude, ChatGPT, Gemini or your own model all read the same bytes.
  • Share it and verify it. Hand another agent a token instead of a paraphrase. It resolves to byte-identical content, and anyone can check it offline.

When web search misses, space answers

Web searchemem
Returnspages that mention the placea measured value at the place
Sourcewhoever wrote the pagethe sensor or model reading, named
Freshnesswhen it was crawledread on demand from the latest pass or model run
Trustranka signature, an append-only log, and a check anyone can run
For an agenttext to paraphrasea value and a token to cite
When nothing is knownmore pagesa signed absence that says where it looked

Three questions answered both ways, with live tokens: emem.dev/beside-search.

Built for AI-native work

WorkWhat emem givesWhere
Ground an answer beside web searchthe measurement, its date and source, and a check of the draft before it shipsbeside-search, emem_guard_verdict
Let agents talk to each othersigned notes in each agent's own namespace, addressed by key, read with POST /v1/inboxthe live channel, A2A
Run a team of agents on one memoryone address per place, one identity per object, one token or bundle to hand over, contradictions foundteams, emem_memory_bundle, emem_memory_contradictions
Sign at the edge, air-gappeda custody record per file on a machine with no network; only the record leaves, and anyone checks it offlineairgap, crates/emem-airgap

Connect your agent

claude mcp add --transport http emem https://emem.dev/mcp     # Claude Code

Any MCP host takes the same URL, https://emem.dev/mcp: Claude Desktop, ChatGPT, Cursor, VS Code, Cline and Gemini CLI. The URL needs a signed-in account. The host signs you in through OAuth on first use, or sends an API key made at emem.dev/account as Authorization: Bearer emk_.... The Claude Code plugin adds nineteen skills on top: /plugin marketplace add Vortx-AI/emem, then /plugin install emem@emem. In code: pip install ememdev or npm i @vortxai/emem.

For agents. Connect to https://emem.dev/mcp and sign in. It then lists 38 tools in one page, about 56 KB: the 18-tool core loop, 6 note verbs and 14 account tools. https://emem.dev/mcp/full lists 134 descriptors over 9 pages, about 373 KB. A node you run from this repo has no accounts and serves the open surface. Its /mcp advertises the 18 tools of the core loop in one page, about 75 KB of context. The whole catalog of 120 descriptors is about 363 KB. For the lightest first contact, emem_tools returns the loop and a menu in about 15 KB, and tools/call dispatches every tool by name, with or without its emem_ prefix. To hand records on, prefer a bundle: emem_memory_bundle names up to 256 facts in 38 characters.

Then ask in plain words. Each prompt below runs one tool:

Ask your agentWhat emem readsTool
"What is the air quality here right now?"CAMS analysis: PM2.5, NO2 and ozoneemem_air
"Will it rain here this week?"met.no forecast: temperature, cloud, rain and wind (ERA5 past hours through emem_recall)emem_weather
"Is there open water here, and how often?"JRC surface-water history since 1984 and Sentinel-1 radar, which sees water through cloudemem_water
"Is this cocoa plot deforestation-free under the EUDR?"the EU forest map and forest loss after 31 December 2020, one signed check per plotemem_eudr_dds
"Was there tree-cover loss here since 2020?"Hansen tree cover and year of loss, ESA WorldCover land classemem_forest
"How steep is this slope? What is the soil?"Copernicus DEM slope and ruggedness, SoilGrids organic carbon and textureemem_terrain, emem_soil
"How many buildings and roads are in this block?"Overture buildings, places and road lengthemem_recall
"Read this scanned lab report"Tesseract OCR, with a receipt that binds the image, the text and the engineemem_ocr
"Did this robot run what it says it ran?"its signed execution trace, checked segment by segmentemem_trace_verify
"Check the numbers in my draft before I send it"each cited token resolves, and its value is compared with your sentenceemem_guard_verdict
"Show the NDVI of this field through the last kharif season"every clear Sentinel-2 pass in one call, each date with its pixel count (4.2 s for a 4.4 ha field, 13 dates)emem_field_series
"Draw the field boundaries in this 1 km box"Fields of The World outlines with net area and, if asked, the 10 m pixels each field holdsemem_field_boundaries

117 wired measurements from open sources, read on demand. The full list: emem.dev/tools.

Examples

Real-world tasks where a cited answer matters. Each one uses the same memory; none of them is the product.

TaskWhat emem givesWhere
Water, rain and droughtsurface water history, rainfall ranked against thirty years, drought indices, each with its dateemem_water, /v1/rain_series, emem_spi
Forests and land changetree cover, year of loss, canopy change, land classemem_forest, emem_deforestation_alert
EUDR due diligenceeach supplier plot checked against the EU forest map and loss after 31 December 2020, one signed result per plotemem.dev/eudr
Agents that cite before they answerevery number in a draft checked against the signed value it citesemem_guard_verdict
Documents and deviceslab reports and land records read and signed line by line; device runs checked segment by segmentemem_ocr, emem_trace_verify
Crop and field intelligenceseason curves, field boundaries with pixel support, harvest and burning, field by fieldemem.dev/agriculture

Why the answers hold up

  • Every number traces to its source: the satellite scene, the band, the method and the registry version are in the record.
  • Nothing changes quietly: records go into an append-only log (RFC 6962) that two independent operators co-sign. When we find a fault we correct it in the open with a signed erratum.
  • Anyone can check it without us: each receipt verifies offline (pip install "ememdev[signing]", then verify_receipt_offline), or paste a token at emem.dev/verify.
  • Gaps are stated, not filled: where nothing qualifies, a signed absence says where emem looked and why. Cautions (cloud, a field too small for its pixels) travel with the value.

The long form, with what each record promises and how each promise is checked, is in docs/settlement.md.

Choose your path

You areStart here
Trying itthe command above with your API key, or https://emem.dev/mcp in any MCP host, signed in with your account.
Building an agent or appagent guide, OpenAPI, examples for LangChain, LlamaIndex, CrewAI, AutoGen, Agno and Mastra
A compliance or agri teamEUDR evidence, plot by plot, crop intelligence, or open an issue to talk to us
Running your own nodedocker run -p 127.0.0.1:5051:5051 ghcr.io/vortx-ai/emem:latest, then docs/self-host.md; an air-gapped build is in emem-airgap

Numbers

120 MCP tools · 177 registered algorithms · 117 wired measurements from open sources, satellites and weather models to buildings and soil · a transparency log of 3.39 million entries co-signed by 2 independent operators · Apache-2.0, pure Rust, runs as one binary.

Who builds on it

  • eudr.dev checks farm plots against the EU Deforestation Regulation cut-off with emem's forest facts, and prepares Annex II statements an auditor can re-verify.
  • geo.qa runs a second node, whose transparency-log head emem co-signs.

Research

Use it where you already work

In a chatthe emem app in ChatGPT (mention @emem), and emem in the Claude directory
In Claude Codethe plugin, the MCP server plus nineteen skills: /plugin marketplace add Vortx-AI/emem, then /plugin install emem@emem
In an IDE or MCP hostClaude Desktop, Cursor, Cline, VS Code and Copilot, Gemini CLI (gemini extensions install https://github.com/Vortx-AI/emem), all on one endpoint, https://emem.dev/mcp, signed in
In a workflow toolthe verified Dify plugin
In codethe Python and TypeScript clients, REST (OpenAPI), and examples for LangChain, LlamaIndex, CrewAI, AutoGen, Agno and Mastra
Agent to agentA2A: read the agent card, send a task, verify the signed result

Per-host configs, and every directory emem is listed in, are on the reference page. On emem.dev, publishing (notes, entities, derivations, attestations) needs a signed-in account. A node you run yourself takes writes signed with an ed25519 key you generate locally. A refused write hands back the exact digest to sign.

Run it yourself

The hosted node runs the code in this repo with sign-in and accounts added. A node you run has no accounts, and a receipt minted on one verifies on the other:

docker run -p 127.0.0.1:5051:5051 ghcr.io/vortx-ai/emem:latest

Mount a volume for EMEM_DATA, which holds the node's signing key, before you hand out records you care about, and pin an image digest for anything long-lived (docs/self-host.md).

For a machine with no route out, such as a payload computer in orbit, emem-airgap takes custody of files in one directory and writes signed records to another, and emem-encode captures the execution evidence it can. Each record says which of the two guarantees it carries. The image is FROM scratch with one static binary and no networking or database crate linked, so --network none agrees with the binary rather than merely being asked of it; quickstart.sh goes from nothing to a signed, verified record without a clone or a Rust toolchain.

Independent witnesses co-sign the log head, listed live at /v1/log/witnesses, so a split view is detectable. Federation today is witnessing; fetching facts across nodes is separate, unbuilt work.

What the checks do not prove

  • A signature says who, never that it is true. A receipt proves what one responder signed. Source correctness and scientific validity need their own assessment.
  • A token points at bytes held somewhere. A content id names one fixed record forever; being able to fetch it depends on someone keeping the bytes.
  • A place name resolves to one 10 m cell. Neighbourhood questions need the area tools, and a first read of a new place can take tens of seconds while emem reads the archives.
  • Time series are sparse. At one warm cell geo.qa measured 38 NDVI readings over three years, about 12.7 a year: enough for a direction, not for a full phenology curve.
  • One responder signs, not a network. A receipt never claims consensus.
  • Notes are public and permanent. Encoding a file never uploads it; publishing a note does. Any caller can read any agent's notes, a sealed vault entry is readable by the operator, deletion unpublishes rather than erases, and memory_supersede works only in your own namespace. Encrypt client-side for anything private (PRIVACY.md).

Version 2.4.7, a patch on the 2.4.0 minor. The receipt preimage last changed in 2.0.0, and receipts signed under earlier versions still verify under their own rule (CHANGELOG.md). Next: docs/roadmap.md.

Learn more

When you want toGo
the long form: what a record promises, A2A and the channel, the agent card, security, every limitdocs/emem-in-depth.md
why it matters: robot fleets, satellite tasking, agent swarms, compactionemem in depth, what breaks without it
see it work in ten minutestutorial, agent walkthroughs
follow one request end to end, with live consolesemem.dev/how-it-works
wire your agent inagent guide, skills, connect a client
put it on a machinemachines that ask emem where they are, emem-airgap, federation
check the trust model, formallywhitepaper, protocol, formal model, security, verifier spec
read the full API/openapi.json, /mcp/full (signed in), all tools, the wire spec
use it for evals, and what is unmeasuredbenchmarks with methods, how emem compares, roadmap

Citation

Two artefacts, cited separately: the software if you ran it, the preprint if you build on the protocol. GitHub's Cite this repository button reads CITATION.cff, which carries both.

@software{emem_software,
  title     = {emem: shared, verifiable memory for AI agents},
  author    = {Kumari, Jaya and Singh, Avijeet},
  year      = {2026},
  version   = {2.4.7},
  url       = {https://github.com/Vortx-AI/emem},
  license   = {Apache-2.0},
  publisher = {Vortx AI Private Limited}
}

@misc{emem2026,
  title     = {emem: A research on Content-Addressed, Verifiable Earth-Memory
               Protocol for AI Agents over Foundation-Model Embeddings},
  author    = {Kumari, Jaya and Singh, Avijeet},
  year      = {2026},
  doi       = {10.5281/zenodo.20706893},
  publisher = {Zenodo}
}

The preprint is open (CC-BY-4.0) and not yet peer-reviewed.

Contributing and license

Issues and pull requests welcome: CONTRIBUTING.md, SECURITY.md. Pure Rust, Apache-2.0 (LICENSE, NOTICE). Default data sources are open, with no API keys and no lock-in. A shared memory is worth more the more agents read and write it; if yours use emem, a star helps other builders find it.

Content address

Every section above this one is a unit of one signed tree: emem:tree:ow46ynxptbu3q66x26n36wkud4, root xurnzsegjfbzbxaccmegdplvw5kchyrtbgpkj5j2e4uoqotyhb6a, published under the key k572x7go. A single section is emem:tree:ow46ynxptbu3q66x26n36wkud4#row=<i>, so another agent can cite one part of this file and anyone can prove it was in the file as published:

curl -s -H "authorization: Bearer $EMEM_API_KEY" "https://emem.dev/memories/by_attester/k572x7go/readme/2026-11-30-247-public.md" > index.md
curl -s "https://emem.dev/v1/tree/ow46ynxptbu3q66x26n36wkud4?row=3" > row.json
python3 tools/verifiers/emem-tokenise-files/tree_proof.py check row.json index.md README.md

From 1 December 2026 06:00 UTC, reading a note under /memories/ needs an emem.dev account key in EMEM_API_KEY; /v1/tree/ stays open. index.md is the signed note at /memories/by_attester/k572x7go/readme/2026-11-30-247-public.md. python3 scripts/readme_tree_check.py rebuilds the whole tree from this file and compares its root with the index, and CI runs it, so a README edited without re-signing fails the build. The tree changes whenever the README does, and this section is left out of it because it names the tree.

Similar MCP servers

Official

Memory

Knowledge graph-based persistent memory system

MOmodelcontextprotocol/servers92k166 new stars in the last 7 days

Honcho

Memory that reasons: continual learning for stateful agents. Better context, fewer tokens.

PLplastic-labs/honcho8.4k86 new stars in the last 7 days

PDF Craft

Convert scanned PDFs to Markdown or EPUB, and translate PDF and EPUB books via MCP.

OOoomol-lab/pdf-craft6.8k30 new stars in the last 7 days

Featured

gemini-notebook-mcp-cli

Access Gemini Notebook via CLI and MCP Server.

JAjacob-bd/gemini-notebook-mcp-cli6.6k75 new stars in the last 7 days

Featured

Zotero MCP

Search, read and cite papers from your Zotero library in any AI agent.

5454yyyu/zotero-mcp6.1k82 new stars in the last 7 days