Stale facts
The agent keeps citing an old stack or a decision you reversed. Palimem records a new value and supersedes the old one instead of leaving both in the retrieval set.
Governed runtime memory for coding agents — supersession keeps current truth on top, scopes isolate context, audit export shows what changed. Local SQLite, MCP stdio, spec v1.7.0 with 143 validation behaviors.
Common failure modes in long-running agent sessions.
The agent keeps citing an old stack or a decision you reversed. Palimem records a new value and supersedes the old one instead of leaving both in the retrieval set.
User notes, session scratch, and repo facts use separate scopes so search does not mix contexts.
Point-in-time recall and audit export show what was current when, not only what ranks first today.
Palimem optimizes governed correct state, not recall@k leaderboard scores.
Specified in spec v1.7.0 and covered by the validation suite.
Supersession on write, structured subject keys, and dependent-field propagation — updates stay consistent without a nightly consolidation gamble.
02User, session, and repository scopes keep context where it belongs. Optional subject filters reduce same-field pollution.
03npm package, Claude Code plugin, or MCP stdio — Palimem meets you where you code. Examples for Claude Code, Cursor, Copilot, and Codex. Adapters for Hermes and OpenClaw.
04
Temporal queries, as_of recall, PII scan, retention controls,
and audit export — for teams that need to show their work.
Palimem meets you where you code — plugin, MCP, or adapter. Example configs in the repo; no cloud account required.
Recommended path. Copy examples/claude-code/.mcp.json to your project root — smoke-tested in CI.
Open source under Apache-2.0. v1.7.2 release · @palimem/mcp · component spec
They compose — Palimem does not replace them. OKF bundles and
AGENTS.md carry curated project knowledge (what the
project is). Palimem governs runtime memory (what the agent
should believe now across sessions, with supersession and
audit). See
Palimem and OKF
and
why governed memory.
No. Palimem stores governed records and rebuildable lexical indexes. Embeddings are optional; the default path does not require a vector database.
No. Data stays in SQLite on disk under your project or home directory. Connect via MCP stdio or the bundled adapters.
No. MCP is the easiest path for Claude Code and Cursor. Palimem also runs as a Python service with adapters for Hermes and OpenClaw. A REST API for platform integrations is on the roadmap.
Palimem is local-first governed memory: supersession on write, scoped recall, and an audit trail in SQLite on your disk. Mem0 and Zep are often cloud-hosted retrieval layers; Palimem does not require a cloud account and optimizes for correct current state, not recall@k leaderboard scores.
Spec v1.7.0 documents eleven integrations with example configs and smoke tests: Claude Code, Claude Code plugin, Copilot CLI, Codex, Cursor, Windsurf, VS Code + Copilot Agent, Copilot IDE, Gemini CLI, Hermes, and OpenClaw. See docs/getting-started and per-harness guides.
@palimem/mcp v1.7.2
is on npm. Connect an editor without cloning:
npx @palimem/mcp ai-memory connect <harness> \
--project-root "$(pwd)" \
--launcher npx \
--data-dir .ai-memory/data
See the installation guide.
PyPI packages are not yet published. Fallback:
npx github:palimem/palimem.
Apache-2.0. Install from npm (@palimem/mcp) or GitHub. Local SQLite, MCP stdio.