What Zentri is
Zentri is a self-hosted coordinator for teams that run many AI coding agents at once, such as Claude Code, Codex CLI, and OpenCode. It runs around unmodified agents. It does not replace them, and it does not run a model of its own for them.
When several agents work in one repository, two problems repeat. Two people start agents on the same ticket, and one of them throws the work away. Two agents edit the same file, and someone untangles the merge. Zentri stops both before they cost work, and it fails a pull request that slips past.
Every user brings their own agent credentials. Zentri never collects, proxies, stores, or resells model access or consumer subscription tokens.
What it does
Section titled “What it does”Zentri catches collisions at three points. The three catches page explains each one.
- Intent gateway.
zt start "add CSV export"compares the task with active, queued, and finished work before any agent runs. A duplicate offers to join the existing session instead. - File claims. The agent claims a file before it edits it. A second session that tries to edit the same file is refused, and the refusal names the holder.
- Merge check. A GitHub check fails a pull request whose edits were never claimed, that touches a file another session holds, or that duplicates other work.
git commit --no-verifycannot skip it.
Around those catches, Zentri also:
- Tells two sessions when their plans, files, or new public symbols overlap. See live overlap.
- Lets an agent ask a person a question instead of guessing, and records the decisions it makes. A high-risk decision waits for a lead. See questions and decisions.
- Lets people who never open a terminal ask for work and answer agents from Slack. See the Slack bot.
- Can route each task to a cheap or a frontier model when a project pays per token. See model routing.
- Runs each agent in an NVIDIA OpenShell sandbox with deny-by-default egress, when you choose the
openshelllauncher. See sandboxing.
Who it is for
Section titled “Who it is for”- Engineers who run several agents in parallel, each on its own branch, and want them to stay out of each other’s way.
- Leads who approve high-risk decisions and set project rules.
- Requesters, such as product managers, who ask for work and answer questions from Slack.
See roles and skill levels for what each role may do.
How the parts fit together
Section titled “How the parts fit together” engineers requesters GitHub zt CLI Slack bot merge check | | | +-------------------+------------------+ | HTTP and MCP v coordinator (zentri-server) ---- Postgres 16 + pgvector ^ | MCP tools, hooks, heartbeat | (session token) +-------------------+------------------+ | | local-dev launcher openshell launcher agent in tmux on your machine agent in an OpenShell sandbox (not sandboxed) (deny-by-default egress)| Part | What it is |
|---|---|
| Coordinator | zentri-server, a Go service with an HTTP API and an MCP endpoint at /mcp. It stores users, projects, intents, sessions, claims, questions, decisions, and a hash-chained audit log in Postgres 16 with pgvector. |
zt |
The CLI, built as bin/zentri with bin/zt as a symlink. You run zt login, zt start, zt done, and the rest. The same binary runs the MCP shim (zentri mcp) and the hooks inside each session. |
| Kit | Per-agent config that zt start writes into the session’s worktree for claude, codex, and opencode. It wires the agent to the MCP server and to a hook that claims each file before an edit. Any other agent gets only the git hooks. See agents. |
| Launcher | Where the agent runs. local-dev, the default, runs it in tmux on your machine. openshell runs it in a sandbox. |
| Merge check | A GitHub Action or a GitHub App that asks the coordinator about each pull request. See the GitHub check. |
| Slack bot | An optional Node service for people who work from Slack. |
What Zentri is not
Section titled “What Zentri is not”- It is not a model provider or a proxy. The agent talks to its own vendor with your credential. Zentri never sees that traffic.
- It is not a hosted service. You run the coordinator yourself.
- It does not review code. The merge check reads coordination state, not the diff’s content.
Status
Section titled “Status”Zentri is pre-alpha. Milestones M0 to M6 are built, and CI passes on main. The first release candidate, v0.1.0-rc.1, is not tagged yet. The roadmap in the repository, docs/plan/ROADMAP.md, marks each item as built, partial, or not started.
Limitations
Section titled “Limitations”- The
local-devlauncher is not sandboxed. The agent runs with your user’s permissions. - The Claude Code kit has run in Claude Code. The Codex and OpenCode kits are built but have not run in their agents.
- No real Claude Code, Codex, or OpenCode agent has run in an OpenShell sandbox. A stub agent has.
- The merge check supports GitHub only.
- The coordinator does not serve TLS. See production setup.
- Nothing is published yet: no release, installer site, or Homebrew cask. The install scripts are built and tested, but they wait for the first release. You build from source.
- The Slack bot has run only against a fake Slack.
- Offline intent matching catches the same ticket and near-identical wording, but no paraphrase. See intents and dedup.
Related pages
Section titled “Related pages”- Quickstart runs the coordinator and catches a duplicate on one machine.
- Production setup covers a team deployment.
- Concepts maps the ideas behind Zentri.
- Why the coordinator is not sandboxed explains the trust boundary.
- Compliance covers seats, API keys, and vendor terms.