A persistent engineering environment for AI agents.
Start in Codex. Continue in Claude. Pick it up tomorrow. The work stays where you left it.
Root installs developer tools from a Rootfile, pins them in root.lock, and keeps the work so another agent can resume. v0.7 adds one local MCP interface for connectors, events, and fixtures.
Docs · Changelog · Smoke tests · MCP security
Each harness wants its own setup, and a new chat does not remember the last one. Root keeps the machine and the work in one place.
- Undo. Every install snapshots first.
root rollback --lastrestores the lock. - Verified. Binaries are checked in
~/.root/profiles/default, not on the global PATH. - Resumable.
root checkpoint createandroot resume --withhand the next agent a continuation, not a transcript. - One local interface.
rootdserves MCP. Connectors, approvals, and events are shared by Codex, Claude, and OpenCode.
- Declare packages in
~/.root/Rootfile. - Pin them to Nix store paths in
root.lock. - Apply into an isolated profile. Snapshot first, verify after.
- Resume from a checkpoint, or pull a handed route with
root event pull.
Nix is required. The installer offers Determinate Nix if it is missing.
curl -fsSL https://boringinfra.company/root/install.sh | sh
root doctorroot plan install ripgrep
root install ripgrep
root verify ripgrep
root rollback --lastroot workspace init
root checkpoint create
root resume --with codex
root mcp serveEvery command accepts --json. root --help lists the rest. v0.4 through v0.7 are in CHANGELOG.md.
- MCP.
root mcp servetalks torootdon a mode0600Unix socket. Loopback HTTP is opt-in and needs the bearer token. - Connectors and events. Packages install by digest. Writes wait on
root approval.root event pullreturns a handed route and does not start an agent. - Checkpoint references.
root checkpoint-syncmoves ciphertext over a folder you choose.root syncstill reconciles the Nix profile. Git carries source. - Fixtures. Browser grants,
messages.local, andfinance.localstay on this machine. A payment intent does not move money.
root import brew is experimental and outside the v0.7.0 public surface.
| Root | brew | curl | sh | raw Nix | |
|---|---|---|---|---|
Deterministic lock (root.lock) |
yes | no | no | manual |
Undo (rollback --last) |
yes | no | no | manual |
| Post-install verify | yes | no | no | no |
| No Nix to learn | yes | yes | yes | no |
- Curated catalog, 42 tools. Arbitrary packages are rejected.
- Codex 0.150.1, OpenCode 1.18.27, and Claude Code 2.1.260 exactly.
- No cloud account. Checkpoint sync is a folder of ciphertext.
- Connector network and filesystem grants stay
none.
cargo test --all
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warningsApache 2.0 — see LICENSE.