What do you want to do?
4 use cases
-
Give Claude Code memory that persists across sessions
Install Soda Mem as a daemon and wire Claude Code to recall and retain context through MCP and hooks.
- REPO
SodaMem/SodaMem - Claude Code
- Software and DevOps
- Intermediate
View 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.
- REPO
-
Build a chatbot that updates facts when users change them
Ingest a user message and recall the latest version of a fact, with the older version kept readable.
- REPO
SodaMem/SodaMem - Software and DevOps
- Intermediate
View prompt
In the SodaMem repo at <repo path>, write a Python script that ingests a message for user u1 saying the user moved to a new city, then calls build_context for where the user lives. Expected output: the new city in block.text with citations. Verify that the old city does not appear as the current answer.
- REPO
-
Trace each recalled memory back to the turn it came from
Check where a stored fact came from before trusting an agent's answer about a user.
- REPO
SodaMem/SodaMem - Software and DevOps
- Intermediate
View prompt
Using the SodaMem repo at <repo path>, run build_context for user <user_id> with the question <question>. Expected output: a list of citations, each tied to a session and turn. Verify that every line in the context has a citation.
- REPO
-
Call Soda Mem memory from a TypeScript app over HTTP
Use the sodamem npm client to fetch a zero-LLM context block from a running Soda Mem service.
- REPO
SodaMem/SodaMem - Software and DevOps
- Advanced
View prompt
In the app at <project path>, install the sodamem npm package and call the SodaMem context endpoint for user <user_id>. Expected output: a context block returned with a text field. Verify the request succeeds with the API key sent as a Bearer token.
- REPO
Quick start with Soda Mem
- Check you have what it needs: 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.
- Open SodaMem/SodaMem on GitHub and read the README and license.
- 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.
These steps come from our top use case, Give Claude Code memory that persists across sessions, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for SodaMem/SodaMem
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 freeSoda Mem alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers building AI agents or coding assistants who need memory that updates when facts change and can be traced to its source.
- Why it is hot202 stars, launched 80 days ago
- LanguagePython
- Sourcegithub.com/SodaMem/SodaMem · Back to Hot repos
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
Add this badge to your README
Maintain Soda Mem? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/sodamem-sodamem/?utm_source=github&utm_medium=badge&utm_campaign=SodaMem-SodaMem)
HTML
<a href="https://dedupedai.com/use-cases/sodamem-sodamem/?utm_source=github&utm_medium=badge&utm_campaign=SodaMem-SodaMem"><img src="https://dedupedai.com/badge/SodaMem/SodaMem.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Soda Mem
What is Soda Mem?
SodaMem is a Python memory layer for AI agents that stores facts with links back to their source turns and recalls them without LLM calls. It is an open-source project on GitHub: https://github.com/SodaMem/SodaMem.
How do I use Soda Mem?
Run pip install "sodamem[chroma,llm]" to install Soda Mem; then 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. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Soda Mem for?
Developers building AI agents or coding assistants who need memory that updates when facts change and can be traced to its source.
What can I do with Soda Mem?
4 use cases so far, for example: Give Claude Code memory that persists across sessions; Build a chatbot that updates facts when users change them; Trace each recalled memory back to the turn it came from. Each has steps and a copy-paste agent prompt.
What do I need to run Soda Mem?
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.
What are alternatives to Soda Mem?
Other hot AI repos in Software and DevOps: Deep Infer, Harness2, Orca, Opencode, Graphify.
Is Soda Mem safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.