A conceptual view of a vault, not an app screenshot.
01 /Keep data on your device
02 /Choose what to connect
03 /Grant access deliberately
A useful, private foundation
One vault system. More ways to use it.
Shared Rust foundations across the command line and mobile clients. Optional services extend how you connect, not who owns your data.
01
Local vaults & encryption
Store memories, typed knowledge cards, private files, and credentials with local encryption. Reuse card templates and add ordered custom fields; sensitive values stay masked until verified. Read, search, and follow revision history; deliberately private content stays out of ordinary search.
Your data, your device02
CLI & local daemon
Use the memories Rust CLI through a local daemon: a Windows named pipe or a Linux/macOS Unix socket, restricted to the current OS user.
Local IPC03
Optional remote daemon
Connect through token-authenticated HTTP/WebSocket or relay RPC when needed. Remote access uses the service protocol and remains subject to unlock and elevation checks.
Centers issue device enrollment and scoped grant tickets and can disable local self-bootstrap. With --data DIR a Center also runs a full hosted vault with remote unlock and member management. Admins grant read-by-default access; members request permissions and claim approved grants once, with a hash-chained audit log.
Android/iOS clients call the shared Rust service through memories_ffi. A local MCP server and AI skill injection bring authorized ordinary memories and cards into your AI workflow, without returning stored credential values.
Android / iOS / MCP06
Device pairing & transfer
Pair devices with invitations, fingerprint checks, and approval. Transfer encrypted vaults by file or a WebSocket relay. Online transfer is deliberate and whole-vault, not automatic incremental sync.
Deliberate connections
Living context
World: a persona’s life in the present.
Persona cards hold an identity core, linked archives, and behavior events. World adds a live snapshot of the persona’s surroundings and daily state in profile.world, separate from the core SKILL voice and rules.
01
Scene
Keep the current place, pose, appearance, and body notes together. A room, a change of clothes, or a moment of rest becomes context the next interaction can use.
02
Things
Give any item a name, description, images, and flexible JSON attributes. A cup, a table, or a wardrobe item can carry the details that matter, without a fixed attribute template.
03
Ledger
Track counters, meals, pending and completed orders, and standing arrangements. Keep today’s activity distinct from cumulative totals and what remains in place across days.
04
Tools
Dice, spinners, and schedules support choices and daily routines. Keep these practical tools alongside the world state, rather than weaving them into personality instructions.
05
Weather & forecast
Record conditions, temperature, humidity, wind, and an optional forecast. Agents can fetch weather externally and update the snapshot; World does not fetch live weather on its own.
06
Automation hooks
Define actions for schedules, random intervals, webhooks, or item attribute changes. Agents check timed hooks; the vault does not run a background timer of its own.
How it fits together
Local at the core. Connected by choice.
Start with a local vault. Add a relay, remote endpoint, or authorization Center only if your workflow calls for it.
01 / Your tools
CLI, mobile, AI
Desktop CLI and MCP use the local daemon. Mobile uses the shared Rust core through FFI.
memories · memories_ffi→02 / On your device
Encrypted vaults
Local storage, keys, and authorization checks. The local daemon serves the current OS user.
Local is the starting point⇢03 / Optional connections
Extend your setup
RelayEncrypted peer transfer
Remote daemonToken-authenticated access
CenterEnrollment & MCP tickets
These are separate optional services, not a required chain. The stateless memories-relay does not store assets or queue transfers for offline devices.
A small beginning
Your first local vault.
You’ll need Rust 1.88+ and a platform C toolchain for bundled SQLite. These examples follow the repository README.
01
Install from source
Clone the repository and install the Rust CLI from its root directory.
Terminal01
git clone https://github.com/mbcc2006/memories.git
cd memories
cargo install --path crates/cli --locked
02
Start the local daemon
Keep this running in a separate terminal. Use a new, dedicated data directory: --home restricts its permissions. Never use an existing general-purpose folder.
Terminal A · keep running02
memories --home ./memories-demo daemon
03
Create, write, search
Open another terminal in the same directory. Replace VAULT_ID with the ID returned by vault creation, and create a notes.md file before importing it.
Packages are served from r2.ivjn.us. Verify the SHA-256 checksum before you run anything. macOS builds are Apple silicon (arm64) only for now.
v0.1.7 · October 14, 2026: Windows, Linux and Android packages are rebuilt from 7647166, including knowledge card templates and custom fields, hosted content editing, and the desktop memories file exec command for running programs with vault-backed configuration files. Android also fixes startup in optimized builds, retains the existing release signature, and uses build 8. Its source patch is linked below. macOS remains at v0.1.3. Check each package's BUILD-INFO.json and SHA-256 before installing.
MEMORIES WEB
Your Center, in your browser.
Manage memories, cards and files with your existing Center grant. No installation required.
Memories, private files, credentials, and private key material are encrypted in the local store. Keys stay on user devices. Public device keys and fingerprints are intentionally visible. Once unlocked, authorized clients can access permitted content; local encryption is not protection against a compromised endpoint.
What can the relay see?+
Vault peer sync (/v1/channel) is encrypted end-to-end: the relay sees ciphertext and traffic metadata, not asset plaintext. Remote daemon Relay RPC is different: its authenticated JSON is not end-to-end encrypted, so the relay operator or TLS terminator can read the shared listen token and request/response payloads. Use a trusted relay for RPC. The shipped relay stores no assets or offline queues, but an operator could record traffic or block connections. Verify device fingerprints for peer sync.
Do I need a relay or a Center?+
No. A local vault and daemon are enough to begin. A relay supports online encrypted device transfer, a remote daemon offers token-authenticated access, and a Center issues enrollment and grant tickets or hosts a vault. Each is optional and serves a different purpose.
Can AI tools read my credentials?+
Ordinary MCP access is limited by deliberate vault grants. It can work with authorized ordinary memories and cards, but does not return stored credential values or deliberately private content, and cannot inherit terminal elevation. The separately enrolled mcp serve-unattended mode deliberately can return credential plaintext, private content and files from its selected vaults when requested. Enable it only for trusted clients after deliberate consent. Skill injection does not change either mode's access boundaries.
What is the project’s development status?+
This is a development release using storage format v1, with executable code and security regression tests. It has not undergone an independent cryptographic or application security review. See the Card types & fields and security notes for its guarantees and current limits.
Begin with what’s yours
Make room for your memories.
Explore the code, read the guides, and try a local vault.