Book a call
Overview

boatparty

A Rust CLI that lets coding agents edit locally and run builds, tests, and dev servers on demand in warm boat.dev Linux sandboxes. Git-native synchronization, worktree-aware pools, and account-wide resource limits keep parallel development from overwhelming my laptop.

RustCLI
Coding AgentsGit WorktreesBuild ToolsDeveloper Tools
boatparty

I built goldengoose so I could run teams of coding agents in parallel. By the time I was working on a codebase north of 400,000 lines and several other Rust projects, with ten or more agents working in their own Git worktrees, a different constraint had become obvious: my laptop. Every worktree needs its own build state, and every agent running a check wants the same CPU and disk. cargo-warm makes a fresh worktree cheaper to build, but it doesn’t give me another machine to build on.

The first version of the solution lived inside goldengoose as bun run remote. It gave each worktree its own warm Linux sandbox on boat.dev. My agents kept editing code locally, using the tools and context they already had, and sent their expensive commands elsewhere. They could run Rust checks, tests, and even launch the full application on a remote desktop. I wanted the same arrangement for every repository I worked on, without copying goldengoose’s project-specific scripts into each one. So I built boatparty, an open-source Rust CLI that talks directly to the boat.dev API.

The agent stays where the code is

Once a project has a boatparty.toml, running a test remotely looks like this:

Terminal window
boatparty run -- cargo test --locked

The agent doesn’t need to push its branch, open an SSH session, or learn a new development environment. boatparty takes a snapshot of the current working tree through a private Git index, including uncommitted changes and nonignored untracked files. It sends the missing Git objects as a thin pack, updates the remote checkout, runs the command, and streams the output back. Files the command modifies, such as formatter changes or generated bindings, return as a patch. If those changes conflict with edits made locally in the meantime, boatparty keeps the patch for inspection rather than overwriting the work. Ignored build artifacts stay on the sandbox.

The detail that makes remote execution useful for Rust is that synchronization rewrites only files whose content changed. An unchanged file keeps its modification time, so moving the worktree between machines doesn’t invalidate the build cache on every command. I don’t want to replace a four-minute local compile with a four-minute remote compile just because the synchronization layer convinced Cargo everything was new.

Warm caches belong to worktrees, capacity belongs to a pool

The original goldengoose tool assigned one sandbox to each worktree. In a general-purpose CLI, that policy would multiply machines across every project I opened. boatparty instead keeps a bounded pool per project, with affinity for the sandbox a checkout used last. A busy member cannot be reassigned to a different workspace. When capacity runs out, the allocator can reuse an eligible idle member or wait rather than quietly provision another machine. An optional base snapshot gives new members a starting point with dependencies already built.

There’s another resource to manage besides running machines: starts. boat.dev limits how frequently sandboxes can be started, and an agent that stops its sandbox after every check can burn through that allowance without doing much useful work. boatparty accounts for starts across projects, reconciles them with the provider’s counts, and enforces configured project and account limits. A running command renews its lease; by default the sandbox stops five minutes after the last command finishes, keeping its disk for the next run.

A failed test is not a failed sandbox

I wanted the command to fit into the verification loops my agents already run, not introduce another interface they have to interpret. The remote command’s stdout comes back untouched, diagnostics go to stderr, and exit code 125 is reserved for infrastructure failures. Agents can get structured results with JSON when they need them, and dev servers can expose forwarded ports.

The remote environment is Linux x86_64, so a passing remote check isn’t evidence that macOS-specific code compiles. boat.dev is the only supported provider today. Those boundaries are fine for the problem I built this to solve. I still want the compiler in the loop, and I still want every worktree independently verifiable. I just don’t need all those compilers competing for the same laptop.

Use ← and → to navigate