← Back to Leaderboard
Ctrailofbits

trailofbits/coop

A Rust CLI that runs coding agents in disposable VMs to isolate execution from the host

Engineering Health (Methodology)
A+ · 88/100
Maintenance Activity
● Updated today
Latest Release
v0.10.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption13/25
Release Cadence20/20
License Clarity20/20
CLISelf-Hosted
Total Stars
★ 840
24h Growth
+1
7d Growth
+9
Forks
49

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

trailofbits/coop Star History (2026-04-02 - 2026-12-04) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +839 in 246d · avg +3/day 887 444 0 2026-04-02: ★ 12026-04-18: ★ 12026-05-09: ★ 12026-05-30: ★ 12026-06-20: ★ 22026-07-11: ★ 32026-08-01: ★ 152026-08-22: ★ 242026-09-12: ★ 2282026-10-03: ★ 7452026-10-24: ★ 7922026-11-08: ★ 8062026-11-23: ★ 8232026-12-04: ★ 840 ★ 840 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Coop is a self-hosted Rust CLI that runs existing coding-agent CLIs inside disposable VMs, rather than executing their commands directly on the host. coop setup builds the template image, coop up starts an instance for the current project, and the agent subcommand launches inside the guest. Firecracker and Lima are the named VM backends. For Firecracker, opt-in vsock control moves SSH off the guest network.

The root Cargo package uses clap with derive support and anyhow. Credential proxying is split into the coop-proxy workspace member: plain cargo build and cargo test target the root package, while workspace builds include the proxy and its aws-lc-sys dependency, which requires CMake. The integration surface described here is agent-specific CLI entry points and VM configuration, not an MCP server or a general plugin API.

Key Capabilities & Differentiators

Coop launches Claude Code, Codex, and Grok Build in guest environments equipped with Docker, Git, compilers, and package managers. Images, profiles, and multi-instance workflows support separating project environments. Live mounts and file sync let the guest work with host files, and editor integration lets developers keep using a host editor. Those options cross the VM boundary when enabled.

Firecracker v0.10.0 adds persistent, opt-in isolated mode without a guest NIC. SSH control can still run over vsock, but the instance must have been created with vsock control and use a current image with a vsock SSH listener. For credentials, direct forwarding crosses into the guest; the optional proxy keeps supported raw credentials on the host. Neither feature turns Coop into a model runtime or makes the agent itself available offline.

Trade-offs & Limitations

Direct host execution has fewer setup steps but gives up the VM boundary for agent-driven commands. A conventional container offers a lighter way to package a development environment, but shares the host kernel; Coop puts that work behind a VM boundary at the cost of image builds and per-instance CPU, memory, and disk overhead. Size the host against representative builds, Docker jobs, and concurrent VMs rather than the size of the Rust CLI or a presumed GPU budget.

The practical isolation level depends on what you connect back to the host. Review which paths mounts and sync expose, whether a host editor integration is needed, and whether credentials are forwarded or proxied. Keeping supported raw credentials on the host does not by itself prove that guest requests using them are harmless. Apache-2.0 permits commercial self-hosting subject to its terms, but does not govern the separate agent products or their data-handling policies.

Hardware & Deployment Guide

Check the platform and backend prerequisites before installation; a working Rust binary alone does not provide a VM runtime. Installation options include a release script, Homebrew, Nix, and source builds. Run coop setup to build the template, then coop up from a project directory and launch the chosen agent. Use coop update for CLI updates. Self-hosting the sandbox does not self-host inference: account, connectivity, and offline behavior still depend on the agent, and guest workflows that need network access must be vetted before adopting a no-NIC setup.

The recent releases are operationally relevant. v0.9.1 keeps Lima starts headless even when persisted instance configuration enables a display. v0.9.2 stops exposing the Firecracker control API socket and adds opt-in vsock SSH control. v0.10.0 adds Firecracker's no-NIC mode; existing legacy-TCP instances do not migrate automatically. Plan to provision a new vsock-controlled instance with a compatible image rather than assuming a CLI upgrade will convert an existing instance.

Execution: A Rust CLI launches Claude Code, Codex, and Grok Build in disposable VMs with Docker, Git, compilers, and package managers.
Control plane: Firecracker starts without exposing its control API socket as of v0.9.2; opt-in vsock mode keeps SSH control traffic off the guest network.
Network isolation: Firecracker's v0.10.0 isolated mode omits the guest NIC and requires a current image with a vsock SSH listener plus an instance created with vsock control.
Host integration: Live mounts, file sync, and host editors are explicit crossings of the VM boundary.
Credentials: The optional proxy keeps supported raw credentials on the host; direct forwarding instead crosses into the guest.
Build layout: Default Cargo builds target the root coop package; workspace builds include coop-proxy and bring in aws-lc-sys and its CMake requirement.
Best For

Teams running Claude Code, Codex, or Grok Build against projects whose builds and commands should execute behind a VM boundary, with workspace, editor, and credential access enabled selectively.

Skip If

A host install or shared-kernel container meets your isolation needs, the host cannot support the required VM backend, or you are looking for an MCP server or local inference engine.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLISelf-Hosted
curl -fsSL https://raw.githubusercontent.com/trailofbits/coop/main/install.sh | bash

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
coop ★840+9RustApache-2.0A Rust CLI that runs coding agents in disposable VMs to isolate execution from t
Codewhale41.2k+38RustMITRust coding agent with swappable models, sandboxed execution, and turn receipts
oh-my-pi40.5k+497TypeScriptMITA Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat
gemini-cli109.6k+376TypeScriptApache-2.0A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/trailofbits/coop.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

trailofbits/coop Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about coop

How does Coop connect a project to a coding agent?

Run coop setup to build the VM template. From a project directory, run coop up, then start the agent with coop claude, coop codex, or coop grok. Treat workspace mounts, file sync, host editor integration, and credential forwarding as separate decisions about what crosses the VM boundary.

What hardware should I budget for, and does Coop need GPU inference capacity?

There is no fixed RAM, CPU, disk, or VRAM budget to quote. Check the prerequisites for the chosen VM backend, then size the host for the number of concurrent VMs and the actual guest workload. Builds, dependency installation, and Docker jobs all count toward that budget. Coop launches agent CLIs; it is not a local model inference engine.

Can a company self-host or redistribute Coop?

Coop is Apache-2.0, which permits commercial use and self-hosting subject to the license terms. If you redistribute it, review the applicable license and notice obligations. The license does not cover the separate terms for agent CLIs, provider accounts, or VM contents; review provider data handling before using sensitive repositories.

When should I choose Coop over a host install or a container?

Run the agent directly on the host when you trust the project and prioritize low setup overhead. Use a conventional container when a reproducible environment and shared-kernel isolation are sufficient. Choose Coop when guest execution behind a VM boundary is a requirement and the team can operate VM images and manage host integrations.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining trailofbits/coop? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature trailofbits/coop on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare