Skip to main content
Open Source Memory Infrastructure

Memory API for the AI era

Give your AI agents persistent, shared long-term memory. Write facts, extract knowledge graphs, and query across agents — all through one API.

quickstart.ts
import { SharedMemory } from '@sharedmemory/sdk'

const memory = new SharedMemory({ apiKey: 'sm_live_...' })

// Store a memory
await memory.remember("Alex joined Stripe as PM")

// Query with knowledge graph
const result = await memory.recall("Where does Alex work?")
// → { answer: "Stripe", confidence: 0.95 }

How it works

Four steps from raw text to intelligent memory

01

Ingest

Send text, documents, or conversations. We handle extraction automatically.

02

Understand

Knowledge graph extracts entities, facts, and relationships in real time.

03

Guard

Tiered LLM guard checks for duplicates, conflicts, and quality.

04

Retrieve

Hybrid search combines vector similarity + graph traversal for perfect recall.