Who it is forA developer using Claude Code on a long-running project who keeps re-explaining conventions and past decisions each session.
The problemCoding sessions start blank, so the assistant forgets preferences, decisions and project facts from earlier work.
The outcomeClaude Code recalls stored project context at the start of new sessions, with memory handled by the Soda Mem daemon.
What you need first
- Python environment with pip available
- An LLM provider API key set as SODAMEM_LLM_API_KEY, needed only for ingest
- Docker or a running daemon is not required for the Python path, but coding tools need `sodamem daemon ensure` first
Steps
- Run
pip install "sodamem[chroma,llm]"to install Soda Mem. - Run
sodamem daemon ensureonce to start the process that owns the stores. - Run
sodamem install claude-codeto wire the client to the daemon. - Start a Claude Code session and confirm a stored fact from an earlier session is recalled.
Prompt for your agent
Using the SodaMem repo at <repo path>, install SodaMem, start the daemon, and wire Claude Code to it. Expected output: the install command finishes without errors. Verify by starting a new Claude Code session and checking that a fact from a previous session is recalled.
Caveat. The README says a coding session mostly does not call memory tools on its own, so the hooks are what make recall and retention automatic, and the README does not describe how the hooks behave per client beyond that.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for SodaMem/SodaMem and "Give Claude Code memory that persists across sessions"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer