Persistent project memory for AI coding agents. Structured scaffold + drift detection CLI.
<div align="center"> <img src="mascot/mex-mascot.svg" alt="mex mascot" width="80"> ``` ███╗ ███╗███████╗██╗ ██╗ ████╗ ████║██╔════╝╚██╗██╔╝ ██╔████╔██║█████╗ ╚███╔╝ ██║╚██╔╝██║██╔══╝ ██╔██╗ ██║ ╚═╝ ██║███████╗██╔╝ ██╗ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ``` **mex** [](https://github.com/theDakshJaitly/mex/actions/workflows/ci.yml) [](LICENSE) [](https://www.npmjs.com/package/promexeus) </div> --- AI agents forget everything between sessions. mex gives them permanent, navigable project memory. Every session starts cold: - The agent has **no idea** what it built yesterday - It forgets the conventions you agreed on - It doesn't know what broke last week Developers compensate by stuffing everything into CLAUDE.md — but that floods the context window, burns tokens, and degrades attention. Meanwhile, the project changes and nobody updates the docs. The agent's understanding drifts from reality. mex is a structured markdown scaffold with a CLI that keeps it honest. The scaffold gives agents persistent project knowledge through navigable files — architecture, conventions, decisions, patterns. The CLI detects when those files drift from the actual codebase, and targets AI to fix only what's broken. The scaffold grows automatically — after every task, the agent updates project state and creates patterns from real work. Works with any stack — JavaScript, Python, Go, Rust, and more. ## Star History [](https://star-history.com/#theDakshJaitly/mex&Timeline) ## Install The npm package is named `promexeus` (our social handle — `mex` was taken on npm). The CLI command is `mex`. ```bash npx promexeus setup ``` That's it. The setup command creates the `.mex/` scaff
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.