Purpose
Aletheia addresses the problem that AI coding tools "forget at the end of every session, and each tool's way of remembering is incompatible with the others." It keeps memories and rules centrally in a single SQLite store on the user's machine, letting different coding agents read them in the formats each already supports, so they share the same persistent memory. The project is positioned as a free, local, tool-neutral alternative to claude-mem.
Main capabilities
- Unified storage: a single SQLite database serves multiple tools at once, accessed via MCP (stdio and HTTP), a plain REST API, and CLI.
- Rule sync: write a rule once and sync it to each tool's own instruction files, such as CLAUDE.md and AGENTS.md.
- Memory capture: record tool session activity via hooks and inject memory context at session start; hooks first redact secrets and
<private>blocks, spool to disk when the database is unavailable, and always exit with 0 so as not to block the host tool. - Dashboard: a local web interface (default http://127.0.0.1:37790),含 with five tabs: Home, Activity, Knowledge, Rules, and Connections, where knowledge can be searched, edited, pinned, hidden, and exported.
- Sync and remote MCP: Aletheia Sync is an append-only operation log supporting device pairing, tombstones, compaction, purge, and scoped tokens, with optional end-to-end encryption (encrypting only the payload, not hiding metadata such as device IDs, operation types, entity IDs, times, or ciphertext sizes); remote MCP provides read and write tools over Streamable HTTP, with each call requiring a bearer token, rate limiting, and an audit row written, while TLS is handled by a reverse proxy or tunnel, with no built-in OAuth.
- Privacy: no account, no telemetry, and no network calls unless you configure a model provider yourself; it listens only on the loopback address.
Usage
Requires Bun 1.1 or newer; the CLI runs on Bun rather than Node. After installation, open http://127.0.0.1:37790 to use it. You can also install the published package:npm install -g aletheia-mem, then start it with aletheia-server ; no runtime dependencies need to be installed. The capture command, when not given --write is a dry run: it only prints the files that would be changed without writing them; each modified file generates a timestamped backup. All settings are configured via environment variables, and the defaults are suitable for a single-user machine.
Use cases
Suited to developers who use multiple AI coding agents on a single development machine and want memories and rules reused across tools; also suited to users who care about localization and privacy and do not want memory data uploaded to the cloud.
Limitations and unverified items
The project is in alpha status. The MCP configuration has been listed by the real CLIs of Claude Code, Command Code, Codex CLI, and OpenCode; the hooks have only actually run on one machine of the author, for one user, in Claude Code (two days of use), Command Code (one short session), and Codex CLI (one interactive session). The hooks for Cursor, Gemini CLI, Windsurf, and OpenCode have not yet run, and these three tools still count as "configuration written per the documentation, not tested in a real installation." Windows is only tested in CI, and some hook checks are skipped. Answer accuracy has not been measured; Recall@5 on LoCoMo is a retrieval metric rather than answer correctness; local 1B model extraction failed to run; sync and end-to-end encryption were only tested in a loopback environment with a temporary data directory, without using a real tunnel or a second host. The 10 README translations are machine translations and have not been reviewed by native speakers. The project uses the Apache-2.0 license and is not affiliated with the claude-mem author or Anthropic.