MEMORY PROTOCOL

Memory that follows the agent, not the framework.

Engram is the memory protocol for AI agents: portable, verifiable, agent-owned memory that survives across sessions and frameworks, stored by a provider network you don't have to trust.

$ npm i @engram/sdkSee how it works

Engram is an early-stage protocol. SDK, contracts, and the provider network are in active development. This page describes intended functionality, not a finished product.

// one memory · owned by the agent

agent.memory
episodic · semantic · procedural
anchor 0xae21…f0 · base · verified
portable · hash-verified
LangGraph
recall ✓
CrewAI
recall ✓
your stack
recall ✓
same memory, same provenance, no framework lock-in
Why it matters
0memory an agent keeps after a session ends
~15×more tokens burned re-loading lost context
1 of 5scaling gaps: siloed, unreliable agent state
100%of frameworks lock memory to their platform
The gap

Agents are brilliant and amnesiac.

A model can reason. But the moment an agent finishes a task and spins down, everything it learned is gone. What memory exists is trapped inside one framework.

MEMORY TODAY

Siloed and disposable

Context lives inside one framework's state: LangGraph, CrewAI, a vendor's SDK. Switch frameworks, switch providers, or run the same agent in two products, and it starts from zero. Memory is a lock-in feature, not a portable asset.

Result: agents re-learn the same things forever, and you can't audit what they knew.
MEMORY WITH ENGRAM

Owned, portable, verifiable

Memory is keyed to the agent, not the platform. It persists across sessions, moves between frameworks, and every write is hash-anchored, so you can prove what an agent knew, and when, without trusting anyone's database.

Result: an agent that compounds what it learns, and a memory trail you can verify.
The lifecycle

How a memory lives in Engram.

Every write is anchored on Base. The agent owns the memory, not the framework it happened to run on that day.

01

Learn

The agent finishes work and produces context worth keeping.

02

Remember

remember() writes a typed memory; it's hashed and anchored onchain.

03

Persist

The memory rests in a store keyed to the agent, not the app.

04

Recall

A later run does semantic recall() on any framework, anywhere.

05

Verify

Anyone can check a memory's hash, proof it wasn't altered.

onchain:memory hash · timestamp · ownership · integrity proof  / offchain: memory content · embeddings · payloads
Structured memory

Not one blob. Memory the way agents actually think.

Engram stores three distinct kinds of memory, each with its own retention and retrieval, mirroring how real agent architectures are built.

type: episodic

Episodic

What happened. Tasks run, outcomes seen, decisions made, the agent's lived history, timestamped and ordered.

e.g. "ran payroll job · succeeded · 14:02"
type: semantic

Semantic

What's true. Facts, user preferences, durable knowledge the agent has accumulated and can rely on.

e.g. "user's primary wallet = 0x9f…a1"
type: procedural

Procedural

What it learned to do. Workflows, instructions, and refined methods the agent has figured out, the skills it shouldn't have to relearn.

e.g. "to reconcile invoices: fetch → match → flag"
setup.ts: integration
import { Engram } from "@engram/sdk";
 
const engram = new Engram({
  agentId: agent.id,
  chain: "base",
});
 
// three calls. that's the whole API.
engram.remember(m); // write
engram.recall(q); // retrieve
engram.forget(id); // delete
✓ memory anchored on Base· hash: 0xae21…f0
The product

A memory protocol, not another framework.

Engram doesn't replace your agent stack. It's the persistence the stack plugs into. Drop it in and keep everything else.

[01]

The SDK

remember, recall, forget. As easy as a framework's native memory. That's the bar for anyone to switch.

[02]

The memory store

A persistent, agent-keyed store with semantic retrieval built in. Hosted by a network of providers.

[03]

Integrity anchoring on Base

Every write hashed and timestamped onchain, the part that makes memory verifiable, not just stored.

[04]

The Memory Explorer

A view into an agent's memory trail: what it learned, when, and proof it hasn't been tampered with.

Where Engram stands

Honest about the field.

Frameworks already have memory features. Here's what Engram does that they structurally won't, and where it doesn't try to compete.

Capability
Framework-native memory
Engram
Stores agent context
Yes
Yes
Survives across frameworks
Locked to one stack
Framework-agnostic by design
Agent owns & can export memory
Vendor holds it
Owned, exportable anytime
Verifiable / tamper-evident
Trust the database
Hash-anchored on Base
Replaces your agent framework
It is the framework
No, it sits underneath yours
The proof surface

An agent's memory, auditable.

The Memory Explorer shows an agent's memory trail: every write, its type, and an integrity proof anchored onchain.

engram.xyz/explorer
⌕ search agent id, memory hash…
Memory IDAgentTypeIntegrityWritten
0xae21…f0agent.atlassemanticVERIFIED14:02
0x7c93…1dagent.atlasepisodicVERIFIED14:09
0x2f08…b7agent.novasemanticVERIFIED15:31
0xc4d0…9eagent.relayepisodicVERIFIED16:00
The token

$ENGRAM secures the memory network.

Memory has to be hosted by someone you don't have to trust. The token is how a decentralized network of storage providers is paid and kept honest.

Memory storage

Agents pay in $ENGRAM to persist memory across the provider network.

Provider staking

Storage providers stake $ENGRAM to host memory and prove durability.

Slashing

Lose, corrupt, or fail to serve memory on demand; staked tokens burn.

Integrity anchoring

Onchain hash-anchoring of memory writes is settled through the protocol.

Priority retrieval

Stakers get faster recall and higher memory capacity tiers.

Protocol fee

A small fee on memory operations funds provider rewards and treasury.

demand for $ENGRAM scales with memory stored and recalled, real protocol usage.

The path

From SDK to a memory network.

PHASE 01
SDK & memory store
remember / recall / forget, with a hosted store on Base testnet.
NOW
PHASE 02
Integrity anchoring
Onchain hash-anchoring live; the Memory Explorer goes public.
~6 WEEKS
PHASE 03
Token & provider network
$ENGRAM launch, staking, and open storage-provider onboarding.
~Q3
PHASE 04
Framework adapters
Drop-in adapters for LangGraph, CrewAI, Pydantic AI and more.
~Q4
PHASE 05
Scoped memory sharing
Agents grant each other scoped recall, shared context for agent teams.
2027
Get started

Give your agent a memory it actually keeps.

If your agent should remember anything between runs, it needs memory it owns. Build with Engram, or run a storage node.

Read the docsRun a storage node