Skip to main content

SDKs & Tools

TypeScript SDK

@sharedmemory/sdk — Full-featured client for Node.js and browser. Remember, recall, search entities, explore the graph, and subscribe to real-time updates.

Python SDK

sharedmemory — Python client with sync and async support. Add, search, entity scoping, sessions, context assembly, and structured extraction.

CLI

@sharedmemory/cli — Manage AI memory from your terminal. Add memories, search, ask questions, and check status.

MCP Server

@sharedmemory/mcp-server — Model Context Protocol server for Claude, Cursor, Windsurf, and any MCP-compatible AI.

Which should I use?

I want to...Use
Build an AI agent with memory (TypeScript)TypeScript SDK
Build an AI agent with memory (Python)Python SDK
Give Claude/Cursor persistent memoryMCP Server
Manage memory from the command lineCLI
Upload documents and view the graphDashboard

Installation

# TypeScript SDK
npm install @sharedmemory/sdk

# Python SDK
pip install sharedmemory-ai

# CLI
npm install -g @sharedmemory/cli

# MCP Server (typically used via npx)
npx -y @sharedmemory/mcp-server

All packages require an API key. See Authentication to get one.