Skip to content
vacterroPublic

About

Windows operator workbench for running many AI coding agents across many projects with SAIPEN continuation, scheduling, workers, and routing.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

296 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZAICODE logo

ZAICODE

One control room. Many projects. Autonomous AI development.

Windows-first multi-agent coding workspace, orchestration console and SAIPEN operator interface.

Windows Active development Apache-2.0

Install · Features · AI Director · Build · Community

ZAICODE is an independent, Windows-first operator workbench derived from ZCode. It brings multiple AI coding agents, projects, subscription CLI workers, model routing, schedules and verification workflows into one desktop interface.

Rather than treating each AI conversation as an isolated chat, ZAICODE is designed around persistent project work: define a goal, dispatch agents, inspect tool activity and evidence, recover interrupted work, and review results. SAIPEN supplies the project execution protocol.

The project is under active development and used in a real multi-project workflow. The first tagged snapshot was 0.0.1; development builds may include newer or experimental features.

Screenshots

Multi-project command center

ZAICODE main workspace with live agent execution and SAIPEN project state

Live agent activity, project navigation, phase progress, ticket board and SAIPEN event log in one workspace.

SAIHOME

SAIHOME operational dashboard

Project and agent activity, provider limits, scheduler, routing, queues and operational metrics.

Goal-driven development

ZAICODE goal and handoff composer

Start a project goal or submit a handoff from the main workspace.

Focused workspaces and AI Director

Focused agent Compact workspace AI Director
Focused agent execution and tool output Compact project and agent workspace AI Director Live Console and campaign settings

Real development-build captures from December 2, 2026. Click any screenshot for its original resolution. Runtime states in these captures, including blocked campaigns, are illustrative snapshots, not claims of successful completion.

Core capabilities

Capability Purpose
Multi-project workspace Organize projects into groups and track their main and helper sessions, active jobs and execution states.
SAIPEN integration Inspect ticket, phase, next action, blockers, board, event log and verification evidence alongside the agent conversation.
AI Director Configure independent audit and rework campaigns with selected projects, model, concurrency and review triggers.
SAIHOME Monitor projects, agents, queues, provider limits, activity, token usage, routing and recent events in one dashboard.
Model routing Select available model providers, configured accounts and reasoning settings; inspect provider-reported limits.
Workers and scheduling Run external coding CLIs and schedule eligible work according to the operator's execution settings.
Recovery Resume interrupted sessions and inspect recovery status rather than treating an interruption as completion.
Operator interface Compact, golden, retro-inspired UI with dense project controls, split views, detachable windows and a pixel-crisp visual style.

AI Director

The Director is intended to provide a separate quality-control loop above the execution agents. Configure a supervising model, watched projects, campaign policy, up to four concurrent audits in the current UI, optional request and cost limits, and review triggers. The Live Console exposes campaign status, handoffs, audits, conversations, tools, evidence and history.

The intended workflow is execute → verify → independently audit → rework findings → verify again. A blocked or unconfirmed campaign is not a successful one. Director features remain under active development; the console can report blocked, restored or waiting states, and actual execution depends on the configured host, models and project state.

SAIHOME and operator workflow

SAIHOME brings together the project list, agent and queue status, quota meters, activity history, routing health, scheduler and attention items. The main workspace exposes the agent conversation and SAIPEN state side by side; narrow windows support focused sessions and a dedicated Director view.

Typical workflow:

  1. Open a project and select its MAIN session.
  2. Submit a goal or handoff, configure the model and execution settings.
  3. Inspect agent actions, phase progress, logs and evidence.
  4. Use the Director or a helper session to review the work and investigate findings.
  5. Continue or recover eligible sessions as needed.

ZAICODE is intended for supervised automation: agents can execute commands and modify files with the permissions of their execution environment. Verify important changes, maintain backups, and configure execution and provider limits appropriately.

Install in one click

  1. Download ZAICODE-Setup.exe.
  2. Double-click it and press INSTALL.

That is all. Setup brings what the machine lacks (Git, Node.js, Python, as private copies: no administrator rights), fetches ZAICODE, SAIPEN and SAIMAIL from GitHub, builds the app on the machine and puts a ZAICODE shortcut on the desktop. The first run takes 15-30 minutes; the window shows every step.

Model routing is handled by the bundled 9router integration, which can use available free-tier sources and optionally configured subscription CLIs. Authentication and availability depend on each provider and its usage policies; the integration does not alter provider-side limits.

One whole, four parts. The workspace (launcher, installer), the app, SAIPEN and SAIMAIL are four repositories. Each updates on its own: Settings -> ZAICODE -> Updates shows every part, updates it by hand or by itself (checked a few minutes after the start and every six hours). A new app build is prepared while ZAICODE runs and starts with the next start; your own edits in a clone are never overwritten. From a terminal: install\Update-ZAICODE.ps1 [-Component saipen] [-Check]. Autotroubleshoot: install\Doctor.cmd. Details: docs/ZAICODE_INSTALL.md.

Additional workflow details

  • Projects with a MAIN session. Each project has one MAIN session (START, /goal cc all) and helper sessions (subSaipens: WIKI, TEST, AUDIT, …). The default sidebar view shows the project row as its MAIN; ▶ continues MAIN instead of opening another session. CONTINUE ALL, DONE and CLEAR ALL DONE sweep every project; a session cut off mid-turn shows INTERRUPTED, never DONE.
  • Crash safety. Sessions a dead process cut off and goals still active continue by themselves after a restart; running workers start again. Agents inside ZAICODE cannot kill ZAICODE by process name.
  • Workers. Subscription CLIs run in terminals docked to any edge of the window (or in their own snapping windows). First-run "Trust this folder?" questions are answered; a worker that hits its usage limit is reported and, by setting, closed or restarted after the reset.
  • Usage status. Optional informational meters for configured providers, accounts and pools, including usage status and provider-reported availability.
  • SCHEDULER. Operator-configured prompts can run on a schedule or when specified availability conditions are met. Work can be limited to selected sessions, idle projects or ordered project groups. Scheduling respects the existing project execution controls; it does not change provider-side quotas.
  • Routing. A bundled 9router (MIT) gives zero-setup pools: SAIFREN (keyless free tiers) and SAIOPP (your subscriptions).
  • SAIHOME, timers, sounds, highlights. An operator home with statistics, FastPrompter-style timers and alarms, per-action sounds and a Win95 dark golden, pixel-crisp interface.

SAI Accounts is optional

ZAICODE configures and uses its own accounts on its own. If the SAI Accounts control plane happens to be installed on this machine, ZAICODE asks it for shared accounts belonging to the providers ZAICODE actually implements, and adds the ones it recognises — no setting, no import step. If the plane is absent, stopped, broken or uninstalled, nothing here changes. Nothing in this README requires anything else to be installed.

Four rules govern the optional federation:

  • Your accounts stay yours. A shared account is added alongside your own; it never replaces one, and its canonical id lives in a namespace that cannot collide with a ZAICODE provider id.
  • Merge only on proven identity. Two records collapse into one only when a stable identity locator proves they are the same account. A matching display name is never evidence; where identity cannot be proven, both records are shown separately.
  • Unavailable with a reason, never silently re-read. A shared account is read through the plane, which owns that identity. If the plane cannot answer, the account reports offline, auth_required or unavailable — it is never quietly re-read through a local path that belongs to a different account.
  • Local settings stay local. Which providers an account is bound to, and whether it is enabled here, are ZAICODE's own settings. Hiding or disabling an account in the shared registry is a global action and a separate concept.

The integration is read-only: the plane is asked for account metadata and nothing else, and no token, session cookie or credential blob is ever read, copied, exported or written. Available shared accounts depend on the installed control plane and supported providers.

Build

Requirements: Windows 10/11, Git, Node.js 24.14.0, pnpm 10.33.2 (mise.toml is the source of truth).

pnpm bootstrap
pnpm bundle:zaicode          # -> packages/desktop/dist/win-unpacked/ZAICODE.exe

The packaged app always starts in ZAICODE mode. While an older ZAICODE runs, the bundler stages the new build in packages/desktop/dist-next; the root launcher (branch master, tools/launcher) swaps it in on the next start. The crisp bitmap Verdana variant used by the UI is not part of this repository; without it the interface falls back to the system Verdana.

Checks: pnpm typecheck, pnpm lint, and the ZAICODE tests, for example node --import tsx --test test/zaicode*.test.ts from packages/ui.

Repository layout

The GitHub repository's default branch is master, containing the application source. The GitLab workspace mirror contains installer and launcher materials.

ZAICODE-owned code lives mostly in packages/ui/src/zaicode/, packages/shared/src/zaicode-*.ts, packages/services/src/zaicode/ and packages/desktop/src/main/zaicode*.ts. Original upstream documentation is retained for reference.

Upstream and license

ZAICODE is derived from ZCode by Z.ai and is distributed under the same Apache License 2.0; upstream notices are kept in NOTICE.md and THIRD-PARTY-NOTICES.md. Files were modified by the ZAICODE author. ZAICODE is an independent project, not affiliated with or endorsed by Z.ai. The original ZCode README is kept as README.zcode.md and README.en.md.


Project network

This repository is part of the broader SAIPEN / vacterro project ecosystem.

Author hub · SAIPEN HQ · SAIPEN Core · ZAICODE · FastPrompter · SAIPEN Community

For reproducible bugs and durable feature requests, use this repository's GitHub Issues. Use Discord for quick discussion, screenshots, and cross-project feedback.

About

Windows operator workbench for running many AI coding agents across many projects with SAIPEN continuation, scheduling, workers, and routing.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages