coa is a workbench for harness-independent agentic development. It has no model loop of its own — it drives a rented one and owns everything around it: the daemon that holds the sessions, the conversation record, the tool surface the model is given, the agents, and the account the work runs under. Change the backend and the way you work does not change with it.
Local-first and single-user. One long-lived daemon per project holds that project's sessions, at an
endpoint derived from the project's own path — so a client started anywhere inside the project finds
it with nothing to configure. A CLI and an Electron console are thin clients that talk to it over a
named pipe on Windows or a unix socket elsewhere. Everything it writes stays in the project's .coa/
directory, next to per-user files under ~/.coa/.
One seam, two shapes behind it. Claude runs through the Claude Agent SDK, which coa drives as a long-lived session and governs through the SDK's own hooks. DeepSeek, LongCat, OpenAI and OpenRouter run through a single OpenAI-compatible adapter: one HTTP path (request build, streaming, tool calls, pricing, credentials, model discovery) parameterized by a per-provider data record — base URL, default model, key variable, price table, reasoning mapping, usage shape. Adding another OpenAI-compatible API is another record, not another integration.
Tools, agents, the conversation record and the governance seam are coa's on every backend, so switching providers mid-project changes the model and nothing else.
- Sessions live in the daemon, not in the window. Reload the console mid-turn and it reattaches to the run in progress. Sending again on a live conversation queues the next turn rather than starting a second session. The console holds one window per project and switches between recent ones; a project already open is focused rather than opened a second time.
- Conversations persist as one append-only event log. The transcript you read and the history the model is resumed with are both read-time projections of that log, so nothing has to be written twice to stay consistent.
- Turns stream — output, reasoning, and tool calls as they happen. Stop or Esc interrupts the turn. A steer is queued and delivered at the next point in the turn where the model can legally receive it, and is recorded where the model actually received it.
- You set what needs asking. Every session carries a permission mode: read-only, ask before a write or a command (the default), auto-approve edits but still ask before commands, or ask nothing. A call that needs approval blocks in the daemon and raises a prompt in the console. The mode can be changed mid-session and applies from the next call on. The daemon decides and enforces it; the console only reflects the mode and lets you pick it.
- coa owns the tool surface: read, glob, grep, write, edit and shell, plus web search and fetch, plus subagent dispatch, agent search, and a message to another agent. Every call passes one gate before it runs, on either backend.
- Agents are files. A built-in starter set, plus anything in
~/.coa/agentsand the repo's.coa/agents; the console edits them. An agent can dispatch a child session, which keeps a link to its parent; it can search the registry for a specialist instead of being handed one; and it can message any agent in the same family tree, since the parent link records where a session came from rather than who it may talk to. A dispatch can ask for its own isolated checkout of the repo — opt-in, because most children only read — and an isolated checkout outlives the child that made it, since the moment it finishes is exactly when you want to look at what it did. - Skills and tool servers are a managed library. coa scans the machine for what is already installed, and you either link an entry by reference — a live pointer, re-read every time — or copy it into the project so it can be committed, with drift against the source checked on demand. A skill reaches the model as ordinary prompt material, so it works on every backend rather than only the one whose format it was written for.
- The account list stores pointers, never secrets. Any number of accounts per provider; the list
holds an environment-variable name, or the path to a key file coa wrote with owner-only permissions —
the one secret coa puts on disk, read only by the backend when a session starts and never shown back.
coa authmanages them from the terminal. For a Claude subscription the console can drive the login itself, signing each account into its own browser profile so the account you picked is the one that gets used. - The model list is yours. A per-provider list in
~/.coa/models.yaml, seeded from a shipped catalog and enriched by the provider's own live list; a failed live fetch degrades the list instead of emptying it. Reasoning effort is set per session wherever the model exposes it. - The composer knows the model. Attach an image or a text file where the model and the backend actually carry one — an unsupported attachment is refused with a reason, never quietly dropped — and a ring shows how much of the model's context window the session has spent, or an honest unknown where the window is not known.
- Spend is accounted, not capped. Every settled turn is priced from a per-model rate table and recorded against the account that ran it. coa imposes no ceiling of its own — a run ends when your plan's own limit ends it. Subscription work is modelled at API-equivalent rates, since none of it is billed per token.
- Changes are reconciled against the worktree after every tool call, so an edit made by a shell command reaches the record alongside the ones coa performed itself.
- Inspector reads from the terminal:
coa flags,coa timeline.
coa itself judges exactly one refusal: a session declaring itself finished while a blocking flag stands.
A permission mode refuses too, but that is your own standing choice being carried out — layered onto the
one per-tool check every call already passes, not a second gate. And every session ships a small fixed
sandbox: the coa binary is kept away from the shell tool, and the credential directories are read-denied.
Everything else surfaces and advises.
- Approvals are console-only. The terminal client streams a session but has no way to answer an approval, so a run started from the terminal blocks at the first call its mode asks about.
- The console's usage view is a mock surface — the layout is real, the numbers behind it are not yet wired to the ledger.
- Nothing is packaged for install. Building from source is the only way in.
ROADMAP.md tracks the rest.
Needs Node 22.20+ and pnpm 11+. On Windows the shell tool looks for Git Bash so the model's POSIX
one-liners work; without it, commands fall back to the platform shell (COA_BASH_SHELL forces a
specific shell binary on any platform).
pnpm install
pnpm build # bundles the workspace packages, including apps/cli/dist where the coa binary lives
pnpm typecheckDrive it from the terminal — one process serving, another sending:
node apps/cli/dist/bin.js serve
node apps/cli/dist/bin.js run "explain what this repo does"Or start the console, which starts the daemon itself (and attaches to one already running):
pnpm --filter @coa/desktop devElectron's runtime binary is not downloaded by default — install scripts are off unless a package is
listed in allowBuilds in pnpm-workspace.yaml, and electron is listed there as false because
typechecking and bundling do not need it. Set it to true and re-run pnpm install before the first
dev run.
docs/ARCHITECTURE.md— how the pieces fit together.ROADMAP.md— what is not built: everything open, and roughly when.docs/recipes/— task recipes, including pointing the OpenAI-compatible adapter at a local subscription bridge.
Pre-v1 and attended: it assumes you are sitting there watching the run.
Apache-2.0. See LICENSE.
Last reviewed: 2026-08-11