Documentation

How trymem works

Sync your Claude Code & Codex sessions across machines and resume them anywhere.

The two secrets

trymem keeps two separate things — this is the part that trips people up.

Account login

Email/password or GitHub. Gets you into the dashboard.

Encryption passphrase

Encrypts your sessions and never reaches the server. Set it once with trymem init and reuse it everywhere.

Lose the passphrase and your data can't be recovered — that's the point.

Setup

  1. Create an account.
  2. Download the CLI and put it on your PATH.
  3. Create a device token in the dashboard.
  4. Configure this machine and push:
curl -fsSL https://trymem.com/install | sh   # macOS / Linux
trymem init      # paste the token, choose a passphrase
trymem push      # encrypt + upload your sessions

On another machine

Install the CLI, create another token, and run trymem init with the same passphrase. Then:

trymem ls
trymem resume <id>

Commands

trymem initConfigure this device (server, token, passphrase)
trymem pushEncrypt + upload changed sessions
trymem lsList sessions (all, or --here for this dir)
trymem search <q>Filter by title / path / prompt / host
trymem resume <id>Pull, remap the path, relaunch claude / codex
trymem pull <id>Download + write the session locally
trymem syncKeep uploading sessions as they change
trymem delete <id>Remove a session from the relay
trymem updateDownload and install the latest build

Flags can go after the id, e.g. trymem resume 1a2b3c --cwd ~/work --no-launch.

The dashboard

At /app, enter your passphrase to read and search your sessions in the browser. Decryption happens locally.

Self-host

Run your own relay with Docker:

git clone https://github.com/PatrikFehrenbach/trymem
cd trymem
docker compose up -d --build

Point trymem init --server at your own URL. Source on GitHub.