# Zaivern Code

> Rust-native cockpit that runs and coordinates multiple AI coding agent CLIs such as Claude Code, Codex and Gemini CLI in one window.

Zaivern Code is an open-source, Rust-native AI agent cockpit and code editor that drives coding agent CLIs a developer has already installed, including Claude Code, Codex and Gemini CLI. It tiles several agents in one window, shows each agent's state, and can coordinate which files or line ranges each agent may edit. It runs on macOS, Linux and Windows and is released under Apache-2.0. It includes no AI model or subscription of its own.

## What It Is

Zaivern Code is a desktop cockpit for running multiple coding agents in parallel. Users launch it with `zai .` in a project folder, click to add an agent from the CLIs they have installed, and send tasks to it. The site lists a built-in catalog of 29 CLI agents, while the README cites 33 launch presets plus 6 agents drivable over ACP. A lightweight built-in editor is included for reviewing code and agent changes.

## Coordinating agents

Agents tile side by side with per-agent state such as thinking, editing, running or waiting. Stalls and unexpected exits are reported as notifications. One instruction can be broadcast to every running agent, or sent to a single agent. Approval-required mode is the default, and auto-YES is an opt-in switch per agent or session that can be reverted to approval mode.

## Conflict coordination

An optional `zai czero init` step installs a line-range ledger and git hooks that refuse overlapping writes before they reach merge time. The project's own benchmark reports 0 of 64 merges conflicting in a synthetic 64-agent run, achieved by refusing some writes. The README states that semantic conflicts are not detected and that enforcement works only where git can enforce it.

## Team runs, context and remote control

`zai team run SPEC.md` derives a plan from a SPEC using a deterministic planner, builds a task graph and drives tasks through implement, validate and review. Validation commands are risk-classified and some require approval. A Context Engine returns file structure instead of full contents to reduce token use. A phone remote lets users check progress, send instructions and approve actions, and the UI is available in six languages.

## Setup path

Install with a one-line shell script on macOS or Linux, or a PowerShell script on Windows, or download binaries from releases or build from source with cargo. At least one supported coding CLI must already be installed and signed in.

## Features
- Parallel multi-agent cockpit with per-agent state
- Line-range ownership enforced by git hooks (optional conflict coordination)
- Opt-in auto-YES approval per agent with approval mode as default
- Broadcast and targeted instructions
- Stall and exit detection with notifications
- Phone remote for status, instructions and approvals
- Voice input
- Built-in editor with LSP and Git integration
- Context Engine for reduced token usage
- AI team runs from a SPEC with task graph and validation
- Plugin support
- UI in six languages
- Single native binary

## Integrations
Claude Code, Codex, Gemini CLI, Cursor Agent, GitHub Copilot CLI, Aider, Grok, Tailscale, GitHub, ChatGPT (experimental MCP task bridge)

## Platforms
WINDOWS, MACOS, LINUX, WEB, API, CLI

## Pricing
Open Source

## Version
v0.24.9

## Links
- Website: https://zaivern.com
- Documentation: https://github.com/tacyan/zaivern-code/blob/main/docs/README.md
- Repository: https://github.com/tacyan/zaivern-code
- EveryDev.ai: https://www.everydev.ai/tools/zaivern-code
