cox·swain /ˈkɒks(ə)n/ noun The one in the boat who doesn't row. They steer, call the stroke and keep the crew in time.
Your agents are the rowers. You are the coxswain.
coxswain is a local ADE, an agentic development environment, for reviewing and building code with the coding agents you already run: Claude Code and Codex. Have an agent explain a pull request, leave review comments on it, hand them to the agent to implement, and review the diff it comes back with, all without leaving the PR.
Note
coxswain is a proof of concept. Expect rough edges, and expect things to change.
Pull requests are getting huge, and more and more of them are written by AI. Checks and AI review already catch a lot of what used to take a reviewer's time. What's left for the human is the part that matters most: understanding the change and reviewing its fine details. GitHub's PR view isn't built for that kind of close reading, especially not on a large diff.
coxswain leans heavily on the diff review experience of Linear, but runs locally, on your own checkout, and lets you bring your own AI subscription: the Claude Code or Codex you already pay for and are signed in to.
- Pull requests as workspaces. Add a GitHub repository, open any of its PRs, and coxswain checks it out in its own git worktree. Code stays on your machine.
- Views: the agent explains the change. A view is a document the agent writes on the canvas, next to the code: markdown sections with tables and mermaid diagrams, and the file diffs and files they're about embedded, threads and all. A guide walks the whole diff in reading order: it opens with the shape of the change and how risky it is, then goes through the files by theme, with explanations on the tricky lines. Ask for a review, a data model, a data flow, questions for the author or a prompt of your own, of a PR, one commit, one agent turn, or code with no diff at all. Each view gets a chip in the canvas bar.
- Threads with the agent. Comment on lines of a diff, or on a passage of a view. A comment is a note, or a question the agent answers in the thread, right between the lines it's about; carry on the conversation there. Ask for a review and the agent leaves its findings as threads too.
- Comments become agent work. Send all to agent and it implements your notes in the PR's worktree; its changes show up in the same diff, next to the PR's own. Or Copy as prompt and paste them into any other agent.
- Comments and agent threads, kept apart. A comment thread is what you say to the PR's author; an agent thread is for exploring or changing the code with the agent. Submit Review posts your comments to GitHub as you wrote them, in one review, or sends them to the agent; an agent thread becomes a comment with Summarize as Comment, which you edit first.
- GitHub, both ways. The PR's review threads show between the lines next to yours, and your review goes back as replies, resolves and comments on the lines. The PR panel has the description, conversation, checks, reviewers, labels and the merge button; a failing check goes to the agent with its log.
- Every agent turn is a diff. Each turn that changed the worktree is listed under Turns, next to Commits, so you can review what the agent did one turn at a time. Start a workspace on a new branch, let the agent build, see what's not pushed or still uncommitted, then open a draft PR from it.
- Your agents, with your setup. Claude Code and Codex run in the agent pane over the
Agent Client Protocol, using your own installs and sign-ins, so your skills and
custom commands come along: type
/in the composer. Pick the model and the effort per agent. Guides and reviews follow three skills that ship with coxswain (pr,writing-beatsandcode-review, from mattpocock/skills). - Track what you've reviewed. Mark file diffs, or a view's whole section, as reviewed; they stay reviewed until their contents change, for instance after an agent's edit.
- Just enough IDE. Browse the whole file tree, Open Quickly (⌘⇧O), Go to Definition (⌘-click), Find Usages and Find (⌘F). Back and Forward (⌥⌘← ⌥⌘→) step through what the canvas showed, scroll kept.
- Command palette. ⌘K, then
>and a few letters, runs any action; without>it opens a file. - Light and dark mode. Follows your system's appearance automatically.
- Node.js and pnpm, to run from source
git- The GitHub CLI, signed in:
gh auth login. coxswain borrows its token and never stores it. - Claude Code (
claude) and, optionally, Codex (codex), signed in
coxswain checks for these at startup and tells you how to fix anything missing. It is an Electron app and should run wherever Electron does, but so far it has only been tested on macOS.
On macOS or Linux, install the latest release with:
curl -fsSL https://raw.githubusercontent.com/sladkoff/coxswain/main/install.sh | shIt puts coxswain.app in /Applications (or ~/Applications) on macOS, and the AppImage at ~/.local/bin/coxswain
on Linux. Add a version to install that one instead: … | sh -s -- 0.2.0-rc.1. Run it again to update.
On Windows, or to download by hand, take the build for your system from
Releases. Builds aren't signed yet: on macOS, a downloaded app needs
right-click → Open the first time (or xattr -cr coxswain.app); the install script doesn't.
To run from source:
git clone https://github.com/sladkoff/coxswain.git
cd coxswain
pnpm install # also downloads Electron
pnpm dev # run with hot reloadpnpm start builds and runs without hot reload, and adds View › Rebuild and Reload (⇧⌘R) for working on coxswain in coxswain; pnpm dist packages the app into dist/. coxswain keeps its clones and worktrees in ~/coxswain/, and its
own data in a SQLite database in the app's data folder. It stores only what GitHub and git don't have: your notes, the
agent's answers and views, and which files you've reviewed.
| Doc | What it holds |
|---|---|
| GOALS.md | What coxswain is for, and what it isn't. |
| Glossary | Every term used in the code, UI and docs. |
| UX.md | The screen layout and open UX questions. |
| ADRs | Architecture decisions, one file each. |
| DEVLOG.md | What has been built so far, and the tech debt. |
Pull requests are welcome; open an issue first. AI-assisted contributions are fine. See CONTRIBUTING.md.
MIT © Leonid Rousseau