A control surface for coding agents that work inside a Zerops project's zcp container.
A hard fork of T3 Code (MIT) from upstream commit
f94a0d646ed78a4788e4af6417f74202a628a5e9 (tag upstream-base-2026-08-28); upstream is never
merged or rebased onto. Upstream's own README is kept unmodified at
docs/upstream-README.md; their LICENSE and copyright notice are
untouched, as MIT requires.
A Mate is a coding environment in a Zerops project: its code, its coding agents and their
durable work. The Mate server runs inside the project's zcp container, next to the code, and
drives the agent CLIs installed there (Claude, Codex, Cursor, Grok, OpenCode, Antigravity) with
zcp's zerops_* MCP tools attached: deploy, logs, import, scale, env, subdomain… That toolset is
what makes this different from a generic agent GUI. File operations are local, and work goes on
after you close your laptop. People sign in to the hosted web client with their Zerops account.
HQ, one shared service, holds the applications, repositories, changes and releases the Mates
work on.
hosted web client (mate.zerops.io) zcp container of a Zerops project
┌───────────────────────────┐ ┌─────────────────────────────────────┐
│ conversations, approvals, │◄─────────────►│ Mate server, behind nginx at /mate/ │
│ diffs, terminal, Board │ WebSocket │ runs the agent CLIs with zcp's MCP │
│ Zerops sign-in │ │ tools; /var/www, git, terminal │
└─────────────┬─────────────┘ └──────────────────┬──────────────────┘
│ │
└─────────────────────► HQ ◄─────────────────────┘
applications, repositories, changes, releases
- Sign-in is a Zerops identity, not a pairing code. A person signs in with their Zerops
account; HQ issues the session and a single-use ticket that admits the browser to a Mate. The
Mate server has no door of its own and keeps no member list. Design:
zeropsio/mate-hq:docs/architecture/identity-and-access.md; the Mate's side:zeropsio/zcp:docs/spec-mate.md§3.13. - zcp installs and keeps the server. Where a project turns Mate on, zcp tracks the latest stable
GitHub release, refuses one it cannot drive and supervises the server as
zerops@mate; nginx proxies its API and WebSocket at/mate/. The container serves no web client: the web client is hosted separately at https://mate.zerops.io. Delivery:zeropsio/zcp:docs/spec-mate.md§2. - HQ is private (
zeropsio/mate-hq). Its wire iszeropsio/mate-hq:spec/protocol.md. - The
zerops_*MCP toolset lives in zcp, not here: Zerops Mate is the client and the harness around it.
Server releases are published on GitHub. Each carries
the zerops-mate server tarball, its SHA256SUMS and stable.json, the manifest zcp reads to
choose the version to run. Installing the tarball links the executable as mate. Zerops users do
not install it themselves: zcp owns the installation. The hosted web client is released by
web-v* tags.
Nothing is published to npm under the zerops-mate name, and no desktop or mobile client is
released; package-manager builds with the upstream T3 Code name are not Zerops Mate releases.
Runbook: docs/operations/release-and-deploy.md.
The code started as T3 Code. Two wire-protocol packages are imported unchanged and the provider
drivers are ported behind our own interface; all other code is ours, the Zerops product in its own
zones. The zone map (imported, ported, owned core, owned product) is
docs/internals/zerops/fork.md §3.
docs/engineering-rules.md: the rules every change follows, shared with zcp and HQ.AGENTS.md: the knowledge map: where design, rules, measured facts and tests each live.docs/internals/zerops/fork.md: the fork rules: the freeze, the zones, product constraints, names and upstream rules.zeropsio/zcp:docs/spec-mate.md: the zcp↔Mate seam: the envelope on the wire, delivery, trust and credentials, git and agent sign-in; §2.8 is the contract.docs/internals/zerops/verified.md: platform assumptions and how to re-check them.- Private
zeropsio/mate-hq:docs/architecture/README.md: conceptual architecture. Public product contracts in this repository and the zcp spec remain self-contained.
Not a release: docs/operations/release-and-deploy.md,
"Unreleased server build in a running container".