SuperAPIAI Directory

Compartment vs llama_index

Metrics & specs comparison

Compartment

Compartment is an open-source tool that provides AI agents with encrypted, fully offline persistent memory. It sets up a local vault that can be read and written by Claude Code, Claude Desktop, Hermes Agent, OpenClaw, Cursor, Codex, and any other MCP client, with no API key, account, network, or telemetry required. Each memory is a single statement that records its source and the date it was learned, and can be given an expiration time; preference-type memories replace old ones with new ones. Retrieval uses hybrid vector and keyword search, returning results from an in-memory index in about 12 milliseconds. The embedding model is shipped with the package, and all on-disk content (including vectors) is encrypted, unlocked only by a passphrase. A new vault comes with about 6,700 reference facts about hardware, operating systems, ports, encodings, and shell tools, which can be removed from search with a toggle. The interface provides a memory-map-style GUI, a system panel, and a browser dashboard, and supports one-click integration and installation.

DimensionCompartmentllama_index
CategoryAI agentsAI agents
Pricing开源项目(可免费自部署)GitHub 开源项目 · 53,115 Stars
PlatformsmacOS · Linux · APILinux · API
GitHub stars— 53,115
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools