$ man pensyve — universal memory runtime

Persistent memory for AI agents.
Local-first. Cross-session.

Persistent, cross-session memory with 8-signal recall, FSRS decay, and a built-in knowledge graph. Rust core, SQLite storage, zero infrastructure.

$pip install pensyve
session · deploy-botMEMORY: ON
# Monday — the agent makes a mistake
>>> p.remember("deploy-bot", "Force push took prod down for 3h.")

# Friday — a different session, same agent
>>> p.recall("can I force push to main?")
[Memory(fact="Force push took prod down for 3h.", score=0.97)]

# It never makes that mistake again.

FEATURES(7)

--decay fsrs

Spaced-repetition forgetting curves. Important memories strengthen with use; stale ones fade to archive.

--signals 8

Vector similarity, BM25, graph proximity, recency, frequency, confidence, type boost, cross-encoder rerank — fused per query.

--graph petgraph

Built-in entity graph with BFS traversal. Users, teams, and tools connected with relationship-aware scoring.

--procedural bayes

Beta-binomial reliability tracking on action→outcome pairs. Agents learn what works over time.

--multimodal onnx

Florence-2 for images, UniXcoder for code. Visual and code context stored alongside text.

--storage sqlite

No external database. SQLite + WAL for storage, FTS5 for search, ONNX for embeddings. One binary, zero ops.

--interface any

Python SDK, TypeScript SDK, REST API, CLI, and a native MCP server for Claude Code, Cursor, Codex, and Antigravity CLI.

Explore the AI agent memory architecture

CONNECT YOUR ASSISTANT

Claude Code
claude mcp add --transport http pensyve https://mcp.pensyve.com/mcp
OpenAI Codex
codex mcp add pensyve --url https://mcp.pensyve.com/mcp && codex mcp login pensyve
GitHub Copilot CLI
copilot mcp add --transport http pensyve https://mcp.pensyve.com/mcp
OpenCode
opencode mcp add && opencode mcp auth pensyve
Cursor / VS Code
"pensyve": { "type": "http", "url": "https://mcp.pensyve.com/mcp" }
Antigravity CLI
agy plugin install https://github.com/major7apps/pensyve/tree/main/integrations/antigravity-plugin
OpenClaw
openclaw mcp add pensyve --url https://mcp.pensyve.com/mcp --transport streamable-http --auth oauth

$ pensyve init

1,000 free ops a month. No card.