computer
AGENTS.md9.5k starsChanged 3 months agoMITView on GitHub
- README.md — what this repo is and how the pieces fit together. - CONTRIBUTING.md — public contribution paths. - COLLABORATORS.md — setup, checks, commit and pull request conventions. The canonical source for the day-to-day workflow. - docs/README.md — design specification. Forward- looking; treat as intent, not as a description of main. - docs/08_capnweb_interface.md — the RPC contract between the Durable Object and computerd. Required reading before touching packages/rpc or packages/computer. - Each package's own README.md — implementation status and…
- Installs packages
Trending
Less talk lately.about the whole repository
Who's talking about cloudflare/computer
- A Hacker News story“Cloudflare Computer”Hacker News · Aug 3, 2026 · 10 points
- @jeremymorrell.dev“Pulling on this thread, and you pretty much immediately run into needing a file-system abstraction separate …”Bluesky · Aug 16, 2026 · 2 likes
- @github-trending-js.bsky.social“💎 Hidden Gem! 💎 (1000+ new stars) 📦 cloudflare / computer ⭐ 6,822 (+1,045) 🗒 TypeScript Give your agent …”Bluesky · Aug 10, 2026 · 2 likes
- @latreon.bsky.social“computer: Give your agent a computer. github.com/cloudflare/computer #TypeScript #AI #AIAgents”Bluesky · Aug 24, 2026 · 1 likes
- @epicvibecoder.bsky.social“cloudflare just gave every ai agent its own computer. a real sandboxed machine, browser and shell, that …”Bluesky · Aug 12, 2026 · 1 likes
The biggest 5 of 52 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 52
Talked about on GitHub, Bluesky and Hacker News (52 times).
On GitHub · 41
- Aug 6, 2026Add Docker Image CI workflow — crystalsconsultingllc3-coder/computer1 reaction
- Oct 7, 2026deps: bump the npm-minor-patch group across 1 directory with 5 updates — skyphusion-labs/straightedge0 reactions
- Sep 30, 2026idea — coolplayagent/agent-computer0 reactions
- Sep 26, 2026[Candidate] cloudflare/computer/.agents/skills/debugging-computerd-fuse - debugging-computerd-fuse — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026[Candidate] cloudflare/computer/.agents/skills/cloudflare - cloudflare — ProSkillsMD/proskills0 reactions · 2 comments
36 more on GitHub
- Sep 26, 2026[Candidate] cloudflare/computer/.agents/skills/capnweb - capnweb — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 24, 2026deps: bump the npm-minor-patch group in /agent with 4 updates — skyphusion-labs/straightedge0 reactions · 2 comments
- Sep 23, 2026Bump the cloudflare-runtime group across 1 directory with 5 updates — scuffi/gardener0 reactions · 1 comment
- Sep 23, 2026Bump the cloudflare-runtime group across 1 directory with 6 updates — scuffi/gardener0 reactions · 1 comment
- Sep 16, 2026Bump the cloudflare-runtime group across 1 directory with 4 updates — scuffi/gardener0 reactions · 1 comment
- Sep 15, 2026v0.1.7: Cloudflare Computer study — Durable Object virtual filesystem: architecture, implementation, interface, and what LayerFS can learn — Ephemeral-AI-Lab/layerfs0 reactions · 2 comments
- Sep 7, 2026spike: cloudflare computer — soulinkfoundation/me3-core0 reactions
- Sep 7, 2026CREW-DESKTOP-QUIET: one Act; prefer CF; do not thrash founder desktop — Netie-AI/Cortex0 reactions
- Sep 7, 2026CREW-EXCEL-ACT: one-Act Excel open+chart after certified envelope — Netie-AI/Cortex0 reactions
- Sep 4, 2026CREW-RUNTIME: laptop local-exec OR Cloudflare Computer isolate — Netie-AI/Cortex0 reactions
- Aug 25, 2026Bump @cloudflare/computer from 0.1.1 to 0.2.1 — anotb/driftglass0 reactions
- Aug 20, 2026chore(deps): bump @cloudflare/computer from 0.2.0 to 0.2.1 in /apps/dsh-edge/standalone — pawaca/dsh-edge0 reactions · 3 comments
- Aug 18, 2026Bump @cloudflare/computer from 0.1.1 to 0.2.0 — anotb/driftglass0 reactions · 1 comment
- Aug 18, 2026Bump the computer-lab group in /labs/deep-dive-lab with 3 updates — anotb/driftglass0 reactions
- Aug 17, 2026Evaluate @cloudflare/computer for the studio agent door — skyphusion-labs/vivijure-cf0 reactions · 1 comment
- Aug 9, 2026use open sourced tools like Cloudflare computer — sakibsadmanshajib/hive0 reactions · 2 comments
- Aug 8, 2026dofs: Resolve relative symlink targets — HosniBelfeki/computer0 reactions
- Aug 8, 2026Spike a client-side metadata mirror and durability fences for small-file workloads — liu1700/orlop0 reactions · 1 comment
- Aug 8, 2026Github trending [cloudflare/computer] 三合一虚拟文件系统 — web1992/github-trending0 reactions
- Aug 7, 2026🔥 GitHub Trending AI 早报 · 2026-08-08 · Top 6 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Aug 7, 2026🔥 GitHub Trending AI 早报 · 2026-08-08 · Top 6 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Aug 7, 2026think: Extract the legacy Shell workspace — cloudflare/agents0 reactions · 2 comments
- Aug 7, 2026🔥 GitHub Trending AI 晚报 · 2026-08-07 · Top 6 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Aug 7, 2026🔥 GitHub Trending AI 晚报 · 2026-08-07 · Top 6 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Aug 7, 2026🔥 GitHub Trending AI 早报 · 2026-08-07 · Top 7 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Aug 7, 2026🔥 GitHub Trending AI 早报 · 2026-08-07 · Top 7 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Aug 7, 2026Github trending [cloudflare/computer] 虚拟文件系统多后端执行 — web1992/github-trending0 reactions
- Aug 6, 2026🔥 GitHub Trending AI 晚报 · 2026-08-06 · Top 7 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Aug 6, 2026🔥 GitHub Trending AI 晚报 · 2026-08-06 · Top 7 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Aug 6, 2026Github trending [cloudflare/computer] 虚拟文件系统+多后端执行 — web1992/github-trending0 reactions
- Aug 5, 2026🔥 GitHub Trending AI 早报 · 2026-08-06 · Top 7 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Aug 5, 2026🔥 GitHub Trending AI 早报 · 2026-08-06 · Top 7 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Aug 5, 2026🔥 GitHub Trending AI 晚报 · 2026-08-05 · Top 7 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Aug 5, 2026🔥 GitHub Trending AI 晚报 · 2026-08-05 · Top 7 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Aug 4, 2026Feature: Persistent workspace and lazy sandbox execution inspired by Cloudflare Computer — jellydn/flowly0 reactions
- Aug 3, 2026PARKED: @cloudflare/computer as a persistent planner working directory -- revisit if it stabilises — skyphusion-labs/vivijure-cf0 reactions · 2 comments
On Bluesky · 10
- Aug 16, 2026Pulling on this thread, and you pretty much immediately run into needing a file-system abstraction separate from the execution environment,… — @jeremymorrell.dev2 likes and reposts · 1 reply
- Aug 10, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 cloudflare / computer ⭐ 6,822 (+1,045) 🗒 TypeScript Give your agent a computer 👾 — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Aug 24, 2026computer: Give your agent a computer. github.com/cloudflare/computer #TypeScript #AI #AIAgents — @latreon.bsky.social1 likes and repost
- Aug 12, 2026cloudflare just gave every ai agent its own computer. a real sandboxed machine, browser and shell, that your agent drives. no vm to… — @epicvibecoder.bsky.social1 likes and repost
- Aug 8, 2026AIエージェントに仮想ファイルシステムや実行環境を提供するランタイムツールっぽい エージェント向けの環境構築がぐっと楽になりそうかも yug1224 starred cloudflare/computer… — @yug1224.com1 likes and repost
5 more on Bluesky
- Aug 6, 2026📈 Today's GitHub Trending: 1. https://github.com/TencentCloud/TencentDB-Agent-Memory - TypeScript, 1053 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy1 likes and repost
- Aug 6, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 cloudflare / computer ⭐ 1,820 (+796) 🗒 TypeScript Give your agent a computer 👾 — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Aug 5, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 cloudflare / computer ⭐ 1,819 (+796) 🗒 TypeScript Give your agent a computer 👾 — @github-trending.bsky.social1 likes and repost · 1 reply
- Aug 5, 2026📈 Today's GitHub Trending: 1. https://github.com/cloudflare/computer - TypeScript, 796 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy1 likes and repost
- Aug 7, 2026📈 Today's GitHub Trending: 1. https://github.com/PrimeIntellect-ai/prime-agent - TypeScript, 2271 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy0 likes and reposts · 1 reply
On Hacker News · 1
- Aug 3, 2026Cloudflare Computer10 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 repository7 other files it gives its agents.
- capnwebSkill
- cloudflareSkill
- debugging-computerd-fuseSkill
- proseSkill
- pull-requestsSkill
- test-driven-developmentSkill
- gardener-tasksSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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 45
If the fuse-native build fails, npm install aborts the whole install, not just that one package.
- Distinctive: line 88
Run from the repo root:
- Very specific: line 111
Follow COLLABORATORS.md. The short version:
- Distinctive: line 119
No emojis. No marketing voice.
- Distinctive: line 163
When you add a script, drop a one-line description at the top of the file and add it to the list above.
≈ “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
Agent guidelines
Read these first
README.md— what this repo is and how the pieces fit together.CONTRIBUTING.md— public contribution paths.COLLABORATORS.md— setup, checks, commit and pull request conventions. The canonical source for the day-to-day workflow.docs/README.md— design specification. Forward- looking; treat as intent, not as a description ofmain.docs/08_capnweb_interface.md— the RPC contract between the Durable Object andcomputerd. Required reading before touchingpackages/rpcorpackages/computer.- Each package's own
README.md— implementation status and package-specific notes.
Skills
In-repo skills live under .agents/skills/. Load
the file directly when the trigger applies:
| Skill | Load when |
prose | Writing code comments, commit messages, READMEs, or documentation. |
pull-requests | Writing or editing a pull request description. |
test-driven-development | Implementing logic, fixing a bug, or changing behavior. |
capnweb | Touching anything that crosses the RPC boundary: packages/rpc, packages/computer, the computerd client, or the Durable Object server. |
cloudflare | Index of host-side Cloudflare skills — Workers, Durable Objects, wrangler, sandbox SDK, agents SDK. |
Environment setup
A fresh container does not have everything the tests need. The traps below cost real time if you discover them one failure at a time.
Native build tools. packages/computerd depends on fuse-native, a
native addon. Building it needs a C toolchain and the libfuse2 headers.
On Debian or Ubuntu:
apt-get install build-essential libfuse-devIf the fuse-native build fails, npm install aborts the whole
install, not just that one package. When you only need the rest of the
workspace, install with npm install --ignore-scripts to skip the
native build.
arm64 hosts. fuse-native ships a prebuilt libfuse for x64 only.
On a Linux arm64 host or container (including a Linux container on
Apple Silicon, or arm64 CI) the link fails with file in wrong
format. The path below is Debian or Ubuntu arm64; a native macOS host
uses macFUSE instead and does not hit this. Replace the bundled library
with the system one and rebuild:
cp /usr/lib/aarch64-linux-gnu/libfuse.so.2 \
node_modules/fuse-shared-library-linux/libfuse/lib/libfuse.so
cd node_modules/fuse-native && npx node-gyp rebuildBuild before you test. The test scripts don't build the sibling
packages first. Several suites need build output that is absent in
a clean checkout: packages/computerd imports the sibling @cloudflare/dofs
and @cloudflare/computer-rpc packages from their dist/
directories, packages/computerd's src/cli/computerd.test.ts spawns the bundled
CLI at dist/cli/computerd.cjs, and examples/think-compare-runtimes
imports @cloudflare/computer/backends/container-legacy, which exists only
after the computer package is built. Run npm run build across the
npm workspace before npm test on a clean checkout.
Real FUSE needs privilege. packages/computerd's src/cli/computerd.test.ts
runs its real-FUSE case only when /dev/fuse is reachable; otherwise
it resolves to the shim and skips. The guard is a bare existence check,
so a mknod'd /dev/fuse in an unprivileged container defeats the
skip and the mount then fails with EPERM, turning a clean skip into a
hard failure. Leave the device absent unless the container is
privileged (--privileged, or CAP_SYS_ADMIN with device access). The
src/exec/runner.fuse.test.ts suite is separate: it skips unless both
Docker and the prebuilt computerd binary are available, and runs computerd
inside a privileged container. See the
debugging-computerd-fuse skill
for the privileged Docker setup.
Checks before you finish
Run from the repo root:
npm run format # biome format --write .
npx biome check . # biome lint + formatter verificationbiome check must exit zero. Fix the underlying issue rather than
silencing the rule.
Then run the package-level tests for whatever you touched:
npm test # whole workspace
npm test --workspace @cloudflare/dofs # one package
npm test --workspace @cloudflare/dofs -- src/foo.test.ts # one fileFull details, including typecheck and build commands, are in
COLLABORATORS.md.
Commits and pull requests
Follow COLLABORATORS.md. The short version:
- One logical change per commit.
- Imperative subject prefixed with the scope (
dofs:,rpc:,computer:,computerd:,examples/think:,docs:,ci:). Multiple scopes joined with commas. - Self-contained body wrapped at 72 characters. No references to chat history, agent sessions, sibling commit SHAs, or task identifiers.
- No emojis. No marketing voice. Prose paragraphs in the body, not bulleted lists.
Full guidance is in .agents/skills/prose/SKILL.md
and .agents/skills/pull-requests/SKILL.md.
Scripts
Two top-level directories hold helper scripts. They're outside the npm workspace package set on purpose — they're tooling, not shipped code.
script/ holds maintainance scripts and operator-facing harnesses for computerd and the sync
loop. Reach for these when you're chasing a behavior the unit tests don't cover.
shellboots a debian-slim container with the linuxcomputerdbinary mounted under/usr/local/bin. The starting point for anything that needs a real FUSE mount.computerd-soak.mjsboots onecomputerdcontainer, takes the host's part of the sync loop from a local store, and reports convergence lag beside container memory. Use it to chase convergence or churn bugs.computerd-stub-soak.mjssoaks the long-lived WebSocket session and readssession.getStats()to detect stub-disposal drift. Run it for changes around the capnweb lifecycle.computerd-fuse-flush.mjsend-to-end checks that the FUSE driver spills its in-memory write buffer into the backing VFS, so a capnweb-sidepullOnceactually sees the bytes.fs-tests.sh/run-fs-tests.shrun the filesystem conformance harness against the FUSE mount.fs-bench.sh/run-fs-bench.shbenchmark common development tasks against the mount with a tmpfs baseline for comparison.exec-testsbootscomputerdin docker with FUSE disabled and exercises a fewshell.execscenarios.lib/cloudflare-workers-stub.mjsis a node--importhook that stubs thecloudflare:workersmodule, so a host-side script can import@cloudflare/computer's main entry outside workerd. Not runnable on its own;exec-testsuses it.npm-bench.sh/run-npm-bench.shbenchmark npm package installs on native disk vs the FUSE mount.run-npm-bench.shis the user-facing entry point that boots a privileged Docker container;run-npm-bench-inner.shis the in-container entrypoint that installs dependencies, startscomputerd, and invokesnpm-bench.sh, which runs the actual benchmark. SetSCENARIOS,REPS,WARMUP, andOUTPUT_JSONto control what runs and where results land.
When you add a script, drop a one-line description at the top of the file and add it to the list above.
Project-specific patterns
- RPC. The wire contract is capnweb. Read
docs/08_capnweb_interface.mdand thecapnwebskill before changing anything that crosses the Durable Object ↔computerdboundary. Stubs are object-capabilities; dispose them. Leaks are tracked by the harness inpackages/rpc. - Storage.
packages/dofsis the authoritative SQLite layer. Filesystem primitives operate on aDatabasehandle; the sync protocol building blocks share the same handle. The package README enumerates the exported surface. - FUSE shim.
packages/computerdruns in the sandbox container. FUSE- backed tests only run on Linux and are skipped elsewhere automatically. - Examples are real consumers.
examples/think,examples/container-legacy, andexamples/worker-shellexercise the public surface. If you change a public API, update them in the same change.
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.

