mnemosyne logo
mnemosyne
★ 151
vs
mex logo
mex
★ 1.8k

mnemosyne vs mex

mnemosyne: Mnemosyne provides persistent memory for AI agents, enabling them to carry work forward, recover original evidence, and adapt by retiring obsolete lessons when their source changes. It connects memory to its consequences, allowing agents to resume from handoffs, withhold skills after failures, and benefit from a wiser start.; mex: mex provides persistent, navigable project memory for AI coding agents, allowing every session to start with the right context instead of a cold prompt. It structures agent memory through a markdown scaffold, offers CLI tools for drift detection against the real codebase, and synchronizes context to keep agents aligned and reduce token usage.

01

TL;DR

mnemosyne logo
mnemosyneMemory & Context · ★ 151

Building AI agents that require long-term, verifiable memory for decision-making and learning.

mex logo
mexMemory & Context · ★ 1.8k
When to choose:
  • Your AGENTS.md or CLAUDE.md has grown too big and you want a small anchor plus routed context files.
  • You want memory as plain markdown in the repo, reviewable in pull requests and diffable.
  • You want drift checks that run without AI tokens and flag missing paths, stale files and broken scripts.
When to skip:
  • You want recall across unrelated projects or conversations; mex lives inside one repository.
  • You have a small project: another set of files to maintain may cost more than it saves.
  • You expect the AST code-graph feature today: the README marks it as an unreleased preview.
02

Side-by-Side Comparison

Field
mnemosyne logomnemosyne
mex logomex
Category
Memory & Context
Memory & Context
Stars
★ 151
★ 1.8k
License
MIT
MIT
Install Command
git clone --branch v2.0.0-rc.9 --depth 1 https://github.com/28naem-del/mnemosyne.git && cd mnemosyne && npm ci --ignore-scripts && npm run build
npx mex-agent setup
Updated
1d ago
3d ago
Open Source
Yes
Yes
Tags
AI Agents, Persistent Memory, Context Management
AI Agents, Persistent Memory, Context Management
03

Features

mnemosyne logomnemosyne
01Memory with evidence: Private-by-default records, explicit sharing, corrections, conflicts, source history, and dependent retirement.
02Continuity across agents: Structured checkpoints preserve goals, decisions, artifacts, and next actions; source changes can retire obsolete handoffs.
03Adaptive context: Budgeted observations, hierarchical summaries, and expandable original source bytes, with evidence revalidation.
04Recall across words and meaning: Scoped BM25 by default; optional embeddings, hybrid fusion, and reranking over authorized records.
05Evidence-gated skills: Candidate procedures, explicit trial requirements, and retirement after failed or changed evidence.
mex logomex
01Creates a structured markdown scaffold for AI agent memory (e.g., AGENTS.md, ROUTER.md, context/, patterns/).
02CLI tools for drift detection, validating scaffold against the actual codebase without using AI tokens.
03Automatically generates targeted prompts for AI agents to fix stale or broken context.
04Supports task-specific context routing, loading only relevant files for the current task.
05Includes an append-only event log to store decisions, notes, risks, and todos.
04

Use Cases

mnemosyne logomnemosyne
↳Building AI agents that require long-term, verifiable memory for decision-making and learning.
↳Enabling agents to resume complex tasks or projects across multiple sessions or handoffs without losing context.
↳Developing AI systems that adapt to new information by invalidating or correcting outdated knowledge based on source changes.
↳Creating self-improving agents where skills are refined or retired based on trial outcomes and evidence.
↳Managing dynamic context for large language models, ensuring relevance and adherence to evidence within token budgets.
mex logomex
↳Maintaining consistent project context for AI coding agents across multiple sessions.
↳Significantly reducing token consumption in LLM interactions by providing only relevant context.
↳Onboarding new AI agents or developers to complex codebases with structured, up-to-date project knowledge.
↳Developing persistent AI agents for operational environments (homelab scenarios, system administration) with structured memory.
↳Automating the detection and correction of documentation or contextual drift from the actual codebase.
05

Best For

mnemosyne logomnemosyne
—
mex logomex
EssentialTrending
FAQ

FAQ

What is the difference between mnemosyne and mex?
Both mnemosyne and mex are in the Memory & Context category. mnemosyne has 151 stars, while mex has 1.8k stars.
Which is better, mnemosyne or mex?
The best choice depends on your use case. Choose mnemosyne if Building AI agents that require long-term, verifiable memory for decision-making and learning., and mex if Maintaining consistent project context for AI coding agents across multiple sessions..
Is mnemosyne free or open source?
Yes, mnemosyne is open source on GitHub (MIT).
Is mex free or open source?
Yes, mex 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