Causal Memory
Provides AI agents with a long-term memory system that records and reasons about decision-outcome causal relationships, including inhibitory connections.
Causal Memory is an advanced agent memory system designed to prevent AI agents from repeatedly making the same mistakes by preserving crucial causal information. Unlike conventional memory solutions susceptible to context window compaction, this system stores `decision → outcome` relationships in an external SQLite database, ensuring survival through numerous interactions. It features a hippocampus-inspired engine that uses typed spreading activation (both excitatory and inhibitory), Hebbian learning, and Q-value dynamics to allow agents to not only recall facts but also understand *why* past actions worked or failed, and *what would happen if* they acted differently.