Latest release: MathCode v0.4.0. Requires macOS (arm64) or glibc-based Linux (x86_64 with AVX2), plus the codex CLI for the default backend.
git clone https://github.com/math-ai-org/mathcode.git
cd mathcode
bash setup.sh
codex auth login
./run
setup.sh prepares the release checkout, downloads the bundled runtime, offers optional Lean/Mathlib installation, and installs a user-local mathcode launcher for new shells. Use --without-lean for a lightweight install, or --with-lean for the full toolchain. Try it with:
mathcode -p "prove that the square of an even number is even"
The agent works directly in the selected workspace, and only a successful strict Lean verification certifies a finished proof. A browser UI is available via ./run webui.