zai-org/ZCode

Z.ai's coding agent harness. Powerful, intelligent, extensible.

What it solves

ZCode provides a unified AI programming workbench that bridges the gap between different development environments. It allows developers to interact with AI-powered coding tools through a desktop application, a web-based interface, or a command-line terminal, ensuring a consistent experience regardless of how you prefer to work.

How it works

The project acts as a central hub that manages the client, backend services, and agent runtime. It uses a modular architecture where the core logic is shared across the desktop app (built with Electron), the web interface, and the terminal-based CLI. Developers can use the zcode command to launch a terminal user interface (TUI) for interactive tasks or start a web server to access the workbench through a browser, with support for remote project connections via SSH or WSL.

Who it’s for

ZCode is designed for developers who want a flexible, multi-platform AI coding assistant. It is particularly useful for those who need to switch between local desktop environments, remote servers, and web-based workflows while maintaining a shared set of AI tools and configurations.

Highlights

  • Multi-interface support: Access the same AI capabilities via Desktop, Web, or Terminal (TUI).
  • Flexible deployment: Run locally or connect to remote workspaces via SSH/WSL.
  • Extensible architecture: Supports custom UI plugins to enhance functionality.
  • Unified CLI: A single zcode command handles TUI, web server startup, and agent operations.
  • Developer-friendly: Includes built-in tools for batch evaluation, agent tracking, and custom provider configurations.

Related

  • Project
  • Project
  • Project
  • Project
  • Project