ThinkRail vs ZCode: A Worktree IDE Built Around Pi vs Z.ai's GLM-First Agentic Development Environment

Verdicts by Task

Several agents in parallel on separate branchesThinkRail wins

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.

Long-running goals steered from chat appsZCode wins

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.

Keeping project intent as a spec graph the agent maintainsThinkRail wins

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.

First-party use of a GLM Coding PlanZCode wins

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.

Auditing the code you runThinkRail wins

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

AI-native
ThinkRail:AI-Native
ZCode:AI-Native
What it is
ThinkRail: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.
ZCode:Z.ai docs: "ZCode is a full-featured Agentic Development Environment (ADE) designed for long-horizon tasks."

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.

Engine under the hood
ThinkRail: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.
ZCode:Z.ai docs: ZCode includes a "proprietary ZCode Agent, multi-framework compatibility, bot integration, and mobile remote control".

ZCode's docs name a "proprietary ZCode Agent"; ThinkRail runs pi in-process. The pages we read describe neither as built on the other.

Licence and community
ThinkRail:Apache License 2.0; the repo showed 7.8k stars on 2026-11-06.
ZCode:The zcode.z.ai page, the Z.ai ZCode docs and the changelog we read state no licence.

ThinkRail's code is open to audit; ZCode's licence is not stated on the pages read.

Platforms
ThinkRail: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: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).

Similar desktop coverage; ZCode labels Linux beta.

Parallel work
ThinkRail: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: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.

ThinkRail makes the worktree the unit of the whole interface; ZCode makes the Goal the unit.

Models and providers
ThinkRail: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.
ZCode:"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.

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.

Remote control
ThinkRail: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:zcode.z.ai lists bot control from WeChat, Feishu or Telegram. Changelog: v3.16.2 keeps remote sessions running when the local connection drops.

ZCode ships chat-app steering; ThinkRail's pages show none.

Permissions and containment
ThinkRail: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".
ZCode: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.

Both document prompts, not a sandbox, on the pages we read. Run either in a VM or container for untrusted code.

Release stage
ThinkRail:v0.3.1 (Nov 1, 2026) is the latest stable release; v0.4.0 nightly pre-releases run through Nov 5.
ZCode: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).

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.

Software and plan cost
ThinkRail:The ThinkRail site shows no price. Models are paid through whichever provider you connect.
ZCode: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.

ThinkRail costs your provider bill; ZCode is sold alongside GLM Coding Plan credits.

Telemetry and data
ThinkRail: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.
ZCode:The pages we read state no telemetry terms.

One states what it collects; the other says nothing on the pages read. A vendor statement we did not test.

Published security advisories (pages read)
ThinkRail:The repository advisories page says "There aren't any published security advisories".
ZCode:The pages we read show no advisory list. The zcode.z.ai navigation links "Report a vulnerability".

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.