# Cezar

> One cockpit for running many coding agents in parallel, on your laptop or a server

- Category: AI Coding / AI SDLC Automation
- Language: TypeScript
- Licence: MIT
- Repository: https://github.com/open-mercato/cezar
- Website: https://cezar.run
- Canonical page: https://ai-tldr.dev/tools/cezar/
- Updated: 2026-11-08

## In short

Cezar is an open-source orchestrator for coding agents. It sits in the AI SDLC Automation category of the AI Coding tools and is open-source, written in TypeScript and licensed MIT. To get started: open the cockpit in your repo.

## Overview

Cezar is an open-source orchestrator for coding agents. You type a task — or start from a GitHub issue — and Cezar runs it through the agent CLI you are already signed in to, in a fresh git worktree, while a browser cockpit streams every step, tool call, token count and reported cost. Several tasks run at once, each isolated in its own worktree; extra tasks wait in a queue. When a run finishes you read the diff, send notes back to the agent or open a draft pull request. Nothing merges on its own.

It drives the agents rather than replacing them. Cezar uses your own `claude`, `codex`, `copilot`, `cursor`, `agy` (Antigravity), `gemini`, `junie`, `kimi`, `omp`, `opencode` or `pi` login, so no API key is needed. Work is described as workflows: short YAML files that chain agent steps and shell checks — run the tests, and on failure retry the implement step with the error in view — with Markdown skills and a different agent per step if you want. You can run the same task two or three times and keep the best diff, or let an agent dispatch child tasks into their own worktrees that report back to the parent.

Cezar is designed to keep going while you are away. One command installs it on an Ubuntu VPS with HTTPS, a login and a system service, the cockpit is fully responsive for checking in from a phone, and Automations launch tasks on a schedule or from GitHub, Jira and Linear events. There is no database: everything is saved as plain files in `.ai/cezar/`. It is written in TypeScript, MIT licensed, and published on npm as `cezar-run`.

## What it does

- Runs Claude Code, Codex, GitHub Copilot CLI, Cursor Agent, Antigravity, Gemini CLI, Junie, Kimi Code, OMP, OpenCode and pi on your existing logins — no API key
- One git worktree per task, so agents work in parallel; extra tasks queue, and a parent task can dispatch up to four child tasks at a time
- YAML workflows that mix agent steps, Markdown skills and shell checks, with automatic retry when a check fails
- Variants: run a task ×2 or ×3 and pick the diff you want to keep
- Live view of agent text, tool calls, tokens and cost, plus a Usage & cost page per project
- Automations on a schedule or from GitHub, Jira and Linear events, and one-click runs on a GitHub issue
- One-command VPS install with HTTPS and login, a responsive phone UI, and plain-file storage in .ai/cezar/

## Getting started

You need Node 20+ and at least one agent CLI you are logged into. git and the gh CLI are optional.

1. Open the cockpit in your repo

   This starts the cockpit at http://localhost:4321 (or reuses one that is already running). Type a task, pick a workflow, then hit Start.

```bash
cd your-repo
npx cezar-run
```

2. Try it without an agent login

   Dry-run mode uses a built-in mock agent, so you can look around first.

```bash
CEZ_DRY_RUN=1 npx cezar-run
```

3. Run headless or scaffold the config

```bash
npx cezar-run run "add a --json flag to the export command"   # headless, no browser
npx cezar-run init                                            # scaffold .ai/cezar/
```

4. Write a workflow

   Workflows live in .ai/cezar/workflows/. This one implements the task with Codex, runs the tests, and retries the implement step up to twice if they fail. The built-in quick-task workflow needs no setup.

```yaml
name: fix-and-verify
steps:
  - id: implement
    prompt: "{{task}}"
    skill: project-conventions   # optional: a Markdown skill from .ai/skills
    runner: codex                # optional: which agent runs this step
  - id: verify
    command: "npm test"          # exit 0 = pass
    onFail: { retry: implement, max: 2 }
```

5. Keep it running on a server

   Sets up HTTPS, a login and a system service so you can reach the cockpit from anywhere, including your phone. There are guides for Ubuntu VPS and macOS + ngrok.

```bash
npx cezar-run server-install --platform ubuntu-vps
```

## When to use it

- Work through a backlog with several agents at once on one repository, without branch collisions
- Leave long or overnight agent runs on a VPS and review the diffs from your phone
- Compare two or three agent attempts at a tricky change and keep the best one
- Schedule routine work — dependency checks, release notes, a review on every new pull request — as automations

## Version history

- 2026-11-08 v0.19.0: Added Gemini CLI, Kimi Code, Antigravity and omp runners, HTML artifacts with an Assess Impact view for PRs and specs, and opt-in fallback to another provider or account when a task runs out of usage. Jira and Linear tokens moved to an encrypted vault (breaking).
