mex logo
mex
★ 1.8k
vs
ditto logo
ditto
★ 298

mex vs ditto

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.; ditto: Ditto is a tool that analyzes your past AI agent coding sessions to automatically create a personalized working profile. This profile helps AI agents understand your specific work habits, design preferences, and writing style, making them act more like you.

01

TL;DR

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.
ditto logo
dittoMemory & Context · ★ 298

Customize AI agents to understand your definition of 'done,' preferred debugging methods, and UI design principles.

02

Side-by-Side Comparison

Field
mex logomex
ditto logoditto
Category
Memory & Context
Memory & Context
Stars
★ 1.8k
★ 298
License
MIT
MIT
Install Command
npx mex-agent setup
npx skills add ohad6k/ditto@ditto
Updated
4d ago
1w ago
Open Source
Yes
Yes
Tags
AI Agents, Persistent Memory, Context Management
AI Agents, Personalization, Context Management
03

Features

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.
ditto logoditto
01Mines real coding-agent session logs (e.g., Claude Code, Codex, Copilot CLI) to extract implicit user behaviors.
02Generates a private, local working profile (`you.md`) that AI agents read before every task.
03Distinguishes and loads separate layers for work, design, and writing profiles based on the task.
04Ensures privacy by processing logs locally with best-effort redaction of secrets.
05Renders a shareable 'profile card' summarizing key laws and traits.
04

Use Cases

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.
ditto logoditto
↳Customize AI agents to understand your definition of 'done,' preferred debugging methods, and UI design principles.
↳Improve agent communication to match your actual working voice and avoid repetitive explanations.
↳Enhance agent rejections to align with what you typically reject on sight (e.g., 'fix the one thing,' not rewriting).
↳Develop a consistent persona for multi-agent systems without explicitly writing down all rules.
05

Best For

mex logomex
EssentialTrending
ditto logoditto
—
FAQ

FAQ

What is the difference between mex and ditto?
Both mex and ditto are in the Memory & Context category. mex has 1.8k stars, while ditto has 298 stars.
Which is better, mex or ditto?
The best choice depends on your use case. Choose mex if Maintaining consistent project context for AI coding agents across multiple sessions., and ditto if Customize AI agents to understand your definition of 'done,' preferred debugging methods, and UI design principles..
Is mex free or open source?
Yes, mex is open source on GitHub (MIT).
Is ditto free or open source?
Yes, ditto 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