What do you want to do?
3 use cases
-
Give your agent memory of why past decisions worked
Install the MCP server so the agent records decisions and their outcomes and recalls them later.
- REPO
JingxuanC/causal-memory - Claude Code
- Software and DevOps
- Intermediate
View prompt
Install JingxuanC/causal-memory, record a decision and its outcome for <bug fix>, then query search_causal in a new session. Confirm the decision is returned.
- REPO
-
Ask what would happen before the agent acts
Have your agent ask its memory what happened last time before it runs a risky command, and stop on a danger chain.
View prompt
Before you run <risky command> on <system>, call causal-memory's intervention_query with the planned action. If it returns a DANGER chain, stop and show me the cited past outcome; otherwise proceed and record the result.
-
Install the memory server non-interactively
Install the server, the agent skill and the MCP entry for every detected agent with one command and no prompts.
View prompt
Install JingxuanC/causal-memory on <machine> with `./install.sh --yes`, then restart and list the MCP tools you can see. Report which clients were registered and confirm the database path it uses.
Quick start with Causal Memory
- Check you have what it needs: Rust toolchain, or pip for the prebuilt package; An MCP client such as Claude Code.
- Open JingxuanC/causal-memory on GitHub and read the README and license.
- Install with
pip install causal-memory(or build withcargo build --release) - Run
./install.shfor the guided setup of the skill and MCP server - Restart your agent
- Have the agent call record_decision and later search_causal
These steps come from our top use case, Give your agent memory of why past decisions worked, 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 JingxuanC/causal-memory
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 freeCausal Memory alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers whose coding agents keep repeating the same mistakes after context compaction.
- Why it is hot101 stars
- LanguageRust
- Sourcegithub.com/JingxuanC/causal-memory · Back to Hot repos
Requirements
- Rust toolchain, or pip for the prebuilt package
- An MCP client such as Claude Code
Add this badge to your README
Maintain Causal Memory? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/jingxuanc-causal-memory/?utm_source=github&utm_medium=badge&utm_campaign=JingxuanC-causal-memory)
HTML
<a href="https://dedupedai.com/use-cases/jingxuanc-causal-memory/?utm_source=github&utm_medium=badge&utm_campaign=JingxuanC-causal-memory"><img src="https://dedupedai.com/badge/JingxuanC/causal-memory.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Causal Memory
What is Causal Memory?
causal-memory is a Rust MCP server that gives AI agents a memory of facts, temporal state and decision to outcome causal edges on one SQLite store, designed to survive context compaction. It is an open-source project on GitHub: https://github.com/JingxuanC/causal-memory.
How do I use Causal Memory?
Install with pip install causal-memory (or build with cargo build --release); then run ./install.sh for the guided setup of the skill and MCP server; Restart your agent. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Causal Memory for?
Developers whose coding agents keep repeating the same mistakes after context compaction.
What can I do with Causal Memory?
3 use cases so far, for example: Give your agent memory of why past decisions worked; Ask what would happen before the agent acts; Install the memory server non-interactively. Each has steps and a copy-paste agent prompt.
What do I need to run Causal Memory?
Rust toolchain, or pip for the prebuilt package; An MCP client such as Claude Code.
What are alternatives to Causal Memory?
Other hot AI repos in Software and DevOps: Deep Infer, Harness2, Orca, Opencode, Graphify.
Is Causal Memory 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.