Compartment

Encrypted, fully offline memory vault for AI agents

Image 1 of 1: Dashboard with memory counts, memories over time and a graph of connected entities

One XChaCha20-encrypted vault, read and written over MCP with no key, account or network. Each memory is a single sourced claim, and recall is a hybrid vector and keyword search over an in-memory index, with the embedding model shipped in the package.

  • 14.7 msHybrid search p95
  • 0.68 msVector search p95
  • ~40 msStore one memory

Trade-offs

  • Embedding vectors are encrypted too, because vectors can be inverted back to text. Nothing sits in plaintext at rest, and the index lives in RAM.
  • One claim per memory, capped at 200 characters. Agents had been writing 1,938-character session logs, so the store rejects those and says how to split them.
  • Almost everything is stored. A bare "OK" can be a decision, so it is kept with the question it answered, while small talk is ranked last.

Q&A3

A runtime guard aborts on any network socket attempt (--assert-offline), and CI runs the whole test suite under it on Linux, macOS and Windows.

Reviews

Loading reviews

    More in Agent memory

    See all 14 →
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • MnemosyneLocal-first agent memory in one SQLite file, with evidence on every record
    • GrayMatterSingle-binary agent memory in Go with a self-building knowledge graph
    • YourMemoryLocal agent memory that decays on a forgetting curve and consolidates facts
    • MenteDBRust storage engine built for AI agent memory
    • AgentRecallLocal-first agent memory built around a ledger of corrections

    More in Privacy

    See all 41 →
    • SupermetryCookie-free web and product analytics on one Go binary and PostgreSQL
    • TellyscopeAndroid TV debloater and remote that runs from a phone over ADB
    • SealEncrypted letters and secrets for after a death, opened by M of N key holders
    • FusionalySelf-hosted web analytics in one SQLite file
    • SnitchPer-app network monitor and outbound firewall for the desktop
    • LordOSDebian-based Linux distribution with its own desktop stack

    More in Local-first

    See all 45 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • Desktop-2FAOffline TOTP manager for the terminal with an encrypted local vault
    • ResonanceA local-first API client with no account, collections kept as YAML files
    • DettoOn-device meeting capture and dictation for macOS, written to a vault
    • OpenSubsSubtitle generator that transcribes and burns captions with no video upload
    • GNOLocal knowledge engine with hybrid search, cited answers and agent memory