causal-memory logo
causal-memory
★ 99
vs
telemem logo
telemem
★ 494

causal-memory vs telemem

causal-memory: Causal-memory is an agent memory system with a causal core, uniquely modeling both excitatory and inhibitory connections for robust long-term retention. It enables agents to understand not just what happened, but why it worked or failed, and anticipate outcomes, thereby preventing repeated mistakes.; telemem: TeleMem is an advanced agent memory management layer, offering high-performance, character-aware, long-term, and multimodal memory capabilities for conversational AI. It significantly improves memory accuracy and speed, supporting complex scenarios like multi-turn dialogues and video content understanding.

01

TL;DR

causal-memory logo
causal-memoryMemory & Context · ★ 99

Preventing Repeated Mistakes: Agents can recall past `decision → outcome` causal edges, avoiding re-fixing the same bug or repeating past failed architectural choices.

telemem logo
telememMemory & Context · ★ 494

Developing multi-character virtual agent systems and NPCs.

02

Side-by-Side Comparison

Field
causal-memory logocausal-memory
telemem logotelemem
Category
Memory & Context
Memory & Context
Stars
★ 99
★ 494
License
Apache-2.0
Apache-2.0
Install Command
git clone https://github.com/JingxuanC/causal-memory.git && cd causal-memory && cargo build --release
pip install "telemem[all]"
Updated
1w ago
4d ago
Open Source
Yes
Yes
Tags
Agent Memory, Causal Reasoning, Long-term Memory
Agent Memory, Multimodal AI, Long-term Memory
03

Features

causal-memory logocausal-memory
01Causal Core with Excitatory and Inhibitory Connections: Models 'caused', 'enabled', and 'prevented' relationships using typed causal semantics and negative activation spread (GABA analogue).
02Immutable Consolidation & Q-value Dynamics: Employs hippocampus-style SWR (Sleep-Wake Replay) consolidation with LTP/LTD/GC, Q-value dynamics, and novelty-entropy triggers for robust memory evolution.
03Intervention & Counterfactual Query: Enables forward simulation to predict outcomes before action and contrastive analysis to compare outcomes of different alternatives.
04Compaction Survival: Stores causal information in an external SQLite database, making it immune to context window compaction and preserving critical 'why' knowledge.
05Unified Memory Graph: Integrates facts, temporal state, and decision-outcome causal edges into a single graph, accessible via RRF-fused retrieval (BM25 + semantic).
telemem logotelemem
01Automatic, isolated per-character memory profiles for multi-persona agents.
02Full multimodal memory pipeline for video understanding and ReAct-style video QA.
03LLM-based semantic clustering and deduplication for improved memory consistency.
04High-performance, efficient asynchronous writing with batch flush.
05Fully local operation by default with support for various LLM providers.
04

Use Cases

causal-memory logocausal-memory
↳Preventing Repeated Mistakes: Agents can recall past `decision → outcome` causal edges, avoiding re-fixing the same bug or repeating past failed architectural choices.
↳Proactive Warning and Intervention: Before committing risky actions (e.g., `git push --no-verify`), the system can fire DANGER warnings based on recorded past negative outcomes.
↳Root Cause Analysis: Trace multi-hop backward causal chains to identify the ultimate root cause of failures or unexpected outcomes.
↳Informed Decision Making: Agents can perform counterfactual comparisons between alternative actions, leveraging known outcomes to choose the best path.
↳Cross-Task Lesson Transfer: Discover and apply meta-edges (e.g., `similar_to`, `repeated`) to transfer lessons and patterns across different tasks or sessions.
telemem logotelemem
↳Developing multi-character virtual agent systems and NPCs.
↳Building long-memory AI assistants for customer service, companionship, or creative co-pilots.
↳Enabling complex narrative and world-building in virtual environments.
↳Powering video content Q&A and reasoning for long video understanding.
↳Managing multimodal agent memory in scenarios with strong contextual dependencies.
05

Best For

causal-memory logocausal-memory
—
telemem logotelemem
Hidden Gem
FAQ

FAQ

What is the difference between causal-memory and telemem?
Both causal-memory and telemem are in the Memory & Context category. causal-memory has 99 stars, while telemem has 494 stars.
Which is better, causal-memory or telemem?
The best choice depends on your use case. Choose causal-memory if Preventing Repeated Mistakes: Agents can recall past `decision → outcome` causal edges, avoiding re-fixing the same bug or repeating past failed architectural choices., and telemem if Developing multi-character virtual agent systems and NPCs..
Is causal-memory free or open source?
Yes, causal-memory is open source on GitHub (Apache-2.0).
Is telemem free or open source?
Yes, telemem is open source on GitHub (Apache-2.0).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related