Skip to content
프로젝트

소개

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

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Walrus Memory

Portable agent memory — take your agent's memory anywhere.

Walrus Memory enables AI agents to operate reliably across apps and sessions, without losing context. Portable, verifiable, and fully controlled by you, it's the memory layer that lets agents handle complex workflows and coordinate using data they can trust.

Walrus Memory is currently in beta and actively evolving. While fully usable today, we continue to refine the developer experience and operational guidance. We welcome feedback from early builders as we continue to improve the product.

For AI Agents

  • Single-file guide: Read SKILL.md for a complete integration reference (install, configure, API surface, troubleshooting)
  • LLM-friendly docs: llms.txt — structured overview following the llmstxt.org standard

Install

pnpm add @mysten-incubation/memwal

Peer dependencies (install as needed):

pnpm add @mysten/sui @mysten/seal @mysten/walrus ai zod

Quick Start

import { MemWal } from "@mysten-incubation/memwal";

const memwal = MemWal.create({
  key: process.env.MEMWAL_KEY ?? "<your-ed25519-private-key>",
  accountId: process.env.MEMWAL_ACCOUNT_ID ?? "<your-memwal-account-id>",
  serverUrl: process.env.MEMWAL_SERVER_URL ?? "https://relayer.memory.walrus.xyz", // or "https://relayer.dev.memwal.ai" for testnet/dev
  namespace: "demo",
});
// Get credentials at https://memory.walrus.xyz (mainnet) or https://dev.memwal.ai (testnet/dev)

const job = await memwal.remember("User prefers dark mode and uses TypeScript.");
await memwal.waitForRememberJob(job.job_id);
const memories = await memwal.recall({ query: "What are the user's preferences?" });
await memwal.restore("demo");

Documentation

Contributing

Report security issues by email to [email protected]. Do not report security issues through GitHub or Discord. See SECURITY.md.

We want to be explicit about this while Walrus Memory is in beta: feedback, bug reports, docs fixes, examples, and implementation contributions are all welcome.

If you spot rough edges or missing guidance, please open an issue or send a PR.

Run the Repo Locally

Use Node.js 22.23.4 (pinned in .nvmrc) for repository development. With nvm, run from the repository root:

nvm install
nvm use
pnpm install

Important: Build the SDK first — apps depend on its compiled output.

pnpm build:sdk

Then start the surface you need:

pnpm dev:app
pnpm dev:noter
pnpm dev:chatbot
pnpm dev:researcher

For the full step-by-step setup guide, see:

Exports

Entry Description
@mysten-incubation/memwal Default client (MemWal). The relayer handles embedding, encryption, Walrus upload/download, retrieval, and restore.
@mysten-incubation/memwal/manual Manual client flow (MemWalManual). You handle embedding calls and local SEAL operations. The relayer still handles upload relay, registration, search, and restore.
@mysten-incubation/memwal/ai Vercel AI SDK integration - wraps MemWal as middleware for use with streamText, generateText, etc.

OpenClaw / NemoClaw Plugin

@mysten-incubation/oc-memwal — a memory plugin for OpenClaw agents. It gives OpenClaw agents portable, verifiable memory through Walrus Memory with automatic recall and capture hooks.

openclaw plugins install @mysten-incubation/oc-memwal

How It Works

  1. Scope - Each memory operation runs inside an owner + namespace boundary
  2. Store - The relayer embeds, encrypts, uploads to Walrus, and stores vector metadata in PostgreSQL
  3. Recall - The relayer searches by owner plus namespace, resolves matching blobs, and returns plaintext results
  4. Restore - The relayer can incrementally rebuild missing indexed entries for one namespace

Architecture

Walrus Memory has a Rust relayer with a Node.js sidecar for Seal and Walrus, a Sui indexer, a React dashboard and a local MCP connector. It keeps vectors and metadata in PostgreSQL with pgvector, uses Redis for replay protection and rate limits, and stores encrypted memories on Walrus.

Walrus Memory containers

See docs/architecture for what each component does and its external dependencies.

License

Apache 2.0 — see LICENSE

관련 프로젝트 살펴보기

불러오는 중…