01
Cloudflare OS — the approval click, moved to after the work
An Apache-2.0 TypeScript monorepo that Cloudflare open-sourced on August 5 — "a large portion of Cloudflare's workforce" uses it daily — and that is trending again today at 9,240 stars, 1,072 forks and 36 watchers. It is three things: an agent chat UI preloaded with your company's context, sandboxed "gadgets" (every user runs a private instance of each app, in a Dynamic Worker with outbound networking switched off and a sandboxed iframe in front), and Gatekeepers, the part that belongs on this slate. A Gatekeeper is a separate Worker per external service that holds the OAuth credential, exposes a narrow Cap'n Web API, logs every action, and stands between the agent and any side effect. Sixteen ship in the repo — GitHub, Google, Slack, Notion, Linear, Confluence, Supabase, Home Assistant, email, a scheduler, an MCP bridge, Spotify, ZoomInfo and Cloudflare's own API. pnpm run-local runs the whole stack on workerd at localhost:8787; a deploy flow at os.cloudflare.app/deploy puts it in your own Cloudflare account; you pick the model provider, self-hosted included. Our August 6 note carried the announcement as the why-now for "give your agent a computer"; this is the first time the repository itself has been on the slate.
The mechanism is the reason. The README states the failure it is built against: synchronous approval means "you give your agent a task, then walk away and get a coffee, only to come back and find the agent got stuck on an approval on the first step." So when an action needs approval, the Gatekeeper "will simulate the outcome locally," tells the agent it completed, returns simulated results if the agent reads back, and queues the real thing until you approve or reject "in bulk, or one-by-one," later. Reads need no approval; writes do; and a Gatekeeper can flag a read as so sensitive that the agent is prohibited from writing anywhere afterward — Kenton Varda, 381 of the commits, said in the launch thread that this taint rule is what let Cloudflare connect the OS to its own customer and revenue data. Our machine-facing-docs check found the invariants the README only gestures at: REVIEW.md, addressed to "AI reviewers reading pull requests," orders the priorities — "the kernel bar, capability-security invariants, secret leakage through logs and errors" — names getGatekeeperClassFor() as "the single chokepoint" before any capability is minted, and keeps auth config in environment variables "so a compromised admin session cannot change it." Then the contract itself, packages/workshop-shared/src/gatekeeper.ts line 731: simulation "is suggested," and "there is no strict requirement that a gatekeeper does such simulation — it is really up to the gatekeeper author." Jamie Lord's "architecture of distrust" essay read the same lines and got the philosophy right — "the agent cannot be trusted, so build so that its mistakes cannot matter" — and the Sandstorm lineage he traces is confirmed by the Sandstorm community's own maintainer turning up in the thread to call the Gatekeeper work "insanely cool."
Reach for it if a team, not a developer, needs agents on company systems and the alternative is a shared MCP config with every credential ambiently available in every chat. It replaces that config, and the Slack-bot-with-a-service-account. Tradeoffs: it is a platform, not a library — the deferred gate exists only inside its workspace; "deploy to your own server using workerd" is marked COMING SOON, so today it is your Cloudflare account or a local wrangler loop; every Gatekeeper needs OAuth client credentials the README admits "many service providers intentionally do not make easy"; a rejected batch discards everything the agent built on the simulated world, and a Gatekeeper author is free to skip simulation entirely; it is "version 2, a complete rewrite," labeled early access; and the project is "not seeking outside contribution," for a reason worth reading in full — "external code contributions are 'donating' the easy part of the job, while creating more of the hard work."