covey

the covey terminal interface: four threads across two projects, each taking a message and working at the same time

dylandotfarm/covey

covey is a terminal for running agents in parallel across a fleet of machines. every thread gets its own git worktree and its own branch, so a dozen of them can work the same repository at the same time and never step on each other.

a thread takes a github issue, does the work, and opens the pull request itself. covey then watches that pull request: every checks verdict, every review and every comment comes back to the thread as a new message, so the agent keeps going until the thing merges. nothing to sit and watch.

one small daemon runs per machine, and the interface talks to as many machines as you want over tailscale. a thread can move between machines and pick up where it left off, with its memory intact. there's a web client for the phone, a desktop client, and even a little e-paper gadget you can talk to.

it's built on the claude agent sdk and is available on github, and it's what i use to ship tools like SLUG.

how it's built

control

every thread works in its own git worktree, on its own branch. each turn leaves a git checkpoint, so you can read the diff of that one turn before you trust it.

when an agent asks for approval, the thread stops until you answer. you can revert a turn, which puts back the files and the conversation as they were before it. a thread can move to a different machine and keep its memory.

the fleet

one daemon runs on each machine. a client connects to as many daemons as you want, at the same time. on a tailnet, a daemon accepts the peers that tailscale whois says belong to you, so there are no tokens to copy.

four clients, one protocol

the terminal interface, a web client that the daemon serves to a phone, an android app, and a desktop client in rust. the protocol is defined in one place, packages/protocol, and every client speaks it. the rust client mirrors those types and reads them loosely, so a daemon newer than the client still paints.

the desktop renderer

the desktop client draws a grid of character cells, the way a terminal does. a rectangle of cells can be a media region, which holds an image or a video, and the region owns its cells, so a picture never half covers a word.

the layout writes to the grid and does not know what paints it. so the window renderer and an offscreen png renderer draw the same grid. the png one is for a build server, or an agent, with no screen.

latency

in the desktop client, a key you press is handled at once. everything a machine says arrives asynchronously, on a queue that the client drains once per frame. nothing repaints while the client is idle. runs of cells with the same style are drawn as one string, not one cell at a time.

the e-paper device

a waveshare esp32-s3 1.54 inch e-paper board, about $25. the firmware is plain c on esp-idf. it has two buttons, and it talks to the android app over bluetooth low energy. your voice goes up as ima adpcm, so five seconds of speech is about 40 kB on the air.

verification

on 2026-11-21, at commit 2e6cf9b, the typescript suite ran 1,963 tests in 179 files, and the desktop client ran 73 rust tests. none failed.

the typescript is strict, and there is no @ts-ignore, @ts-expect-error or @ts-nocheck in it. every dependency has to be public for 7 days before covey takes it.

ci runs three jobs on every push. the first audits the age of every npm package and every crate, builds, and runs the tests. the second typechecks, tests and bundles the android app. the third runs cargo fmt, clippy with warnings as errors, the rust tests, and a release build of the desktop client.

covey builds covey

covey opens its own pull requests: a covey thread takes an issue on the covey repository, does the work, and opens the pull request. covey is also the tool i use to build SLUG.

two covey threads each take a github issue, edit the code, run the tests, and open a pull request

two threads, two issues, one brief each. the second one works on covey itself: it takes the issue, fixes the editor, runs the suite, and opens the pull request.

the covey web client on a phone, following two threads that started elsewhere

the same machines from a phone. access your working threads when and where you want.

six screens of the e-paper device: the thread list, the menu, what covey heard, the turn running, and the agent's answer

the tool is efficient enough to work on esp32 devices as a companion to the mobile app, so you can make your own ways to interact with covey threads.