Memory
Knowledge graph-based persistent memory system
MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star
Shared, verifiable memory for machines and AI. Encode where data lives; decode with any AI.
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.
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.
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.
| Web search | emem | |
|---|---|---|
| Returns | pages that mention the place | a measured value at the place |
| Source | whoever wrote the page | the sensor or model reading, named |
| Freshness | when it was crawled | read on demand from the latest pass or model run |
| Trust | rank | a signature, an append-only log, and a check anyone can run |
| For an agent | text to paraphrase | a value and a token to cite |
| When nothing is known | more pages | a signed absence that says where it looked |
Three questions answered both ways, with live tokens: emem.dev/beside-search.
| Work | What emem gives | Where |
|---|---|---|
| Ground an answer beside web search | the measurement, its date and source, and a check of the draft before it ships | beside-search, emem_guard_verdict |
| Let agents talk to each other | signed notes in each agent's own namespace, addressed by key, read with POST /v1/inbox | the live channel, A2A |
| Run a team of agents on one memory | one address per place, one identity per object, one token or bundle to hand over, contradictions found | teams, emem_memory_bundle, emem_memory_contradictions |
| Sign at the edge, air-gapped | a custody record per file on a machine with no network; only the record leaves, and anyone checks it offline | airgap, crates/emem-airgap |
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 agent | What emem reads | Tool |
|---|---|---|
| "What is the air quality here right now?" | CAMS analysis: PM2.5, NO2 and ozone | emem_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 cloud | emem_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 plot | emem_eudr_dds |
| "Was there tree-cover loss here since 2020?" | Hansen tree cover and year of loss, ESA WorldCover land class | emem_forest |
| "How steep is this slope? What is the soil?" | Copernicus DEM slope and ruggedness, SoilGrids organic carbon and texture | emem_terrain, emem_soil |
| "How many buildings and roads are in this block?" | Overture buildings, places and road length | emem_recall |
| "Read this scanned lab report" | Tesseract OCR, with a receipt that binds the image, the text and the engine | emem_ocr |
| "Did this robot run what it says it ran?" | its signed execution trace, checked segment by segment | emem_trace_verify |
| "Check the numbers in my draft before I send it" | each cited token resolves, and its value is compared with your sentence | emem_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 holds | emem_field_boundaries |
117 wired measurements from open sources, read on demand. The full list: emem.dev/tools.
Real-world tasks where a cited answer matters. Each one uses the same memory; none of them is the product.
| Task | What emem gives | Where |
|---|---|---|
| Water, rain and drought | surface water history, rainfall ranked against thirty years, drought indices, each with its date | emem_water, /v1/rain_series, emem_spi |
| Forests and land change | tree cover, year of loss, canopy change, land class | emem_forest, emem_deforestation_alert |
| EUDR due diligence | each supplier plot checked against the EU forest map and loss after 31 December 2020, one signed result per plot | emem.dev/eudr |
| Agents that cite before they answer | every number in a draft checked against the signed value it cites | emem_guard_verdict |
| Documents and devices | lab reports and land records read and signed line by line; device runs checked segment by segment | emem_ocr, emem_trace_verify |
| Crop and field intelligence | season curves, field boundaries with pixel support, harvest and burning, field by field | emem.dev/agriculture |
pip install "ememdev[signing]", then verify_receipt_offline), or paste a token at emem.dev/verify.The long form, with what each record promises and how each promise is checked, is in docs/settlement.md.
| You are | Start here |
|---|---|
| Trying it | the command above with your API key, or https://emem.dev/mcp in any MCP host, signed in with your account. |
| Building an agent or app | agent guide, OpenAPI, examples for LangChain, LlamaIndex, CrewAI, AutoGen, Agno and Mastra |
| A compliance or agri team | EUDR evidence, plot by plot, crop intelligence, or open an issue to talk to us |
| Running your own node | docker 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 |
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.
| In a chat | the emem app in ChatGPT (mention @emem), and emem in the Claude directory |
| In Claude Code | the plugin, the MCP server plus nineteen skills: /plugin marketplace add Vortx-AI/emem, then /plugin install emem@emem |
| In an IDE or MCP host | Claude 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 tool | the verified Dify plugin |
| In code | the Python and TypeScript clients, REST (OpenAPI), and examples for LangChain, LlamaIndex, CrewAI, AutoGen, Agno and Mastra |
| Agent to agent | A2A: 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.
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.
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.
| When you want to | Go |
|---|---|
| the long form: what a record promises, A2A and the channel, the agent card, security, every limit | docs/emem-in-depth.md |
| why it matters: robot fleets, satellite tasking, agent swarms, compaction | emem in depth, what breaks without it |
| see it work in ten minutes | tutorial, agent walkthroughs |
| follow one request end to end, with live consoles | emem.dev/how-it-works |
| wire your agent in | agent guide, skills, connect a client |
| put it on a machine | machines that ask emem where they are, emem-airgap, federation |
| check the trust model, formally | whitepaper, 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 unmeasured | benchmarks with methods, how emem compares, roadmap |
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.
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.
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.
Knowledge graph-based persistent memory system
MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star
Memory that reasons: continual learning for stateful agents. Better context, fewer tokens.
PLplastic-labs/honcho8.4k近 7 天新增 102 个 star
Semantic search across Sui documentation and knowledge sources, powered by kapa.ai
MYMystenLabs/sui7.8k
Convert scanned PDFs to Markdown or EPUB, and translate PDF and EPUB books via MCP.
OOoomol-lab/pdf-craft6.8k近 7 天新增 35 个 star
命令行和 MCP Server 访问 Gemini Notebook。
JAjacob-bd/gemini-notebook-mcp-cli6.6k近 7 天新增 78 个 star