Reverie Start free

usereverie.dev/docs · Manuals & Reference

Reverie Manuals

Install reverie in 90 seconds, connect all seven coding harnesses (five auto-wired via reverie setup plus OpenCode and pi / omp over reverie mcp) onto Reverie's Model Context Protocol surfaces (9 local mem_* tools on reverie mcp and 3 cloud rev_* tools on api.usereverie.dev/mcp), and verify redaction, end-to-end encryption, web archiving, and epistemic recall.

00 · Plain-English Overview

What Reverie does vs. Markdown notes

Static notes files like CLAUDE.md or AGENTS.md are loaded whole into every session, go stale unless you prune them by hand, and stay trapped inside a single coding tool. Reverie gives every coding agent on your machine one searchable memory: it strips secrets locally before saving, returns only the few past decisions or bug fixes relevant to the current task, and tidies duplicate or outdated notes automatically.

01 · Quickstart

90-Second Quickstart

Install the SHA-256-verified reverie CLI client (aliased as rev) into ~/.local/bin, sign in to your Reverie Cloud workspace (1 GB Free or 10 GB Pro), and connect your coding tools. All customer workspaces are cloud-backed at api.usereverie.dev.

# Install the CLI, sign in to Reverie Cloud, and wire your coding tools
$ curl -fsSL https://dl.usereverie.dev/install.sh | bash

# Verify 0600 credentials, cloud /v1/me reachability, and harness registration
$ reverie doctor
  • Installer flags: install.sh accepts --check (preflight without installing) and --no-prompt. It verifies SHA256SUMS-<target> fail-closed before extracting.
  • Harness wiring: Bare reverie setup auto-detects installed editors, or pass reverie setup --harness <kind> where <kind> is claude | cursor | codex | antigravity | windsurf. For pi / omp and opencode, run reverie setup and connect via reverie mcp over stdio.

02 · CLI Surface

reverie CLI Reference

The reverie CLI is a lightweight cloud client backed by your isolated Reverie Cloud workspace (https://api.usereverie.dev) on both Free and Pro plans.

reverie mcp Start the JSON-RPC 2.0 MCP server over stdio backed by your Reverie Cloud workspace.
reverie save --title "..." Read memory content from stdin, run pre-seal redaction, and save it to your Reverie Cloud workspace (--type, --scope, --topic-key).
reverie search "<query>" Search observations in your cloud workspace with YAML frontmatter or --json output (--limit, --type, --scope, --all-projects).
reverie login Authenticate with app.usereverie.dev/cli/auth via loopback S256 PKCE, --device (SSH), or --with-token on stdin.
reverie logout Scrub and remove the 0600 Reverie Cloud credentials file.
reverie setup Idempotently register reverie mcp across detected harnesses or --harness claude|cursor|codex|antigravity|windsurf (supports --dry-run, --json).
reverie doctor Verify 0600 credential permissions, cloud /v1/me reachability, environment paths, and harness config state.

03 · Model Context Protocol

MCP Surfaces & Server Card

Reverie serves profile-matched MCP instructions and tools on both local reverie mcp (stdio, default --tools=local profile exposing 9 mem_* tools: mem_context, mem_search, mem_save, mem_list, mem_get_observation, mem_update, mem_session_start, mem_session_end, and mem_session_summary; or pass --tools=default for rev_*) and Cloud Streamable HTTP (https://api.usereverie.dev/mcp, 3-tool rev_* surface, protocol revisions 2025-03-26 and 2024-11-05). Inspect the unauthenticated discovery card at /.well-known/mcp/server-card.json.

rev_search Read-only hybrid lexical + @cf/baai/bge-m3 vector + 2-hop spreading-activation recall across observations, turns, and archived web pages (query, project, scope, limit, min_epistemic).
rev_context Hydrate sanitized token-budgeted session startup context and latest RESUMABLE HANDOFF, or fetch one observation/archive by id (project, token_budget, min_epistemic).
rev_save Persist a redacted observation, session handoff, or archived URL snapshot (content, url, kind, title, topic_key, epistemic).
{
  "mcpServers": {
    "reverie": {
      "type": "http",
      "url": "https://api.usereverie.dev/mcp",
      "headers": {
        "Authorization": "Bearer ${REVERIE_API_TOKEN}"
      }
    }
  }
}

04 · Security & Cryptography

Cloud Sync, Redaction & Client-Held E2EE

  • Deterministic pre-seal redaction (reverie-redact): Runs Unicode NFKC normalization, Aho-Corasick + non-backtracking automata, and Luhn/IBAN/key entropy checks on your workstation before any observation enters the sync queue or POST /v1/sync/push.
  • Per-account isolation: Cloud workspaces run in isolated Durable Object SQLite stores (org_<ulid>) with an Ed25519-signed sha256-chain-v1 governance audit log (/v1/audit/head).
  • Client-held E2EE (ClientEnvelopeV1): Pro workspaces can seal records locally with HKDF-SHA256 + AES-256-GCM (unique random per-row salt and iv, plus tenant/record AAD binding). Decryption keys never leave your device, and server-side vector indexing is skipped for sealed ciphertext.

05 · Anti-Linkrot

ramz Visual & Web Source Archiving

External RFCs, docs, and postmortems drift or go offline. Passing url to rev_save or calling POST /v1/archives runs an SSRF-guarded, IP-pinned capture pipeline on Pro workspaces:

  1. Pins DNS resolution and blocks RFC 1918, loopback, link-local, CGNAT, and tailnet CIDRs.
  2. Extracts clean Readability Markdown for full-text and vector recall alongside code memories.
  3. Compresses canonical HTML with zstd and transcodes referenced diagrams into bounded WebP sidecars under content-addressed R2 keys.
$ curl -fsSL -X POST https://api.usereverie.dev/v1/archives \
  -H "Authorization: Bearer ${REVERIE_API_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://datatracker.ietf.org/doc/html/rfc9110", "project": "core"}'

06 · Provenance & Claim Discipline

Epistemic Claim Grades & Substrate Recall

Reverie grades claims across a 5-tier bounded lattice (EpistemicGrade: "unknown" < "inferred" < "observed" < "derived" < "proven", tag facet epistemic:<grade>) so unverified hypotheses never masquerade as machine-checked facts. Multi-premise syntheses propagate the weakest supporting grade via lattice meet (min), and callers filter retrieval with min_epistemic.

proven Tier 4 · badge [PROVEN] · epistemic:proven — machine-checked test receipt, hash proof, or deterministic invariant.
derived Tier 3 · badge [DERIVED] · epistemic:derived — deterministic conclusion computed from explicit repository code or measurements.
observed Tier 2 · badge [OBSERVED] · epistemic:observed — empirical command output, runtime log, or direct single observation.
inferred Tier 1 · badge [INFERRED] · epistemic:inferred — consolidated summary or plausible engineering interpretation.
unknown Tier 0 · badge [UNKNOWN] · epistemic:unknown — ungraded note or unverified hypothesis (fail-closed default).

Structured Substrate Recall (POST /v1/substrate/recall)

Agent harnesses and orchestrators query POST /v1/substrate/recall to receive a schema-versioned reverie.substrate.recall.v2 envelope carrying graded claims, context badges, sensitivity ceilings, and token-bounded evidence chunks:

$ curl -fsSL -X POST https://api.usereverie.dev/v1/substrate/recall \
  -H "Authorization: Bearer ${REVERIE_API_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"query": "pgbouncer prepared statements", "project": "core", "min_epistemic": "observed", "limit": 5}'
# -> { "schema": "reverie.substrate.recall.v2", "min_epistemic": "observed", "items": [...] }

07 · Quotas & Data Rights

Plans, Portability & GDPR Art. 17 Erasure

Free · $0/mo 1 GB isolated cloud workspace, pre-seal redaction, lexical search, pinned-memory protection.
Pro · $5/mo 10 GB included (+$0.25/GB/mo), hybrid BM25 + vector recall, LLM dream cycles, ClientEnvelopeV1 E2EE, web archives, rev_live_* CI tokens.
POST /v1/export Download a complete portable JSON/NDJSON archive of your workspace observations and metadata at any time (never throttled at quota).
DELETE /v1/account GDPR Article 17 erasure: purges all workspace rows, vectors, and R2 archive objects and returns an Ed25519-signed receipt.