Developer Interface

Build with Memzi

A minimal, framework-agnostic SDK. Two primitives — remember and recall — that abstract the entire memory lifecycle.

TypeScript + Python SDKs

First-class support for both ecosystems. Full type safety, JSDoc annotations, and Pydantic models.

Framework Adapters

Drop-in integrations for LangChain, LangGraph, CrewAI, AutoGen, and Letta with idiomatic APIs.

Local-Only Mode

Start with zero blockchain dependency. Add decentralized sync when you're ready — no migration needed.

Rich Provenance

Every memory includes a cryptographic proof: content hash, wallet signature, timestamp, and chain anchor.

Quickstart

01Install the SDK
npm install @memzi/sdk
02Initialize with your wallet or passkey
import { Memzi } from '@memzi/sdk';

const memzi = new Memzi({
  auth: 'wallet',   // or 'passkey'
  sync: 'arweave',  // 'ipfs' | 'local-only'
  encrypt: true,
});
03Store your first memory
await memzi.remember({
  content: 'User prefers TypeScript over JavaScript',
  tags: ['preference', 'tech'],
  importance: 'high',
  ttl: null, // permanent
});
04Recall context in your agent
const context = await memzi.recall({
  query: 'What tech does this user prefer?',
  topK: 5,
  filters: { tags: ['preference'] },
});

// Each memory includes cryptographic provenance
const proof = context.memories[0].proof;
// → { hash, wallet, timestamp, chain }

Framework Support

Idiomatic adapters wrap the core SDK for every major agent framework.

LangChainPhase 1
LangGraphPhase 1
CrewAIPhase 1
AutoGenPhase 3
LettaPhase 3
On-chain runtimesPhase 3