Take your agent’s memory anywhere

Walrus Memory

Walrus Memory is a portable memory layer that makes AI agents reliable across apps and sessions. Persistent, verifiable, and fully under your control.

Add Walrus Memory to Claude Code, Codex, Gemini CLI, and more.

Run `curl -sL https://memory.walrus.xyz/skills/setup` and use the returned instructions to set up Walrus Memory in this AI client.

Create multi-agent workflows with shared memory.

# pip install memwal
​
import asyncio
import os
from memwal import MemWal, RecallParams
​
async def main():
walrus_memory = MemWal.create(
key=os.environ["MEMWAL_PRIVATE_KEY"],
account_id=os.environ["MEMWAL_ACCOUNT_ID"],
env="prod",
namespace="demo",
)
​
await walrus_memory.health()
await walrus_memory.remember_and_wait("I live in Hanoi and prefer dark mode.")
​
result = await walrus_memory.recall(RecallParams(query="What do we know about this user?"))
for memory in result.results:
print(memory.text, f"(distance: {memory.distance:.3f})")
​
await walrus_memory.close()
​
asyncio.run(main())

Add Walrus Memory directly to your application.

// npm install @mysten-incubation/memwal
// pnpm add @mysten-incubation/memwal
// yarn add @mysten-incubation/memwal
​
import { MemWal } from "@mysten-incubation/memwal";
​
const walrusMemory = MemWal.create({
key: "<your-ed25519-private-key>",
accountId: "<your-memwal-account-id>",
serverUrl: "https://your-relayer-url.com",
namespace: "demo",
});
​
await walrusMemory.health();
const job = await walrusMemory.remember("I live in Hanoi and prefer dark mode.");
await walrusMemory.waitForRememberJob(job.job_id);
​
const result = await walrusMemory.recall({ query: "What do we know about this user?" });
console.log(result.results);

Builders shipping
with Walrus Memory

Conso

Without memory,
agents hit reset

State isn’t shared.
Agents make conflicting decisions.

Memory is stale or unverifiable.
Output isn’t reliable in production.

Your agent makes a call.
There's no audit trail of what it read, when, or why.

A portable memory layer
for AI agents

Portable by design

Context doesn't die when the session ends. Your agent picks up where it left off — in a different app, in a different runtime, weeks later.

Your agents keep context wherever they run

Yours to control

You decide how every memory is shared, accessed, and updated. Programmable permissions, explicit ownership, privacy on your terms.

Explicit privacy and access permissions

Built for coordination

In multi-step workflows, your agents share memory and stay coordinated on the same state. Memory integrity is independently verifiable.

Multiple agents, one source of truth

Plugs into
the stack
you already
have

Walrus Memory ships with native support for the platforms and protocols teams are already building on.

Works with every major LLM out of the box.

First-party plugins for OpenClaw and NemoClaw.

Native MCP support.
No adapters needed.

Python, TypeScript, and JavaScript SDKs.

What builders are creating
with Walrus Memory

A portable agent memory layer doesn’t just improve your stack. It changes how your product behaves – and what users come to rely on. The moat is the memory, not the model.

01 —

Multi-agent workflows

Agents share context across tasks, tools, and time. What one agent learns can become available to the entire workflow.

02 —

Customer support agents

Pick up where the last conversation ended. Know what was tried, what failed, and what the customer actually needs.

03 —

Notes and research apps

A second brain that compounds over time. It captures ideas continuously and retrieves them naturally weeks later.

04 —

Personal assistants

Remember tone, preferences, routines, and relationships. Feel like assistants that know you, not new hires every session.

Memory that holds up
in production

Context travels with the workflow: programmable permissions, verifiable state, no lock-in. Runs on Walrus – the data platform built for the demands of AI.

Remember

Authenticate

Your SDK sends a signed request so the relayer can verify ownership and access.

Process

The relayer analyzes and encodes your memory using embedding models optimized for retrieval.

Encrypt and store

Your memory is encrypted, stored on the Walrus Protocol, and indexed for fast semantic search.

Recall

Authenticate

Your SDK sends a signed query request so the relayer can verify access permissions.

Search

The relayer interprets the query, retrieves the most relevant memories, and fetches them from Walrus.

Decrypt and inject

The memory is decrypted and injected into the model context for downstream reasoning.

Write a memory in one tool.
Recall it in another.

Build agents
that remember

Wire memory into your agent.
Ship without rebuilding context every session.

FAQs