mmx gives your coding agent a project Brain: persistent knowledge it can read while working and update as decisions settle. Connect Claude Code or Codex to a Cloud or local Brain with one setup command.
Requires Node.js 22+ and macOS or Linux.
npm install -g @mindmux/cliOr with pnpm:
pnpm add -g @mindmux/cliSee installation options for source installation and troubleshooting.
Inside the project you want to connect, run:
cd /path/to/your/project
mmx setupUse the arrow keys and Enter to choose your agent, Workspace and Project, or create a new Project. Setup handles browser login, project MCP configuration, instructions and hooks, then checks the connection.
Restart your agent and approve its trust prompts. In Codex, also review the installed hooks with /hooks. You can then work as usual: the agent receives relevant Brain context and is guided to save confirmed decisions. You do not need to mention Brain in every request.
Want a local Brain without Cloud login? Run mmx setup --local instead.
| Command | Purpose |
|---|---|
mmx |
Open the interactive menu |
mmx status --online |
Check the connection |
mmx update |
Upgrade the CLI and refresh managed integrations |
mmx doctor --fix |
Diagnose and repair setup |
mmx switch |
Choose another Brain |
mmx pause / mmx resume |
Manually pause/resume automatic memory for testing |
mmx --help |
Show command help |
mmx --skill |
Print the portable Agent Skill for using this CLI |
Run mmx update --help for upgrade instructions, including agent automation and manual npm/pnpm upgrades. Restart affected agents after an update. See upgrade details.
To start setup again, mmx clean resets local integration, binding, local Brain data and CLI login after confirmation. Cloud data is kept. Use mmx clean --keep-login to stay signed in. See cleanup details.
- Installation — npm, pnpm and requirements.
- Setup and maintenance — agent trust, upgrades, repair and cleanup.
- Brain commands — query, write and index operations.
- Agent-assisted installation — non-interactive setup for agents.
- Cloud login — authentication and binding.
- Agent behavior — hooks, memory reviews and limits.
- Machine interface — command schemas and structured errors.
- Development — tests and verification.
Apache-2.0. See LICENSE.