Docs

Hydrate in ten minutes.

Hydrate is an episodic-memory layer for Claude Code. It installs two hooks, watches each session, extracts facts and session summaries, and injects relevant ones into the next session's context. Nothing you have to think about after the install.

The shape of it

  1. You install the hydrate binary (brew, scoop, or curl).
  2. On first run, hydrate init writes two hooks into your Claude Code settings.
  3. hydrate-server runs in the background on localhost:8089 — it owns the SQLite store and serves the dashboard.
  4. Every time you run claude, the UserPromptSubmit hook queries the server and injects relevant facts. When the session ends, the Stop hook saves a summary and extracts new facts.

Next steps