Skip to content

Citadel vs Compartment

Citadel is an open-source MCP server for knowledge and memory. Compartment is a free MCP server for knowledge and memory.

  • Citadel is best for give a desktop assistant private long-term memory.
  • Compartment is best for keep decisions and preferences across sessions and projects.
What it is
Citadel is an open-source MCP server for knowledge and memory.
Compartment is a free MCP server for knowledge and memory.
Best for
Give a desktop assistant private long-term memory
Keep decisions and preferences across sessions and projects
Kind
MCP server
MCP server
Pricing
Open source
Free
Platforms
CLI, macOS, Windows, Linux, self-hosted
macOS, Windows, Linux, CLI, self-hosted
Runs
Locally
Locally
Open source
Good for
Give a desktop assistant private long-term memory; Erase a memory with a verifiable receipt; Link and summarise what an agent knows about a topic
Keep decisions and preferences across sessions and projects; Share one memory between several coding agents on the same machine; Store sensitive context without sending it to a cloud service

What Citadel does

  • Encrypted memory

    Memory is AES-256 encrypted at rest and each atom is sealed and authenticated.

  • Hybrid recall

    Combines vector, keyword, recency and importance scores.

  • Memory graph

    Typed edges link atoms and can be expanded during recall.

  • Cryptographic forgetting

    Destroys keys to erase an atom or region.

  • Integrity checks

    mem_verify reports whether atoms are authentic, tampered or erased.

  • Local-first

    No API keys; data stays on your machine.

What Compartment does

  • Encrypted vault

    One encrypted file on your machine, with embedding vectors encrypted too.

  • Offline by design

    No API key, account, network use or telemetry; the project says this is enforced in CI.

  • Hybrid recall

    Vector and keyword search over an in-memory index.

  • One claim per memory

    Length and format limits keep memories short and searchable.

  • Expiry and replacement

    Memories can expire, and a new preference supersedes the old one.

  • Agent integration

    Commands wire Claude Code, Claude Desktop, Hermes Agent, OpenClaw, AntiGravity and Codex.

Citadel vs Compartment: questions

Is Citadel or Compartment cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Citadel and Compartment?

Citadel is an open-source MCP server for knowledge and memory. Compartment is a free MCP server for knowledge and memory.

Keep comparing