agentbox
CLAUDE.md511 starsChanged 6 months agoMITView on GitHub
agentbox is an npm CLI that spins up isolated sandboxes ("boxes") for coding agents (Claude Code, Codex, others) to work in, so they can't touch the host. Seven backends share one provider abstraction: Docker (the default — one local container per box, isolated by per-box git branch in an in-container worktree against the bind-mounted host .git/), Daytona Cloud (--provider daytona — a managed remote sandbox seeded from a host git bundle + per-agent credential volumes, reached via SSH-token attach and…
- Reads credentials
- Commits and pushes
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
When verifying a change:
- Very specific: line 36
Don't pick a blind long timeout: Start the slow command in the background (e.g.
- Very specific: line 52
Use Agentbox inside Agentbox: start a container with agentbox claude --shared-docker-cache --carry-yes to have a box ready with agentbox …
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AgentBox — context for Claude Code
agentbox is an npm CLI that spins up isolated sandboxes ("boxes") for coding agents (Claude Code, Codex, others) to work in, so they can't touch the host. Seven backends share one provider abstraction: Docker (the default — one local container per box, isolated by per-box git branch in an in-container worktree against the bind-mounted host .git/), Daytona Cloud (--provider daytona — a managed remote sandbox seeded from a host git bundle + per-agent credential volumes, reached via SSH-token attach and an in-sandbox bridge relay), Hetzner Cloud (--provider hetzner — a bare VPS per box, pure OpenSSH ControlMaster comms, locked-down Hetzner Cloud Firewall, baked from a one-time agentbox prepare --provider hetzner snapshot), Vercel Sandbox (--provider vercel — a Firecracker microVM per box, persistent snapshots, public HTTPS preview URLs; nested containers (in-box docker) now supported and baked in, no SSH, baked from a one-time agentbox prepare --provider vercel snapshot), E2B Sandbox (--provider e2b — a Firecracker microVM per box, SDK-only comms, public HTTPS preview URLs, persistent pause/resume; uniquely among the cloud providers, E2B builds its base template directly from a Dockerfile via Template.build() — agentbox prepare --provider e2b runs the build), and Remote Docker (--provider remote-docker, spelled agentbox docker:<host> … — one container per box on a machine the user already owns, reached over an OpenSSH ControlMaster and driving that machine's docker engine. Cloud-shaped despite being docker: a bind mount can't cross a network, so the workspace is synced (git clone + carried-over stash/untracked) exactly as for the clouds, while the image (Dockerfile), checkpoints (docker commit) and DinD stay docker-shaped. No credential — it connects as you, over your own ~/.ssh/config).
Architecture overview
- Boxes — one isolated sandbox per agent run. The shape differs by provider but the abstraction is one
Providerinterface (packages/core/src/provider.ts):- docker: container
agentbox-<id|name>;/workspaceis the in-container git worktree on branchagentbox/<box-name>; host's.git/is bind-mounted RW so commits land on the host immediately. Boxes pause/unpause for cheap context switching and survive stop/start;destroywipes the container + per-box volumes. The base image (agentbox/box:dev) is pulled from GHCR on first use (tagged by build-context fingerprint, seepullOrBuild/registryRefForShainimage.ts) and only built locally on a pull miss;--build/box.imageRegistry=""force a local build. Seedocs/development.md→ "Image: pull vs rebuild". One agent per box: the base image carries NO agents;agentbox claudederivesagentbox/box:dev-claude(FROMthe base + the agent's install recipe) and mounts only that agent's config volume + credentials.agentbox openclawis the same shape for a service agent — a daemon the box hosts, published on the box web URL, with no TUI to attach to. Seedocs/agents.md. - daytona (cloud): Daytona sandbox with
/workspaceseeded from a hostgit bundle create(incl. stash + untracked carry-over for the user's local state). Lifecycle goes through the Daytona SDK; agent credentials (~/.claude,~/.codex,~/.config/opencode) live in shared per-org volumes seeded from the host. Host↔box comms go through a per-box bridge URL (CloudFront preview) that the host relay'sCloudBoxPollerlong-polls. - hetzner (cloud): one Hetzner VPS per box (default
cx23/nbg1). Workspace seeded the same way (git bundle + stash + untracked tar). Per-box ed25519 SSH key minted on the host into~/.agentbox/boxes/<sandboxId>/ssh/and injected via cloud-init. Per-box Hetzner Cloud Firewall auto-locked to the host's egress IP (multi-probe fail-loud). All comms (exec, scp, port forwards, attach) flow over one persistentssh -fNT -MControlMaster per box;previewUrl(port)mintsssh -O forwardon demand. No agent credentials volume — credentials pushed via scp at create time (Hetzner has no shared-volume primitive).agentbox prepare --provider hetznerbakes a one-time base snapshot since Hetzner can't build images from a Dockerfile. - vercel (cloud): one Vercel Sandbox (Firecracker microVM, Amazon Linux 2023) per box. Workspace seeded the same way (git bundle + stash + untracked tar). Boots from a Vercel snapshot baked once by
agentbox prepare --provider vercel(no Dockerfile build). Persistent sandboxes auto-snapshot on stop and auto-resume onSandbox.get({ resume: true })→ pause/resume for free. Comms via the SDK:execruns asvscode(root →sudo -u vscode);previewUrl(port)returns the publicsandbox.domain(port)(HTTPS, no token), so the host relay'sCloudBoxPollerreaches the in-box bridge directly. In-box docker (DinD) is baked into the base snapshot anddockerdis auto-started on create/resume (launchDockerd:true, via the sharedagentbox-dockerd-start) — Vercel Sandbox now supports nested containers. No SSH (attach is a customattach-helper.jstmux bridge over the SDK). Max 4 exposed ports, regioniad1only. - e2b (cloud): one E2B Sandbox (Firecracker microVM, Debian 12) per box. Workspace seeded the same way (git bundle + stash + untracked tar). Key differentiator from Vercel/Hetzner: E2B builds its base image directly from a Dockerfile via the SDK's
Template.build()—agentbox prepare --provider e2bdrives the build and pins the resulting template id tobox.imageE2b.Sandbox.pause/Sandbox.connect(auto-resume) gives free pause/resume;Sandbox.createSnapshotis the reusable, id-addressed checkpoint primitive (same shape as Vercel). Comms via the SDK:execruns asvscode;previewUrl(port)returns the public{port}-{sandboxId}.e2b.appURL (HTTPS, no token; constructed locally so it doesn't wake a paused sandbox). In-box docker (DinD) is baked into the base template anddockerdauto-starts on create/resume (launchDockerd:true) — E2B microVMs support nested containers (full root + cap_sys_admin, verified 2026-06-23), contrary to the original "same as Vercel" assumption. No SSH — attach is a customattach-helper.cjsSDK-streaming PTY bridge overpty.create. 1-hour platform session cap on the Hobby tier (the attach helper caps at 55 minutes for headroom).
- docker: container
- In-box supervisor (
@agentbox/ctl) — reads/workspace/agentbox.yamland runs the declared tasks/services under a DAG scheduler. Ships asagentbox-ctlinside every box (docker, daytona, hetzner, vercel, e2b). - Host relay (
@agentbox/relay) — a host node process boxes call for things they have no credentials for (git push, checkpoint capture,cp/download) and to push status events. Keeps SSH keys out of the box. The cloud path drives the same relay viaCloudBoxPoller+executeCloudAction. - Checkpoints —
docker commit(+ periodicFROM scratchflatten) for docker; Daytona snapshots (sb._experimental_createSnapshot) for daytona; Hetznercreate_imagesnapshots (no-pause default — matchesdocker commit) for hetzner; Vercelsb.snapshot()(id-addressed; stores the snapshot id in the cloud-checkpoint manifest) for vercel; E2BSandbox.createSnapshot(id-addressed template, same shape as Vercel) for e2b. All flow throughprovider.checkpoint.create.box.defaultCheckpointis the cross-provider fallback;box.defaultCheckpointDocker/box.defaultCheckpointDaytona/box.defaultCheckpointHetzner/box.defaultCheckpointVercel/box.defaultCheckpointE2boverride per provider. - The full design — file-handling rationale, the checkpoint model, pause/resume strategy, what we explicitly rejected — lives in
docs/architecture.mdanddocs/create-and-checkpoints.md. Each cloud provider's shape and its known caveats live indocs/cloud-providers.md. Read them before making non-trivial changes to the lifecycle code.
Important notes
- You have docker and you are authorized to run docker commands, inspect containers, run commands inside containers, etc.
- You are authorized to start cloud boxes, cloudflare tunnels, tailscale tunnels, etc.
- For cloud work: the Daytona API key + org id, the Hetzner
HCLOUD_TOKEN, the Vercel auth trio, and the E2BE2B_API_KEYall live in~/.agentbox/secrets.env(managed by the per-provideragentbox <provider> logincommands). You may use each cloud's SDK directly to inspect / clean up sandboxes when a test leaves an orphan, oragentbox prune --provider <name> -yfor the supported path. - For hetzner-cloud work: the base-snapshot id is recorded at
~/.agentbox/hetzner-prepared.json(written byagentbox prepare --provider hetzner); per-box SSH keys live under~/.agentbox/boxes/<sandboxId>/ssh/(private key never leaves host, dropped ondestroy). You may use the Hetzner REST API directly viacurl -H "Authorization: Bearer $HCLOUD_TOKEN" https://api.hetzner.cloud/v1/...to clean up orphan servers / firewalls / snapshots when a test leaves something behind.agentbox prune --provider hetzneris not yet wired (backlog item — the underlyingbackend.list()works). - For e2b-cloud work: the base-template id is recorded at
~/.agentbox/e2b-prepared.json(written byagentbox prepare --provider e2b, which drivesTemplate.build()from a Dockerfile). You can use thee2bSDK directly (node -e "import('e2b').then(({Sandbox})=>Sandbox.list())") to inspect or clean up sandboxes when a test leaves an orphan, oragentbox prune --provider e2b -yfor the supported path.
Testing / verifying
create, claude, codex, opencode, and pi tee their progress to a file at
~/.agentbox/logs/<command>.log, and ~/.agentbox/logs/latest.log always points
at the most recent run. The log is rotated 1-deep — the previous run is at
<command>.log.prev.
When verifying a change:
- Don't pick a blind long timeout. Start the slow command in the background
(e.g.
node apps/cli/dist/index.js create -y -n smoke &), thentail -f ~/.agentbox/logs/latest.logto watch real progress. Stop waiting the moment the log shows what you need (e.g.box ... readyor a failed step). Don't sit on a 120s blocking call hoping it returns. - Interactive TUIs (
dashboard,claude,codex,opencode,pi): drive them throughpnpm drive(the PTY harness atapps/cli/test/_harness/).pnpm drive start --name X -- node apps/cli/dist/index.js dashboard, thenpnpm drive screen Xto read the rendered terminal andpnpm drive send X "<C-a>q"to send keystrokes.pnpm drive --helpandapps/cli/test/_harness/README.mdcover the surface. - Typical create check:
node apps/cli/dist/index.js create -y -n smoke &, thentail -f ~/.agentbox/logs/create.loguntil you see the BEGIN/END markers for each step. If a step's END never arrives, you've found the hang — inspect that step rather than killing the whole command. - Test projects: use the
examples/directory mainly, or../agentbox-test-repoto test push/pull on a test repo setup on GitHub, and../agentbox-test-repo-ghfor the same repo but with https origin usingghtool. Also../express-servercan be used to test the setup wizard since it doesn't have anagentbox.yamlfile. - Use Agentbox inside Agentbox: start a container with
agentbox claude --shared-docker-cache --carry-yesto have a box ready with agentbox compiled and in the path and reuse docker cache for faster builds. For Images build usedocker build --network=host -t agentbox/box:dev -f apps/cli/runtime/docker/Dockerfile.box apps/cli/runtime/dockerinstead ofagentbox preparebecause the box runs withoutCAP_SYS_PTRACE. - Hub is a persistent daemon — always rebuild + restart it after any hub change.
agentbox hub(relay + Next UI on 8787) is long-lived and spawns the standalone build, so a running hub keeps serving stale code after you editapps/hub/**or any package it imports (@agentbox/relay,@agentbox/sandbox-docker, …). On dev, rebuild the standalone and restart before verifying:
Thepnpm --filter @agentbox/hub build:standalone AGENTBOX_HUB_BIN="$PWD/apps/hub/dist-standalone/apps/hub/server.js" node apps/cli/dist/index.js hub restartAGENTBOX_HUB_BINoverride is load-bearing:resolveHubServerprefers the CLI-stagedapps/cli/runtime/hub/…/server.js(only refreshed by a fullagentboxCLI build) over the freshapps/hub/dist-standalone, so a barehub restartrespawns the stale staged bundle. Rebuild the imported packages too if you touched them. Same rule asagentbox relay restartfor relay code. For fast UI-only iteration run the hub directly withpnpm --filter @agentbox/hub hub:dev(tsx watch server.ts). Note:public/assets (logo, favicon) only work throughbuild:standalone(which stagespublic/) ornext dev/next start— never assume a static asset serves without one of these.
Conventions
- TypeScript strict, ESM,
verbatimModuleSyntax— alwaysimport type { … }for types. - tsup builds each package's
src/index.ts→dist/. Don't reach into another package'ssrc/from a sibling; consume via the package name. - vitest for tests, default discovery (
test/**/*.test.ts). Keep unit tests pure — no docker, no network. Integration testing is manual for now (see README → Development). - eslint + prettier, flat config at repo root.
pnpm lintandpnpm formatare the commands. - commander for CLI surface; @clack/prompts for any interactivity. Don't add a third prompts/CLI lib.
- execa for shelling out to
docker(debuggable, no native deps). Don't introducedockerodewithout a good reason. One sanctioned native-dep exception:@homebridge/node-pty-prebuilt-multiarch(ships ABI-stable N-API prebuilds, no end-user compiler) is used only byagentbox dashboardfor the in-process terminal compositor. It is anoptionalDependenciesofapps/cliwith a guarded dynamic import — a missing prebuild degradesdashboardto a clear error, never breaks the rest of the CLI. - Do the work behind the hub
/api/v1, not in the CLI. When a command does real work — bake, create, lifecycle, git — it should drive the hub's REST API and let the hub's queue worker execute it, rather than calling a provider inline. There are four front-ends (the local CLI, the CLI pointed at a remote control box, the web UI, the macOS tray) and the API is the only surface all four share: logic that lives in the CLI serves exactly one of them. Baking is the worked example —agentbox prepare, the install wizard andagentbox remote-docker addall go throughrunPrepare→POST /api/v1/…→ the hub worker; there is no inlineprovider.prepareon the CLI side. Seedocs/hub-api-single-path-plan.md. - No emojis in code or output unless explicitly requested.
- Comments only when the WHY is non-obvious (a constraint, a workaround, a surprising invariant). Names should carry the WHAT.
@madarco/agentbox-provider-sdkis published separately — rebuild + republish it when you change its interface. The provider-plugin SDK (packages/provider-sdk) is a self-contained npm package that external plugins depend on; it inlines the internal@agentbox/*packages via tsupnoExternal. Its public surface = the re-export list inpackages/provider-sdk/src/index.tsplus the re-exported types/values from@agentbox/core(Provider/CloudBackend/ProviderModule),@agentbox/sandbox-cloud(createCloudProvider, attach/staging/checkpoint helpers), and@agentbox/sandbox-core(prepared-state, runtime-assets). If a change alters any of those, the shipped SDK is stale until you rebuild and republish it (bump its ownversion; a breaking change also bumpsSDK_API_VERSIONin that index + must be in the CLI'sSUPPORTED_SDK_API_VERSIONS). Gate + publish perdocs/provider-plugins.md→ "Publishing the SDK":pnpm --filter @madarco/agentbox-provider-sdk pack:testthencd packages/provider-sdk && npm publish. The/release-notesskill checks for this automatically.
AgentBox Tray (macOS menu-bar app)
A native macOS menu-bar app lives in the sibling repo ../agentbox-tray
(private GitHub madarco/agentbox-tray). It surfaces all boxes and gives one-click actions — open
the hub, open each box's Web/VNC, start/stop, per-box git ops (pull/push/push --host-only/
checkout/branch), restart services, and answer host-action approvals — without a terminal. It
updates live over the hub's SSE stream and falls back to polling.
It has no build-time coupling to this repo — it's a Swift Package Manager / AppKit app (no
Xcode) that drives the two public surfaces. Its one external dependency is libghostty-spm, the
terminal engine embedded in the Manager window (the workspace's task list plus its manager's tmux
session); building it needs a Swift 6 toolchain:
- Boxes + actions via the local Control Hub REST API at
127.0.0.1:8787:GET /api/v1/boxes(which carries the raw host-side fields —state,projectRoot, endpoint URLs, session titles — and the syntheticcreating/errorboxes for in-flight/failed creates) plus the lifecycle (start/pause/resume/stop/destroy), git, rename, and services routes. Approvals use/api/v1/approvals(+…/{id}/answer), live events the SSE/api/eventsstream. The Manager window's Timeline readsGET /api/v1/workspaces/{id}/timeline({items, live, summary, github}; a row naming a branch with a known GitHub repo carriesbranchUrl, and every item and live row carrieslane—{id: trunk|box:<id>|branch:<head>, kind, from?, into?, branch?, open?}— for drawing the timeline as a branch graph;box.branchrows mark a box's branch switch) and its Approve postsPOST /api/v1/managers/{id}/message({text, prNumber?, repo?};409manager_unreachablemeans copy the text for the user to paste). Boxes group under their manager session in the menu:Box.managerIdjoins a box to a row ofGET /api/v1/managers(host claude/codex sessions, detected or hub-run;…/{id}/resumereopens one in the hub's tmux;…/{id}/attachopens a claude manager's detached Claude background session (backgroundon the manager) in a hub tmux session, and a stop on one closes only that attach session), andBox.pr({repo, number, url?, state: open|ready|merged|closed}, from the workspace timeline) labels a row with its pull request. Auth to remember when changing the hub: both/api/v1/*and/api/eventsgo through the same gate (apps/hub/proxy.ts) and acceptAuthorization: Bearer <token>— a headless client (the tray against a remote control box) subscribes to events with the same Bearer key it uses for/api/v1. The token cookie (agentbox_hub_token, or the better-auth session cookie on a password profile) is an additional accepted credential for the hub's own same-origin browser fetches, not a replacement. Token is~/.agentbox/hub/token. SSE events are refetch signals only (emptydata: {}). - Inherently-local actions via the installed CLI, shelled through a login shell
(
/bin/zsh -lc 'agentbox …', because a GUI app has no inherited PATH):open --in/open --targets(terminal attach in iTerm2/cmux/Herdr), andhub status/hub startto bootstrap the hub itself.
When you change the hub /api/v1 API (the Box payload especially), the SSE event/auth contract, or
the CLI commands the app still shells (open, hub), update the tray app too — its own
CLAUDE.md documents exactly which surfaces it depends on. The app's
data/action layer sits behind a BoxSource protocol (implemented by HubAPIBoxSource) so it can
target the hosted control-plane unchanged (so it can target a deployed control box unchanged).
Documentation map
Each topic has a dedicated file under docs/. Read the relevant one before changing that area.
Keep the public docs in sync — every change. The user-facing documentation site lives in
apps/web/content/docs/(Fumadocs, published at https://agent-box.sh/docs). Whenever you add or change a CLI command, flag, config key, default, or provider/lifecycle behavior, update the matching.mdxpage (andmeta.json/CLI reference) in the same change — stale public docs are a bug. When the UI a figure shows changes, recapture it perapps/web/images.md. Seeapps/web/CLAUDE.mdfor the site's structure, theming, and build.
docs/architecture.md— the single architecture reference: the box/worktree/checkpoint model and why it is shaped that way (plus what was rejected), the repo tree, where every piece of state lives, the two long-lived processes (@agentbox/ctlin the box,@agentbox/relayon the host), and what the product does today.docs/create-and-checkpoints.md— implementation reference foragentbox create(file/git handling) and the checkpoint capture/restore mechanics.docs/cloud-providers.md— every non-docker provider (daytona, hetzner, vercel, e2b, remote-docker, digitalocean): how each differs from docker, the bridge relay model, credential volumes, preview URLs, and each one's known caveats.docs/cloud-create-flow.md— step-by-step walk of a cloud create: how.gitand workspace files reach the box (git bundle + stash + untracked tar), and the base-vs-project snapshot tiers.docs/sync-architecture.md— the sync layer: one provider-agnostic way to move files/credentials in and out of a box.docs/terminal-integration.md— host-terminal attach placement (tmux/cmux/Herdr/iTerm2), terminal titles, the cmux sidebar status, and the Herdr integration + plugin.docs/agents.md— the agent reference: agents as data (AGENT_SYNC_SPECS+ install recipes), one-agent-per-box, the agentless-base/derived-layer image tiers, adding an agent to a running box, and the checklist for adding a new agent. Two surfaces, declared oncaps.surface: atuiagent (claude, codex, opencode, pi) is a tmux session you attach to; aserviceagent (openclaw) is a daemon ctl's supervisor runs, whose units and layered config ride theagents.listRPC and whose CLI ends at "ready + URL" — it has no CLI module, no attach wrapper and nobox.isolate*Configkey, and the whole per-agent cost is a registry row plus a docker volume module. An agent can also arrive as an npm package —agentbox agent add <pkg>snapshots itsAgentSyncSpecinto~/.agentbox/agents.json(read sync + offline by everything, exactly asplugin adddoes for providers) and itsagentSyncModule, if it ships one, is loaded by a variableimport()from@agentbox/agent-modules. A plugin cannot shadow a built-in agent's id or alias, in either half.docs/agents-remaining-work.md— what is still open in the agent layer after the agents-as-packages work: the four claude-named files still in the shared packages and the one decision that blocks them (does the hub load agent modules? — it loads none today, so a registration seam would silently stop the hub's ssh-config prune), and the never-started bake-on-first-use UX. The live measure isapps/cli/test/no-agent-named-exports.test.ts, whose allowlist can only shrink.docs/model-auth-sources-plan.md— model-auth sources: which host model-provider credentials a box may be seeded with (agent— another agent's login file;env— a provider API key in the host env), the two ingest shapes and why a TUI agent's must run at the host's launch seam, the measured facts that decide it (a consumer CANNOT refresh a borrowed codex token, so a seeded box is renewed only by the credential fan-out; claude's OAuth blob stays non-borrowable), and the phase status.docs/agent-settings-plan.md— agent settings: an agent declares its own settings on its registry row, config generates<agent>.<key>keys from them (built-ins andagentbox agent addpackages), and every call site carries one opaqueagentSettingsmap — the agent's own recipe /postInstall/ launch env is the only thing that knows what a setting means.box.claudeInstall/box.claudeTuiare nowclaude.install/claude.tui.docs/workspaces-tasks-manager-plan.md— workspaces, tasks and the manager: a workspace is a host folder grouping several projects and owning a task list; a task is a unit of work (many map to one box, which is how the manager keeps colliding diffs on one branch); the manager is a coding agent the hub runs locally in that folder, in a tmux session every client attaches to. Also the home of theapps/hub/lib/backend/<domain>.tssplit — a new backend domain goes in a slice taking a narrowBackendDeps, never appended tohub-backend.ts.docs/workspaces-tasks-manager-backlog.md— the open items after the timeline, grouped into Phases 10a–10d (Plan dashboard, manager terminal in tmux, the compact pinnable window, push line counts + host skill), plus what was parked.docs/workspaces-remote-hub-plan.md— workspaces on a remote control box: the 0.32 workspace layer is local-hub-only by construction (store on the hub's disk, folder paths validated on the hub, CLI pinned to the laptop hub). The plan moves the store to the hub that owns the boxes, makes a workspace repo-URL based with per-host folder mappings, keeps the manager on the PC (record on the hub, heartbeat for liveness), and drops the checkout dependency of push line counts and PR sync. Phases 2–4 gate on a real Hetzner control box.docs/workspaces-remote-hub-backlog.md— the 0.31 features that still assume a local hub (--model-authvia hub, service-agent create routing,gitrouting for docker boxes, backup paths, …): documented with file refs, deliberately not fixed by that plan.docs/bot-lifecycle-ui-plan.md— bot lifecycle in the GUIs: bringing backup / restore / clone of asurface: 'service'bot to the hub web UI and the macOS tray, plus thehasGit/supportsBackupfacts the box payload had to grow for them (and for hiding git UI on a box with no repo). Backup and restore move out ofapps/cliand behind/api/v1; clone was already there and only needed a caller.docs/host-tools.md— the box→host CLI proxy: how any host CLI (gh,terraform,aws,ntn,linear) reaches a box through one generic shim, the request-vs-grant trust split, and the built-in credential deny list.docs/provider-plugins.md— external / community providers on the published@madarco/agentbox-provider-sdk, theagentbox plugin addregistry, and the SDK-version gate.docs/development.md— build + verify commands, manual end-to-end runs, the image-rebuild checklist, assumed host environment, and the release + nightly-cut flows.docs/nightly-channel-plan.md— the nightly release channel: howstablevsnightlyresolves, the version scheme, and the silent-failure gotchas (publishing without--tag nightlymoveslatest).docs/test-plan.md— how to run the pre-releasepnpm e2esuite, and the map from the old per-command checklist IDs (CLAW-006, TOOLS-004, …) to the scenario step, unit test or manual check that covers each now.docs/release-e2e-plan.md— the pre-release e2e run: 8 real-life scenarios (install + bake, agent turn to a merged PR, lifecycle, services, host tools, openclaw, workspaces, interactive surfaces incl. the tray) run in parallel on every provider and a Linux host, against the packed CLI in a separateHOMEon the same machine (e2e/,pnpm e2e;/release-notesrefuses a stable tag without a green run). Its live backlog, including the product bugs it found, isdocs/release-e2e-backlog.md.docs/hub-testing.md— how to exercise anything hub- or control-box-shaped, cheapest first: flip your own host withagentbox hub expose(seconds, free — with--tunnel cloudflarereal cloud boxes reach it, so the whole remote-hub story needs no VPS); the same inside a box, plus building the actual VPS image; a real Hetzner deploy (--ref/--package/--domain,hub update,hub destroy); and the always-on clean-PC VM. Read its "gotchas" section before debugging a change that "isn't taking" — it is usually the stale staged hub bundle.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

