arcbox / computer
AGENTS.md4.3k starsChanged 4 months agoApache-2.0View on GitHub
Two different things live here, and most rules below bind only one of them: arcbox-computer, the transport-free protocols, and arcbox-computer-runtime, the runtime that actually boots Computers. Read the Crates section before assuming a rule applies to your crate. The restructure plan and its locked decisions live in docs/architecture/charter.md. - Never import connectrpc. Wire message types (arcbox-connect) are the domain vocabulary and are allowed; the transport (ConnectError, RequestContext, routers) belongs to arcbox-api, which adapts these protocols onto the wire. - No…
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about arcboxlabs/arcbox
- A Hacker News story“ArcBox: From-Scratch Container Runtime for macOS in Rust (Docker, K8s, MicroVMs)”Hacker News · Jul 20, 2026 · 3 points
- @github-trending-rs.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 arcboxlabs / arcbox ⭐ 3,352 (+360) 🗒 Rust Run AI agents on real …”Bluesky · Sep 6, 2026
- @githubprojects.bsky.social“arcboxlabs/arcbox Agents need powerful system access. Giving them your actual machine is the uncomfortable …”Bluesky · Sep 6, 2026
- @github-trending-rs.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 arcboxlabs / arcbox ⭐ 2,448 (+506) 🗒 Rust Run AI agents on real and …”Bluesky · Sep 2, 2026
- 1Password/for-open-source“Application for ArcBox”GitHub · Apr 18, 2026
The biggest 5 of 6 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 6
Talked about on Bluesky, GitHub and Hacker News (6 times).
On Bluesky · 3
- Sep 6, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 arcboxlabs / arcbox ⭐ 3,352 (+360) 🗒 Rust Run AI agents on real and isolated machines — own… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Sep 6, 2026arcboxlabs/arcbox Agents need powerful system access. Giving them your actual machine is the uncomfortable part. ArcBox gives agents… — @githubprojects.bsky.social0 likes and reposts · 1 reply
- Sep 2, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 arcboxlabs / arcbox ⭐ 2,448 (+506) 🗒 Rust Run AI agents on real and isolated machines — own kernel,… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
On GitHub · 2
- Apr 18, 2026Application for ArcBox — 1Password/for-open-source0 reactions · 2 comments
- Mar 23, 2026feat: remove daemon plist log paths (companion to arcbox#99) — arcboxlabs/arcbox-desktop0 reactions
On Hacker News · 1
- Jul 20, 2026ArcBox: From-Scratch Container Runtime for macOS in Rust (Docker, K8s, MicroVMs)3 points
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- app/AGENTS.mdAGENTS.md
- common/AGENTS.mdAGENTS.md
- engine/AGENTS.mdAGENTS.md
- guest/AGENTS.mdAGENTS.md
- rpc/AGENTS.mdAGENTS.md
- runtime/AGENTS.mdAGENTS.md
- virt/AGENTS.mdAGENTS.md
- xtask/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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
- Very specific: line 21
Platform-neutral: must compile and pass unit tests on Linux as well as macOS.
- Very specific: line 46
Create/Restore/Resume DNS discipline), resume (transparent-resume protocol: 503 retry budget, paused wire code 423, write pre-flight), …
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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
computer/ — Agent-Computer Layer Agent Guidance
Two different things live here, and most rules below bind only one of
them: arcbox-computer, the transport-free protocols, and
arcbox-computer-runtime, the runtime that actually boots Computers. Read
the Crates section before assuming a rule applies to your crate. The
restructure plan and its locked decisions live in
docs/architecture/charter.md.
Layer rules
- Never import
connectrpc. Wire message types (arcbox-connect) are the domain vocabulary and are allowed; the transport (ConnectError, RequestContext, routers) belongs toarcbox-api, which adapts these protocols onto the wire. - No
app/dependency: the composing runtime reaches this layer through the [SandboxHost] seam (src/host.rs), implemented byarcbox_core::Runtime(app/arcbox-core/src/runtime/sandbox_host.rs). Protocol code is generic over the trait — do not add a concreteRuntimetype anywhere here. - Platform-neutral: must compile and pass unit tests on Linux as well
as macOS. The gate differs per crate:
arcbox-computeris in thelinux-engineCI job's package list;arcbox-computer-runtimeis deliberately not, becausetest-vm-linuxalready builds, lints and tests it on real KVM — that suite is its Linux gate and its oracle. - Mechanically checked:
cargo xtask check-layers(thelinux-enginejob) fails on a direct edge fromcomputer/intoapp/,arcbox-vmm,arcbox-hypervisor, a macOS-only crate or a VMM adapter — the rules live inxtask/src/commands/check_layers/rules.rs. Nothing in this layer is grandfathered any more — the last two werearcbox-computer-runtime's adapter edges, and because anExceptionwhose edge disappears fails the gate, deleting the edges is what deleted them. - Errors speak
arcbox_engine::EngineErrorinarcbox-computer; predicates likeEngineError::Agent { code }carry the agent's HTTP-style wire codes (404/412 obsolete-ticket, 423 paused, 503 retry) — those codes are protocol contract, mirrored guest-side.arcbox-computer-runtimehas its ownVmmErrorand does not speakEngineError; the guest agent converts at its boundary.
Crates
arcbox-computer—cleanup(durable cleanup-ticket protocol: the generation fence bump, startup-vs-targeted teardown, obsolete-ticket swallowing, andregister_live_sandbox_dns, the shared Create/Restore/Resume DNS discipline),resume(transparent-resume protocol: 503 retry budget, paused wire code 423, write pre-flight),ports(exposure protocols and the port value types: guest-DNAT-then- host-bind with compensating rollbacks, the generation-fenced list snapshot, host-half-first unexpose),locks(weak-map per-(machine, sandbox)operation locks),host(theSandboxHostseam + Arc blanket impl),capability(can this host run sandboxes at all). Domain errors are modeled, not stringified (ExposePortError::Raced,ListExposedPortsError::Unstable) — the arcbox-api adapters map them onto Connect codes.arcbox-computer-runtime— the runtime that boots Computers: lifecycle, exec, files, checkpoints, pause/resume, warm pools, over thearcbox-vm-driverport. It ran asvirt/arcbox-vmuntil vm-stack-redesign R3 moved it here; the in-sandbox init isarcbox-vm-agentand the wire vocabularyarcbox-vm-proto, both still undervirt/. Its own README has the crate map.- It names no adapter at all — the last two edges
(
arcbox-fc-driver,arcbox-tap-net) died in R3's PR-G5 and theirEXCEPTIONSentries with them, socargo xtask check-layersnow fails on any adapter edge from here with no escape hatch. What used to arrive through those edges arrives from the composition root instead: the adapters themselves as aNodeEnvironment, and the[firecracker]keys that configure them as the composer's own config type (arcbox_agent::config::AdapterConfig), read out of the same TOML section this crate'sFirecrackerConfigreads. Do not reintroduce an adapter edge, in any dependency section — a test that wants a real adapter belongs to the composer or to the adapter's own contract run. - The on-disk vocabulary is frozen.
sandbox-records/,sandboxes/,state.json,sandbox-network-quarantine,arcbox-pause,paused-rootfs.ext4,arcbox.warm_key, thepool-id prefix,arcbox-cow-{id}/arcbox-snap-{id}.RECORD_VERSIONis 1 and there is no migration story, so renaming any of them breaks upgrade-in-place — the R3 rename deliberately leaves every one of them alone. - Transitional naming: the crate is
arcbox-computer-runtimebut its types still readSandboxManager/SandboxSpec/VmmError, and its config still calls the section-shaped structFirecrackerConfigthough what is left in it is the runtime's own — a data dir, an isolation spec, pool and CoW policy — the adapter's settings having gone to the composer (the TOML key is frozen; the type name is not, and follows in that rename).VmmConfigis alreadyRuntimeConfig. TheComputer*rename is its own PR, withcompat.rsaliases for the guest agent. Not an inconsistency to file.
- It names no adapter at all — the last two edges
(
Reaching the platform without a #[cfg]
capability is the reference for how this layer asks a platform
question. It composes two halves, neither of which it implements:
VmBackend::supports_nested_virt (a property of the backend, defined
with the enum in arcbox-vmm) and arcbox_hypervisor::host_nested_virt
(the hardware/kernel probe, which carries the platform's own reason
string so the caller does not have to write one per target). Both arrive
re-exported from arcbox-engine, which is why this crate depends on
neither arcbox-vmm nor arcbox-hypervisor directly (charter D4).
The rule it embodies: a #[cfg(target_os)] in this layer means a
platform difference leaked past its seam. Push the difference down to
where the platform knowledge already lives, and let this layer compose
the answers.
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.

