Cloudflare's principal engineer on his new platform — Gadgets is like Google Docs, but every document is a standalone app

He started with a story anyone who's worked at a software company will recognize, then explained why the root cause behind it can now be overturned.
By AI Engineer08-07 · 9 min read⚑ Expert view · personal take
Deep Dive · Xiaohu Explains
Too Long; Didn't Read
  • Cloudflare's principal engineer built a new platform where apps work like documents in Google Docs — everyone gets their own copy, and if it's not enough, they can have an AI change it on the spot.
  • He's comfortable handing over code changes to AI because a two-layer sandbox keeps data contained, even if the AI writes buggy code.
  • He asked Claude to edit his slides, but Claude found its tools lacking — so it first added a feature almost no human would use, then used it to finish the drawing.
⚑ This piece is based on the recording of a live talk at the AI Engineer conference on June 30, 2026. The full talk is 18 minutes and 53 seconds. We transcribed and translated it. The system shown in the talk wasn't public at the time; it was open-sourced 5 weeks later as Cloudflare OS. Implementation details may have changed since.
Opening

What is Cloudflare OS, and why Kenton Varda says cloud architecture went wrong

At the AI Engineer conference on June 30, Kenton Varda — Cloudflare's principal engineer and the creator of Workers — spent 18 minutes making a case: the foundation of cloud computing we're all standing on was built in the wrong direction, and that's been true for 25 years.

What's wrong? Today's web apps run one codebase that serves everyone, so you can't even change a button. His system, Gadgets, flips that: each person gets their own full copy of the app, and if it's missing something, an AI can change it right then. Break it, and you only break your own copy. On August 5, it was open-sourced as Cloudflare OS.

First, let's be clear about what Cloudflare OS actually is, or the rest won't land:

  • It opens like an office suite: hundreds or thousands of “documents” inside; you click one, edit, and share it. The difference is that each document is a full app with its own code, and the code can be completely different in each one.
  • AI builds the apps: a single prompt produces a collaborative whiteboard; if it's not enough, you ask the AI to keep changing it.
  • What you share is code: export an app as a Blueprint — just the code, not your data. Whoever gets it spawns their own copy, and from then on, you each go your own way.
  • The platform owns permissions: who can see and who can edit is enforced by the system itself; the app never touches that layer, so it has no way to screw up access control.
  • Everything except the LLM runs on Cloudflare Workers: no containers, no database, and you can run the whole stack on your own machine.
The full talk, 18 minutes and 53 seconds. The original had no subtitles. We transcribed, translated, and burned in these bilingual subtitles. Source: AI Engineer World's Fair, June 30, 2026.
Related on this site
Cloudflare open-sources its internal AI office platform, Cloudflare OS
A closer look at how the product works and how its security is designed
The Root Cause

Software's death spiral: users file requests, and years later, zero features ship

The talk didn't open with the product. It opened with a story that hits home for anyone who has ever worked at a software company.

A developer ships an app to users. Some are happy; others say it's not quite there without an extra feature. The user goes to the developer's stand-in, the product manager, who files the request into Jira — where it promptly sinks without a trace.

Every once in a while, a PM wants the feature themselves, so it makes it onto a roadmap. The developer builds these things one by one, and each one serves only a tiny handful of people. Each also crams a few more if-statements into the code. The code gets messier, and the features get more boring.

Then the developer says: we need a rewrite. We need a new architecture with a plugin system, so every feature becomes a plug-in and the core stays clean. Work begins on the new architecture. Requests keep coming in, and the reply becomes: “Well, once the plugin system is ready, this will be easy. Doing it now would just mean redoing it later.”

Users request features I really need this Filed into Jira Never to be seen again A few make the roadmap Work begins Code gets messier Filled with if-statements Decide to rewrite Plugin system incoming New requests keep coming in. The answer: “It'll be easy once the plugin system is ready.” And the loop runs again from the top. Years go by. The new architecture isn't ready. Zero features shipped. And everyone asks: what are they even doing?
Our diagram based on the talk. This isn't a hypothetical loop — it's what actually happens. As long as one piece of software has to serve everyone at once, it just keeps spinning.

This story is the foundation of the entire talk. The loop doesn't stop because of anyone's lack of effort. Its root cause is a single codebase having to accommodate everyone's needs — a premise that can now be overturned.

The Obstacles

Letting AI modify software for everyone hits two walls: locked-down phones, and web apps with only one version

If a user could just tell their own AI agent to write a feature and add it, the loop above wouldn't need to spin. Everyone gets what they need, nobody is held back by someone else's requirements, and the developer's core code stays clean.

So why hasn't this happened yet? Because the foundation we build software on today was never designed with this in mind.

Wall 1 · Mobile Apple and Google have held it for 15 years Down to five companies that can still ship mobile apps In the US, it's easier to buy a gun than to install unsigned software on your phone Wall 2 · The Web Anyone can build anything here But apps run on the developer's server One version served to everyone Convenient for developers, but the user gets zero customization The whole wave of vibe coding platforms last year is built on the foundation of Wall 2
Our comparison diagram based on the talk. The “buy a gun” line is his — that's how hard it is to install unsigned software.

The web did get around Apple and Google, and none of the disasters they keep warning about actually happened. But the web has its own problem: the cloud architecture of the past 25 years has been heading in the direction of “one blessed version, served to everyone.” That's convenient for developers, but it means the user can never change what's in their hands.

Slide from the talk: 'Personal AI codegen breaks traditional cloud infrastructure', with the word 'breaks' highlighted in red and shaking
The entire central thesis of the talk. For the first eight minutes, the slide stayed right here. The word “breaks” was vibrating on screen — Claude had added that effect itself, and Kenton thought it was too stupid to remove. Source: AI Engineer World's Fair recording.
The Approach

How Gadgets works: like Google Docs, but every “document” is a full app

Don't think of this as another vibe coding platform. The closer analogy is an office suite.

Open Google Docs. Hundreds or thousands of documents. You click one, edit it, share it. This is exactly the same — except the documents are called gadgets, and each gadget is a full app with code inside.

Screenshot of the Gadgets home screen, listing six gadgets: Gadgets AIE talk, Untitled Gadget, Personal AI codegen breaks traditional cloud infrastructure, Collaborative Whiteboard Tool, Spanish Email Filter, GitHub Review Tracker
The gadget list on his own machine. Collaborative whiteboard, Spanish email filter, GitHub review tracker — three things he just asked an AI to make for his own use. The one at the top, “Gadgets AIE talk,” is the slide deck for this very talk. Source: AI Engineer World's Fair recording.

He gets a lot of emails in Spanish but doesn't speak it, so he built a little tool to filter them. He needed to keep an eye on code awaiting his review on GitHub, so he built a tracker. These aren't products. They're made to be used once, possibly never opened again.

Blueprint: export the code, and others run their own copy

If you build something useful, you can export it as a Blueprint. The export contains code only — no data. Whoever receives it spawns their own copy, and from then on, you each go your own way.

Traditional: one version, everyone connects Developer's server User A User B User C Gadgets: ship the code, everyone runs their own A's own copy Added an export button B's own copy Switched to dark mode C's own copy Left as-is
Our comparison diagram. The specific changes in the bottom half are just illustrative — the point is that everyone can modify their own copy.

There's another design detail worth calling out: a gadget is tied to one slide deck. If you need three decks, you spawn three instances. This was a deliberate choice. Every gadget can be shared and collaborated on, and since sharing and access control are handled by the platform, not the app, the app itself has no way to mess up the permissions.

The Key Moment

To draw one image, Claude first added a feature to the slides app that no human would use

The slides for this talk were generated by a slide deck tool built by his colleague, Phillip — a PM at Cloudflare. According to Kenton, Phillip had an AI build the whole thing in an afternoon.

Kenton gave Claude a Google Doc link containing all the slides he wanted. Then he added one sentence. And that sentence is the key:

If you need to make new features to the slide application itself in order to support these slides, then feel free to do that.

The original instruction, as recounted in the talk

Claude actually did it. It read the app's entire codebase and the document, then added two small features first: slide three needed strikethrough formatting, which the app didn't have, so it added it. Some slides needed centered text. Kenton's taste, unlike Phillip's, is fine with centering, and he wanted it — so Claude added that too.

The most interesting part was slides five and six. He wanted a hand-drawn looking cloud diagram, but the app only supported boxes and arrows — no freeform shapes. Claude's solution? It added a feature to the app that lets you paste an SVG into a slide.

① Read the brief The Google Doc ② Read the code The whole app ③ Sees what's missing Can't draw a sketchy cloud ④ Adds the feature To the app ⑤ Uses the new feature to finish the job Generates the SVG, pastes it in
Our diagram of the sequence. Step ④ is the turning point: when the tool wasn't enough, it didn't work around the gap — it fixed the tool first.

“Paste an SVG into a slide” is a feature that's almost useless to a human. Who hand-writes SVG? But for Claude, it was invaluable. It immediately generated the image it needed.

This moment is the clearest illustration of what “personal software” actually means. Software goes from something you receive as a finished product to something you can reshape in the middle of using it — even if the one reshaping it is an AI.

Screenshot from the talk: on the left, the conversation log with Claude; on the right, the source code files of the slide app
On the left, the conversation log. On the right, the app code being modified. The bottom left shows the session consumed roughly 98,766 tokens, about $5.00. Source: AI Engineer World's Fair recording.
Security

Why it's safe to let an AI change code: two sandboxes, so even broken code can't leak data

But letting an AI paste SVG into a page? Anyone who knows the web will have the same first thought: SVG can contain JavaScript. Isn't that just a security hole?

The answer is, it doesn't matter. The environment is built so that it can't matter.

Layer 1 · The UI you see Runs in an isolated iframe with a content security policy Can't reach other sites, can't read any cookies The only channel: postMessage to the outer window Layer 2 · The server-side code behind it Runs in another sandbox, also blocked from the external network Any external service needs the platform to explicitly allow it
Our structural diagram based on the talk. The two bent arrows on the right: any request trying to get out hits the boundary and bounces back.

The result is this: an AI-written UI and an AI-written server. They can talk to each other, and together they render the UI for you. Even if there's a vulnerability in there, there's nothing it can leak to.

There are no significant security holes in this code.

His words from the talk, referring to the sandboxed app code

That sentence is what makes the whole design work. Because a broken change can't cause damage, you can afford to hand the entire job of changing code over to an AI.

Related on this site
Cloudflare OS deep dive: a system designed on the assumption that AI will make mistakes
How approvals work without breaking flow, how permissions are tightened down — a fuller breakdown of the security design
The Demo

The demo hit an error, and accidentally revealed that Cloudflare OS runs on his laptop

So if the security story holds up, where does this thing actually run? His live demo hit an error, and that's where the answer slipped out.

He typed a prompt asking the system to make a “silly counter app.” An error popped up. No network in the venue. He was unbothered — because the whole stack was running on his own laptop. No internet needed.

0
containers used — it's all Dynamic Workers
0
databases used — state lives in Durable Objects
1
laptop runs the whole system, via open-source workerd

Worth pausing on his résumé here: Workers has millions of developers and serves trillions of requests a day. This whole foundation is the project he started when he joined Cloudflare in 2017, and the one he's still leading.

What makes this possible is workerd — the open-source runtime behind Cloudflare Workers. You can install it on your own machine or server and run it there. Every part of Cloudflare OS, except the LLM itself, runs on Workers.

What he's genuinely excited about is very specific: he's already integrated Home Assistant and Spotify. He wants to move the whole stack into his basement and run his home automation with it.

The Ending

The plan was to open-source right after the talk. One week before, the CTO pulled the plug. It shipped 5 weeks later.

So when can you get your hands on it? That's what he apologized for at the end of the talk.

When he submitted the talk proposal months ago, this was a side project. The plan was to come, give the talk, and then throw the code up on GitHub on the way home. Anyone could download it and play.

But in the weeks before the talk, the project gained serious momentum inside Cloudflare. It became an official project. One week before the talk, on a Thursday, Cloudflare's CTO, Dane, called him into a room and said: don't just throw this out there. The launch needs to be more deliberate. Hold it a few weeks.

He was annoyed — the talk abstract already promised open-sourcing. So he had to stand on stage and say: sorry, I can't release this today, but it's coming very soon.

The talk was on June 30. Cloudflare OS was open-sourced on August 5. Almost exactly five weeks apart.

Source
Gadgets: Personal app vibe coding that is actually safeKenton Varda · Cloudflare · AI Engineer World's Fair·Talk recording·2026-06-30
Note
We transcribed and translated the talk. The three photos are captured from the recording; the five diagrams are our own illustrations based on the talk, and their captions note which parts are illustrative. In the talk, the system was called Gadgets and wasn't public. The open-source repo describes itself as a “fully rewritten version 2,” so implementation details from the talk may not match today's release.
↑ End of article
✓ This article is free to read in full

Members can copy or download the full Markdown, and let their AI subscribe and ask.

Read the original ↗
📮 New explainers, straight to your inbox

Found this useful? Leave your email — every new explainer, the moment it's out. Unsubscribe anytime.