Hydrate in ten minutes.
Hydrate is an episodic-memory layer for Claude Code. The shape of it: every time you write a prompt, the facts you need from previous sessions surface in the model's context before the prompt is sent. You did not ask for them; they were already there. The capture side is symmetric; every session you finish is read for new facts and stored locally. Nothing to think about after the install.
The shape of it
- You run
curl -fsSL gethydrate.dev/install | sh. The installer drops five binaries into~/.local/bin/, wires two hooks into~/.claude/settings.json, and startshydrate-serverin the background. hydrate-serverruns on a local port (written to~/.hydrate/server.port; default49849) - it owns the SQLite store and serves the dashboard.- Every time you run
claude, theUserPromptSubmithook queries the server and injects relevant facts. When the session ends, theStophook saves a summary and extracts new facts. - Run
hydrate doctorto verify everything is wired correctly.
Next steps
- Install - the one-line setup + 15-check doctor
- Quickstart - verify it's working
- Builders - generate Claude Code skills, Hydrate hooks, and phased plans from a one-line prompt. The fastest way to make Hydrate productive on day one.
- BYOK - bring your own keys - how to add provider API keys, the right way
- Team - git-as-sync-layer for shared project memory
- Scopes - how facts stay organised
- Enterprise - self-host + SSO + org policy
Core concepts
- Pre-prompt injection: the
UserPromptSubmithook queries the local daemon and prepends relevant project context to every prompt before it reaches the model. Retrieval runs on FTS5 keyword match plus optional cosine similarity, with a recency-decay weight. - Team Memory as Git: a project's canon and facts live in a git repo you control. Push from one machine; pull on another. Code-review tooling becomes review tooling for the project's shared decisions.
- Hydration Packs: commit a
.hpackfile with the repo. A new developer runninghydrate pack-load <file>gets the architecture, conventions, and known-broken edges in their next prompt. No onboarding read-through needed.
Recipe: plan in Opus, execute in Sonnet
- Start in Opus for architecture, planning, or specification work.
- When the plan is stable, run inside Claude Code:
/hydrate-distill - Clear the current context:
/clear - Switch to Sonnet.
- Rehydrate the distilled session:
/hydrate-last
Sonnet receives the distilled decisions and project context, without carrying the full Opus planning transcript.
FAQ
What does Hydrate store on disk?
A SQLite database at ~/.hydrate/data.db, plus a 0600-mode
API key at ~/.hydrate/server.key. Captured session summaries
and extracted facts are stored locally; no cloud sync unless you enable it.
Does Hydrate call any LLMs?
Only if you opt in with your own provider. The default extraction path is extractive, zero-cost NLP, no LLM tokens billed by Hydrate. Adding an API key (Anthropic, OpenAI, Voyage) upgrades extraction quality; it's never required.
Does Hydrate phone home?
No.
Can I run Hydrate fully offline?
Yes, by default. Sync is opt-in.
What models does Hydrate work with?
Any model accessible via Claude Code, Mistral Vibe, or an MCP-capable agent (Cursor, Cline, Zed, Gemini CLI).
How do I uninstall?
hydrate uninstall-hooks. Your memory at ~/.hydrate/
is preserved and can be restored with hydrate install-hooks.
My team uses different machines / OSes: can we still share memory?
Yes. Team Memory is a git repo. Push from one machine, pull on another. Hydrate runs on macOS, Linux, and Windows (WSL2 day 1; native Windows post-beta). See /docs/team.
Can my team run our own sync hub?
Yes. The Enterprise tier ships a self-hosted sync hub plus SSO, audit log, and org-wide canon governance. See /enterprise.