ThinkRail vs ZCode: A Worktree IDE Built Around Pi vs Z.ai's GLM-First Agentic Development Environment
ThinkRail
Open-source agentic IDE from JetBrains InnovationHub that runs the pi coding agent
ZCode
Agent-first development environment with GLM-5.3 and multi-agent collaboration
Verdicts by Task
The ThinkRail site says every workspace is a real git worktree with its own branch and working directory, with multiple concurrent sessions per workspace and independent model selection.
ZCode's v3.15.1 changelog mentions a fix for multiple workspaces launching at once and per-sub-agent model selection, and the pages we read do not mention worktrees, which is an absence on those pages only. We tested neither.
zcode.z.ai lists Goals for long-running tasks and bot control from WeChat, Feishu or Telegram; the changelog says remote sessions keep running when the local connection drops (v3.16.2).
The ThinkRail pages we read describe no chat-app control. We tested neither.
The site describes a SPEC.md graph of connected specification files that agents read and maintain using dedicated tools.
The pages we read for ZCode describe no equivalent, which is an absence on those pages only.
zcode.z.ai promotes deep GLM-5.3 integration, and the Z.ai docs walk through entering a GLM Coding Plan key in ZCode's Model Providers settings.
The ThinkRail pages we read do not name the GLM Coding Plan; ThinkRail takes providers from your pi setup and, since v0.3.1, OpenAI-compatible model servers.
ThinkRail's repository is Apache-2.0 under JetBrains InnovationHub; the ZCode pages we read state no licence.
Scope is the pages we read; ZCode may publish terms elsewhere.
Feature Comparison
| Dimension | ThinkRail | ZCode |
|---|---|---|
| AI-native | AI-Native | AI-Native |
| What it is | Site headline: "The agentic IDE that gets better every time you use it." README: "Vibe code with pi in a lightweight, real IDE that customises itself around the way you work". An Apache-2.0 JetBrains InnovationHub project. | Z.ai docs: "ZCode is a full-featured Agentic Development Environment (ADE) designed for long-horizon tasks." |
| Engine under the hood | Architecture notes: "The product is built around the `pi` agent, run in-process (`createAgentSession`)." The README says ThinkRail reads your existing pi setup from ~/.pi/agent. | Z.ai docs: ZCode includes a "proprietary ZCode Agent, multi-framework compatibility, bot integration, and mobile remote control". |
| Licence and community | Apache License 2.0; the repo showed 7.8k stars on 2026-11-06. | The zcode.z.ai page, the Z.ai ZCode docs and the changelog we read state no licence. |
| Platforms | The site lists macOS (Apple Silicon), Windows (x64) and Linux (Ubuntu 24.04+, x64 and ARM64); the README also lists macOS 14+ on Intel. | zcode.z.ai offers v3.17.2 for macOS (Apple Silicon and Intel), Windows (64-bit and ARM64) and Linux (x64 and ARM64, in beta). |
| Parallel work | Site: "Every workspace is a real `git worktree`", with its own branch and cwd, and multiple concurrent sessions per workspace with independent model selection. | zcode.z.ai lists Goals for long-running tasks. Changelog: v3.15.1 lets workflows set a model for each sub-agent and fixes slowdowns when multiple workspaces launch at once. |
| Models and providers | README: reads provider configuration from your pi setup; MCP servers come from your pi configuration. Release notes: v0.3.1 adds OpenAI-compatible model server connections. | "Deep GLM-5.3 integration", with GLM-5.3-Flash built in for multimodal tasks (zcode.z.ai). Model Providers settings take a Z.ai API key (or Use Subscription) and show Z.ai's own OpenAI and Anthropic base URLs (docs.z.ai/devpack/tool/zcode). Changelog v3.17.2 adds model configuration options including Kimi K3.1 Pro and MiniMax M3.1 Flash. |
| Remote control | The pages we read describe no chat-app bot control. The site calls its UI client mobile-first and able to dial any host, but we read no phone-control feature. | zcode.z.ai lists bot control from WeChat, Feishu or Telegram. Changelog: v3.16.2 keeps remote sessions running when the local connection drops. |
| Permissions and containment | README: ThinkRail prompts before non-read-only MCP operations and lets you approve repository-defined servers before activation. Architecture notes: the agent runs in-process with "no crash isolation". | Changelog entries we pulled: v3.15.1 updates autonomous mode to ask before risky commands; v3.17.2 runs scripts in custom commands only after permission confirmation. |
| Release stage | v0.3.1 (Nov 1, 2026) is the latest stable release; v0.4.0 nightly pre-releases run through Nov 5. | The download page offers v3.17.2, released Nov 3, 2026; the changelog also lists v3.16.3 (Oct 23), v3.16.2 (Oct 20) and v3.15.1 (Oct 12). |
| Software and plan cost | The ThinkRail site shows no price. Models are paid through whichever provider you connect. | zcode.z.ai lists GLM Coding Lite at $12.6/month, Pro at $56/month and Max at $117.6/month; the Z.ai docs say "Starting at just 18 USD per month". The pages we read state no separate price for the app. |
| Telemetry and data | README: basic usage events (launches, chats, connections) are collected with a random installation ID; code, credentials and account identity are excluded; error reports are always transmitted. | The pages we read state no telemetry terms. |
| Published security advisories (pages read) | The repository advisories page says "There aren't any published security advisories". | The pages we read show no advisory list. The zcode.z.ai navigation links "Report a vulnerability". |
Both are agent-first desktop environments. The difference is the engine and the unit of work: ThinkRail's is the git worktree, ZCode's is the Goal.
ZCode's docs name a "proprietary ZCode Agent"; ThinkRail runs pi in-process. The pages we read describe neither as built on the other.
ThinkRail's code is open to audit; ZCode's licence is not stated on the pages read.
Similar desktop coverage; ZCode labels Linux beta.
ThinkRail makes the worktree the unit of the whole interface; ZCode makes the Goal the unit.
ThinkRail takes its providers from your pi setup or a JetBrains AI sign-in; ZCode is tuned to GLM, and the docs we read show only Z.ai's own key and endpoints, though the v3.17.2 changelog adds Kimi and MiniMax model options. We state no provider count for either.
ZCode ships chat-app steering; ThinkRail's pages show none.
Both document prompts, not a sandbox, on the pages we read. Run either in a VM or container for untrusted code.
ThinkRail is a 0.3 stable with nightlies beside it; ZCode ships on a 3.x line several times a month. Version numbers are not a quality measure.
ThinkRail costs your provider bill; ZCode is sold alongside GLM Coding Plan credits.
One states what it collects; the other says nothing on the pages read. A vendor statement we did not test.
An empty list is not evidence of safety for a 0.3 project, and we found no public list for ZCode.
Still deciding between these two?
Choosing is the easy part. Getting it running inside your business, on your data, with your team using it, is the work. We do both.
The conversation runs on Gnosari, one of the tools in this directory. A real conversation, not a sales script.