Repository navigation
Install with npm i -g mex-agent and run mex in your repo. Use Node.js 22.17 or newer.
What's new
- Setup reads your repo for free. It finds repo commands and code facts, builds a code map, and asks a few questions when it needs your help.
- Optional deep analysis learns rules from pull request reviews, past fixes, and contributor docs. It uses your Claude Code or Codex plan only after you approve it. Use
mex learn --reviewto see the rules. - Stop checks can send your agent back once for a missed CI step, an untested change, a hand-edited generated file, or the wrong lockfile.
- MEX adds a small set of agent defaults about keeping changes focused and following the repo's conventions. Run
mex config set agent.defaults offto remove them. - A new code map engine reads code structure and helps MEX point agents to relevant definitions and callers.
Upgrading from MEX 0.8
The 0.9 workflow uses checked notes in place of the wiki. It drops the Hub, wiki commands, and the Inbox and Relay skills. Your existing human-written docs stay available.
Update the CLI and run mex in the old repo. Run mex upgrade to preview the import and cleanup, then use the exact apply command it prints. Review and merge the local upgrade branch when your team is ready. Applying pushes nothing.
Known limits
- Learned rules mostly reach the agent as text. In some cases a rule can pause an edit.
- This release supports Claude Code and Codex. Full support for other agents comes in MEX 0.9.0.
- On Windows on Arm, the code map uses a slower built-in engine.
Going back to 0.8.5
Run mex uninstall before replacing the CLI, so the current version can remove the hooks that point to it. Then run npm i -g mex-agent@0.8.5.
Packages were built from 0c998ca.