TrueMemory logo
TrueMemory
★ 382
vs
magic-context logo
magic-context
★ 2.4k

TrueMemory vs magic-context

TrueMemory: TrueMemory is a neuroscience-inspired persistent memory system for AI agents. It achieves state-of-the-art scores on LoCoMo, LongMemEval, and BEAM benchmarks while running entirely offline on a single SQLite file. The six-layer retrieval pipeline with an encoding gate filters noise and stores only meaningful information.; magic-context: Magic Context is a context and memory plugin for coding agent harnesses (OpenCode, Pi and OMP) that compresses history in the background, lifts decisions and conventions into project memory and recalls them each turn. It replaces the host's built-in compaction so one session per project can run for weeks without pauses.

01

TL;DR

TrueMemory logo
TrueMemoryRAG / Knowledge Base · ★ 382

Personal AI assistant that remembers user preferences and history across conversations.

magic-context logo
magic-contextMemory & Context · ★ 2.4k

Keep one coding-agent session per project running for weeks

02

Side-by-Side Comparison

Field
TrueMemory logoTrueMemory
magic-context logomagic-context
Category
RAG / Knowledge Base
Memory & Context
Stars
★ 382
★ 2.4k
License
AGPL-3.0
MIT
Install Command
curl -LsSf https://raw.githubusercontent.com/buildingjoshbetter/TrueMemory/main/install.sh | sh
npx @cortexkit/magic-context@latest setup
Updated
1w ago
1d ago
Open Source
Yes
Yes
Tags
agent-memory, ai, ai-agents
agent-framework, agent-memory, ai
03

Features

TrueMemory logoTrueMemory
01Remembers everything across sessions – facts, preferences, decisions, corrections.
02State-of-the-art benchmark scores: 93.0% on LoCoMo, 92.0% on LongMemEval, 76.6% on BEAM-1M.
03Runs locally on a single SQLite file – zero cloud, zero API keys for Edge and Base tiers.
04Neuroscience-inspired architecture with six retrieval layers and an encoding gate.
05Works with Claude Code and Claude Desktop via pre-built lifecycle hooks.
magic-context logomagic-context
01Background history compression that lifts durable knowledge into project memory
02Overnight dreamer agents verify, deduplicate and curate memories
03Automatic recall each turn plus search across memories, past conversations and git history
04Setup wizard that configures OpenCode, Pi or OMP and disables built-in compaction
04

Use Cases

TrueMemory logoTrueMemory
↳Personal AI assistant that remembers user preferences and history across conversations.
↳Developer tool that maintains context across long coding sessions.
↳Research and simulation where agents need long-horizon memory.
magic-context logomagic-context
↳Keep one coding-agent session per project running for weeks
↳Avoid compaction pauses that drop context mid-task
↳Give an agent memory of past decisions and project conventions
05

Best For

TrueMemory logoTrueMemory
—
magic-context logomagic-context
EssentialTrending
FAQ

FAQ

What is the difference between TrueMemory and magic-context?
Both TrueMemory and magic-context are in the RAG / Knowledge Base category. TrueMemory has 382 stars, while magic-context has 2.4k stars.
Which is better, TrueMemory or magic-context?
The best choice depends on your use case. Choose TrueMemory if Personal AI assistant that remembers user preferences and history across conversations., and magic-context if Keep one coding-agent session per project running for weeks.
Is TrueMemory free or open source?
Yes, TrueMemory is open source on GitHub (AGPL-3.0).
Is magic-context free or open source?
Yes, magic-context is open source on GitHub (MIT).
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