Reinstate

Restore your AI coding workspace on any device

Sessions, MCP servers, skills, and settings — across every coding agent and every machine you own. Encrypted so only you can read it.

terminal
# Device A — desktop
$ rein init
$ rein push
# encrypted · age · your bucket only

# Device B — laptop
$ rein pull
$ claude --resume
# context lives. paths remapped.

Short alias rein · full namereinstate · same binary

Git has the code. The agent does not have the conversation.

You grind for hours on a Windows desktop across Claude Code, Codex, Gemini CLI. Open the MacBook: empty history, different MCP setup, start from zero. Vendor tools save sessions locally. Switching machines is context death.

Without Reinstate

Context dies at the desk

  • Sessions stuck on the origin machine
  • MCP and skills drift between devices
  • Absolute paths break naive file sync
  • Live remote tools need the desktop awake

With Reinstate

Portable state you control

  • Push encrypted sessions to your storage
  • Pull on the laptop when the desktop is off
  • Path remap so Windows ↔ macOS resume works
  • Same IDs, same agent, continue the thread

How it works

Not a live relay. Not Dropbox for session JSONL. A local-first sync engine that treats resume and path differences as the product.

  1. 01

    Adapters read local state

    Each coding agent writes sessions and config to disk in its own layout. Reinstate adapters know where to look.

  2. 02

    Paths become portable

    Absolute project paths are rewritten to tokens, then remapped on pull so resume finds the same work on another OS.

  3. 03

    Encrypt, then upload

    age encryption runs on the client with a passphrase-derived key. Remote storage only ever sees ciphertext.

  4. 04

    Atomic restore

    Pull decrypts, remaps, writes with backups and conflict forks. Never a silent overwrite of local history.

Reinstate architecture: adapters, pathmap, encryption, and sync against your bucket

Built for the empty quadrant

Universal × cross-device × works when the other machine is off × encrypted × path-aware. Native vendor sync owns one ecosystem. DIY file sync breaks on paths and secrets.

Cross-device session sync

Continue the same agent thread on another machine with the conversation, not a cold re-prompt.

Multi-agent adapters

Claude Code and Codex first; Gemini CLI, OpenCode, and Grok Build on the roadmap. Not locked to one vendor.

End-to-end encryption

age with passphrase-derived keys. Ciphertext only on remote storage. Zero-knowledge by design.

Bring-your-own storage

Cloudflare R2, S3, GCS, S3-compatible, or WebDAV. You own the bucket and the credentials.

OS-aware path remapping

Windows ↔ macOS project roots rewritten so --resume actually finds sessions. The hard problem is the product.

Config + sessions

MCP servers, skills, agents, and settings travel with history. One environment everywhere you code.

Competitive landscape: agent scope versus state portability

Supported agents

Same-vendor resume only. Cross-agent value is portable config, skills, and environment — not replaying one model’s transcript into another.

AgentSessionsConfig / MCPStatus
Claude CodeYesYesPriority (v0.1)
OpenAI Codex CLIYesYesPriority (v0.1)
Gemini CLIPlannedPlannedPhase 1
OpenCodePlannedPlannedPhase 1
Grok BuildPlannedPlannedPhase 2

Details in adapters docs.

Zero-knowledge, open source

Apache-2.0. Auditable. Patent grant. No vendor lock-in. A future optional hosted convenience layer would still only store ciphertext — and is not required.

Read the security model
E2E encryption
Ciphertext only on remote storage. Keys derived from your passphrase; lose the passphrase, lose decryptability.
Credential denylist
auth.json and tokens stay local by default. Secrets are not part of the sync surface.
No vendor API keys required
Reinstate reads local agent files. It does not need Anthropic, OpenAI, or Google credentials.
Fail-safe restore
Timestamped backups, conflict forks, atomic writes. Safe defaults over silent merge.

Get early access

v0.1 CLI is under active development. Join the waitlist for release notes and early access. We will not sell your email. Resend confirmation comes later.