$ man pensyve — universal memory runtime

Your agents forget everything.
pip install pensyve fixes that.

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 Gemini CLI.

CONNECT YOUR ASSISTANT

Claude Code
claude mcp add --transport http pensyve https://mcp.pensyve.com/mcp --header 'Authorization: Bearer $PENSYVE_API_KEY'
Gemini CLI
gemini mcp add pensyve https://mcp.pensyve.com/mcp --transport http --header 'Authorization: Bearer $PENSYVE_API_KEY'
Cursor / VS Code
"pensyve": { "type": "http", "url": "https://mcp.pensyve.com/mcp" }

$ pensyve init

1,000 free ops a month. No card.