# Reverie

> Durable, searchable memory and consolidation for coding agents across sessions and harnesses.

## Agent Quickstart (Read First)

If you are a coding agent setting up Reverie for a user:
1. Fetch only the Markdown guide below that matches your task — do not load the full bundle unless needed.
2. Start with [Quickstart & Installation](https://usereverie.dev/llms/quickstart.md) to install `reverie` (`rev`), run `reverie login` + `reverie setup`, optionally migrate existing agent sessions (`reverie migrate --scan`), and verify with `reverie doctor`.
3. Never echo API keys, bearer tokens, or private workspace contents back to stdout or logs.

## Progressive Guides (Markdown — Fetch On Demand)

- [Quickstart & Installation](https://usereverie.dev/llms/quickstart.md): Linux/macOS (`install.sh`) and Windows (`install.ps1`) installs, browser PKCE / `--device` / `--with-token` login, 7-harness auto-setup, session migration, and `reverie doctor`.
- [MCP Tools & Harness Config](https://usereverie.dev/llms/mcp.md): 3-tool MCP surface (`rev_search`, `rev_context`, `rev_save`), local stdio (`reverie mcp`), Streamable HTTP (`https://api.usereverie.dev/mcp`), and exact configs for Claude Code, Cursor, Codex, Windsurf, Antigravity, OpenCode, and `pi` / `omp`.
- [CLI Reference & Session Migration](https://usereverie.dev/llms/cli.md): All `reverie` (`rev`) subcommands (`save`, `search`, `sync`, `migrate`, `login`, `logout`, `setup`, `doctor`, `mcp`), flags, `--json` output, and local SQLite paths.
- [Cloud REST API & Epistemic Recall](https://usereverie.dev/llms/api.md): `/v1/observations`, `/v1/search`, `/v1/substrate/recall` (`reverie.substrate.recall.v2`, 5-tier `EpistemicGrade`), `/v1/sync/push`, `/v1/archives`, `/v1/export`, and quota behavior.
- [Architecture, Privacy & E2EE](https://usereverie.dev/llms/security.md): 5-layer memory hierarchy, `reverie-redact` pre-seal scrubbing, `Free` (`$0/mo`, `1 GB`) vs `Pro` (`$5/mo`, `10 GB`), `ClientEnvelopeV1` (`HKDF-SHA256 + AES-256-GCM`), and Ed25519 audit chain.

## Full Bundle & Machine Discovery

- [Full Single-File Reference](https://usereverie.dev/llms-full.txt): Complete self-contained Markdown reference for offline or single-fetch context loading.
- [MCP Server Card](https://api.usereverie.dev/.well-known/mcp/server-card.json): Unauthenticated JSON discovery card listing protocol versions (`2025-03-26`, `2024-11-05`), capabilities, SHA-256 tool descriptors, and annotations.
- [Cloud API Health](https://api.usereverie.dev/healthz): Live readiness status for Durable Object SQLite, Vectorize, Workers AI, and R2 bindings.
- [Storage Transparency](https://api.usereverie.dev/v1/storage-transparency): Machine-readable register of workspace isolation, Cloudflare data map, PII redaction vs `ClientEnvelopeV1`, and deletion mechanics.
- [Audit Chain Head](https://api.usereverie.dev/v1/audit/head): Public Ed25519-signed head and contiguous `sha256-chain-v1` verification status.

## Human Surfaces & Legal

- [Reverie Overview](https://usereverie.dev/): Product overview, interactive recall demo, and pricing.
- [Documentation](https://usereverie.dev/docs): Human-readable docs and guides.
- [Cloud Console](https://app.usereverie.dev): Browser workspace console for setup, memory search, API tokens, CLI approval (`/cli/auth`), and billing.
- [CLI Installer (Linux / macOS)](https://dl.usereverie.dev/install.sh): SHA-256 checksum-verified shell installer.
- [CLI Installer (Windows PowerShell)](https://dl.usereverie.dev/install.ps1): SHA-256 checksum-verified PowerShell installer for `x86_64-pc-windows-msvc`.
- [Terms & CLI EULA](https://usereverie.dev/terms): License, quotas, data ownership, and `DELETE /v1/account` erasure terms.
- [Privacy Notice](https://usereverie.dev/privacy): Hosting disclosures, consent-gated analytics, and memory privacy guarantees.
- [Security Contact](https://usereverie.dev/.well-known/security.txt): RFC 9116 vulnerability disclosure metadata.
