{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "sodamem-sodamem--persistent-memory-for-coding-agent",
 "repo": "SodaMem/SodaMem",
 "repo_url": "https://github.com/SodaMem/SodaMem",
 "repo_slug": "sodamem-sodamem",
 "title": "Give Claude Code memory that persists across sessions",
 "page_title": "How to give Claude Code memory that persists across sessions with Soda Mem",
 "summary": "Install Soda Mem as a daemon and wire Claude Code to recall and retain context through MCP and hooks.",
 "who": "A developer using Claude Code on a long-running project who keeps re-explaining conventions and past decisions each session.",
 "problem": "Coding sessions start blank, so the assistant forgets preferences, decisions and project facts from earlier work.",
 "outcome": "Claude Code recalls stored project context at the start of new sessions, with memory handled by the Soda Mem daemon.",
 "steps": [
  "Run `pip install \"sodamem[chroma,llm]\"` to install Soda Mem.",
  "Run `sodamem daemon ensure` once to start the process that owns the stores.",
  "Run `sodamem install claude-code` to wire the client to the daemon.",
  "Start a Claude Code session and confirm a stored fact from an earlier session is recalled."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/sodamem-sodamem/persistent-memory-for-coding-agent/",
 "md": "https://dedupedai.com/use-cases/sodamem-sodamem/persistent-memory-for-coding-agent/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/sodamem-sodamem--persistent-memory-for-coding-agent.json",
 "api_version": "v1"
}
