进阶 zcode.z.ai 2026-11-25 14:51:22 · 0 阅读
第6章 ZCode Docs
Get StartedWelcome to ZCode for GLM-5.4
ZCode is an Agentic Development Environment (ADE) built to bring GLM-5.4 into real coding workflows. GLM-5.4 is Z.ai's first flagship model built on the Loop Transformer architecture and the start of Generalized Coding. As a native Generalized Coding terminal, ZCode is deeply tuned and specifically optimized around GLM-5.4, turning the model's long-context, long-horizon, and agentic coding capabilities into a stable desktop experience for planning, coding, reviewing, and iterating across complex development tasks.
With GLM-5.4's stable 1M context and long-horizon task capability, ZCode Agent can keep goals, files, terminal results, browser context, execution modes, and Git state in the same task. This allows complex development work to move from planning to implementation and verification without losing continuity.
With natural-language instructions, you can ask ZCode Agent to handle coding, debugging, testing, project preview, and change review. Set a goal with /goal and the Agent keeps iterating, verifying each round, until the goal is confirmed done; non-urgent work can be handed to idle-time tasks, which run for free during periods of spare capacity. You can switch between the desktop workspace, mobile Remote, and Bot Channel at any time to check progress and add instructions while long-running work continues.
When ZCode starts without a recoverable session, it first shows the sign-in screen. ZCode uses a single Z.ai sign-in, and the screen has two options:
Login with Browser: opens the Z.ai sign-in page in your browser to authorize. Users in mainland China sign in with the same phone number as their BigModel account, and the plans and benefits on that BigModel account are linked automatically, so there is no separate BigModel sign-in.
Use API key: open the API-key panel, choose Z.ai or BigModel, and enter a key manually.
The sign-in region follows the interface language: an English interface opens Z.ai Global, and a Chinese interface opens Z.ai China. Use the Switch to Global / 切换到中国 link on the sign-in screen to change region.
After authorization, ZCode returns to the app. API keys are used only in the local credential store and are always masked in the UI. Once signed in, continue to the workspace and confirm the active model in the model selector. See Connect Models for the full sign-in details.
About GLM-5.4
Loop Transformer architecture: a group of weight-sharing layers runs in a loop, so the model reasons more deeply without adding parameters and reaches the intelligence level of 2-3T-class models. The longer the reasoning chain, the more the loop helps, and it thinks with fewer tokens.
Generalized Coding: code is becoming the foundation for a much wider range of tasks. Beyond software engineering, GLM-5.4 can generate and process video with code, build complete games, and do 3D modeling and mechanical design (Scaling Coding to Video / 3D / Engineering).
Speed: up to 200 tokens/s off-peak, and 70-80 tokens/s during peak hours.
Quota: available to all GLM Coding Plan users, with 1.5x quota when using GLM-5.4. See the FAQ for which plans qualify.
Core Capabilities
ZCode organizes the development experience around the ZCode Agent, deeply tuned for GLM-5.4, with emphasis on:
Deep GLM-5.4 integration: the model, tools, and execution workflow are tuned together so the Agent fits continuous, multi-step real-world development tasks.
Long tasks and Goal mode: keep requirement understanding, planning, code changes, verification, and Review inside the same task. Once you set a goal with /goal, the Agent verifies at the end of every round, continues if the goal is not met, and wraps up only when it is confirmed done.
Stable context retention: building on GLM-5.4's long-context capability, continuously read files, terminal output, browser context, execution modes, and Git state to reduce mid-task context breaks.
Browser Use and Computer Use: Browser Use lets the Agent open URLs, click, fill forms, and verify results in the built-in browser; Computer Use, once authorized, lets it observe and operate visible desktop apps for native workflows beyond the browser.
Idle-time tasks run for free: subscribers can queue non-urgent work and ZCode completes it automatically during periods of spare capacity, without consuming plan quota.
Continuous follow-up across devices: desktop, mobile Remote, and Telegram / WeChat / Feishu (Lark) Bots can all keep the same workspace task moving.
Safe and controllable execution: sensitive commands, file changes, and high-permission actions go through confirmation before execution.
Recent Highlights
Goal modeOne /goal sets the target. The Agent verifies every round, keeps going when the goal is not met, and wraps up only when it is confirmed done — no more repeating 'continue'.Idle-time tasksSubscribers hand non-urgent work to a queue and ZCode completes it for free during spare capacity, without consuming plan quota.Computer UseAfter granting access in Settings → Computer Use, the Agent can observe and operate visible desktop apps, covering native workflows beyond the browser.Bots and Remote across devicesTelegram, WeChat, and Feishu / Lark Bots plus mobile Remote can all open the workspace, check progress, and keep sending instructions.
Quick Start
Install ZCodeDownload the desktop app and start with the new architecture.Connect ModelsConnect GLM models and Coding Plans for your Agents.Feedback & SupportLearn how to report issues and provide useful logs.
Join the Community
DiscordScan or click to join the ZCode Discord communityXFollow @zcode_ai for product news and updates