Long-running tasks
Use Goals to manage complex work with continuous planning, execution and verification.

Mcode is an AI coding workbench built for long-running work: desktop app, browser UI and terminal agent in one. Sign in with Z.ai / BigModel or bring your own models.
Latest v3.15.4 · Oct 20, 2026
Capabilities
From understanding legacy monoliths to shipping real-time features, Mcode works through real engineering tasks with you.
Use Goals to manage complex work with continuous planning, execution and verification.
Scan a QR code on your phone, or start and steer Mcode from WeChat, Feishu or Telegram.
Tuned for GLM across reasoning, coding and multi-agent collaboration, with support for your own OpenAI-compatible gateways.
Install with one command and run mcode --web on a server. Password sign-in and systemd units included.
All telemetry and third-party uploads are off by default. Feedback and logs stay on your machine.
Mcode checks mcode.hjh.im for new versions, downloads in the background and installs on restart.
Models
Mcode keeps Z.ai and BigModel sign-in so you can use your GLM Coding Plan, or configure a personal provider without signing in.
Sign in with a Z.ai account and use your GLM Coding Plan quota.
View Z.ai plansSign in with a Zhipu BigModel account and use GLM models on your plan.
View BigModel plansConfigure OpenAI-compatible gateways, Anthropic, OpenRouter and more, and start working right away.
Learn morePlan prices and benefits are defined by Z.ai / BigModel. Mcode is not affiliated with Z.ai or Zhipu AI.
Download
Mcode installers for every platform · Version v3.15.4 · Released Oct 20, 2026
Requires Node.js 24+. The installer verifies SHA-256; run it again to upgrade.
curl -fsSL https://mcode.hjh.im/install.sh | shMcode is a rebranded build of the open-source ZCode project (Apache-2.0) with the same features plus privacy and headless-Linux improvements. It is an unofficial community edition and is not affiliated with Z.ai or Zhipu AI.
The desktop app periodically reads the update manifests (latest*.yml) under https://mcode.hjh.im/download/latest/. Windows and Linux download in-app and install on restart; unsigned macOS builds open this site's download page so you can replace the app with the new DMG.
Open System Settings → Privacy & Security and click “Open Anyway”. If it still says damaged, run sudo xattr -rd com.apple.quarantine /Applications/Mcode.app.
Yes. Add a personal model provider (such as an OpenAI-compatible gateway) in Settings and Mcode no longer forces the sign-in page.
Choose “More info → Run anyway”.