Cezar is an open source cockpit for coding agents, built by the Open Mercato team. You give it a repo and a task, it starts Claude Code or Codex in a fresh git worktree, and when the agent is done you get a branch and a pull request. One task, one branch, one PR, which is the way I work anyway. I started using it in August 2026, and three months later it has opened 165 pull requests across the Vimo Swim repos. This note is about the three ways I have run it, the problems each one brought, and what I would look at instead.
flowchart LR
S[Slack thread] --> V[Vimek]
V --> N["nginx<br/>TLS + basic auth"]
N --> C[Cezar]
C --> A["Claude Code or Codex<br/>in a git worktree"]
A --> PR[Pull request]
Stage one: the laptop
The first cockpit ran on my M1, started by a LaunchAgent at login, with an ngrok tunnel in front so I could open it from the phone and send a task from anywhere. It worked, and it taught me two things. A laptop sleeps, and a sleeping laptop kills a run halfway through. And a cockpit on a laptop belongs to one person; nobody else can send it work.
Stage two: a server for each company
In late August I set up the first always-on instance for MusicTech Lab, and in October a second one for Vimo Swim on its own small droplet. The install is one command and gives you nginx, a certificate, basic auth and a systemd unit. The quirks were all around nginx: the vhost template uses a directive the Ubuntu nginx does not know yet, attachments from Slack need a bigger body limit, and a password piped into htpasswd silently produces a hash that never matches.
The server changed what Cezar is for. Our Slack bot Vimek got its own API user and now launches runs over the HTTP API: "zleć cezarowi" in a thread, Approve, and a few minutes later the PR link and the cost land in the same thread. The first smoke test took 20 seconds and cost 59 cents.
| Repo | PRs opened | Merged |
|---|---|---|
| Website | 117 | 112 |
| Backend | 23 | 21 |
| Firmware | 20 | 20 |
| Vimek | 5 | 5 |
Stage three: my own model
The M5 has 128 GB of memory, enough to serve gpt-oss-120b through LM Studio with room left for work. LM Studio runs as an OpenAI-compatible server that loads the model on demand and unloads it when idle, so the laptop stays usable. Tailscale connects the droplet and the laptop, so nothing is public. OpenCode is the third runner in Cezar next to Claude Code and Codex, with gpt-oss-120b as the main model and gpt-oss-20b as the fast fallback. Zero cost per token, and the code never leaves the house.
What broke
Cezar keeps run state and plans in .ai/cezar inside the repo. Its own ignore file covers only part of it, so one run committed its plan into the website repo. Every repo needs .ai/ in its root .gitignore before the first run.
An agent box cannot run the app: it needs a Partner account, dev stores and a reserved tunnel domain, and the wrong config file pushes a tunnel URL onto a live app. Cezar could change the code, but never see it work.
On the free GitHub plan private repos have none, so an autonomous agent with my token could push to main. Nothing stopped it except the agent's own workflow.
The agents on the Vimo box push as me, and the Claude login on it was my MusicTech Lab account for weeks. Two companies, one laptop, one identity is a mess waiting to happen.
What I would look at instead
Cezar is not the only way to get a PR out of an agent. These are the options I compared on paper, not ran for weeks:
| Option | Runs where | Models | What you give up |
|---|---|---|---|
| Claude Code or Codex in a terminal | Your laptop | One vendor per tool | No queue, no phone, no Slack. What I did before |
| Hosted agents from the vendors (Codex in ChatGPT, Copilot coding agent) | Their cloud | Their models | Your repo and keys on their side, one vendor |
| Self-hosted open source agent (OpenHands and similar) | Your server | Any model with an API, local included | Its own agent loop instead of the CLI you already know |
| Own glue: Agent SDK, a queue, a worker | Your server | Any | You maintain it. This was our plan before Cezar and it was dropped |
| Cezar | Laptop or your server | Claude Code, Codex, OpenCode and others as runners | You run a box and the git rules around it |
Cezar won for one reason: it drives the same CLIs I use by hand, so a task from Slack and a task from my terminal produce the same kind of PR. The price is the box and everything around it.
Before the first autonomous run, decide three things and write them down: which account the agent pushes as, which branches it may push to, and where its state lives. Doing it after the 100th PR costs more.
What it took
A few evenings for the servers, many small fixes after. The lesson is that the agent is the easy part. The hard part is everything around it: who it pushes as, what it may push to, what it may read, and what it costs. I would set up the identity and the branch rules before the first run, not after the 100th PR.

Related notes
Testing a swim metronome with a Mac microphone
A tester heard Vimo Swim beep 33% slower than set. We fixed the firmware in an afternoon, then built one command that records the beeps with the Mac mic and checks the tempo to 1%.
Turning a horizontal swim clip into a vertical reel with ffmpeg
I reframed a 30-second underwater clip from 16:9 to 9:16 in three tries. The crop looked best until the end card, where the text no longer fit. Watch the whole clip before you pick a crop.



