‹ BackHN Continuity

Thread

Cloudflare OS: an open platform for agents, apps, and work

641 points · 315 comments · speckx

  1. rozenmd · · focus · HN ↗
    I liked Kenton&#x27;s take on this: <a href="https:&#x2F;&#x2F;x.com&#x2F;KentonVarda&#x2F;status&#x2F;2084990137180590572?s=20" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;KentonVarda&#x2F;status&#x2F;2084990137180590572?s=20

    Text from tweet:

    Today we are releasing Cloudflare OS, a chatbot with connectors, just like every other tech company is doing.

    Except actually, it&#x27;s different. This is a remake of Sandstorm[.]io, my startup from 10 years ago, except this time built on Cloudflare Workers (the platform I&#x27;ve spent the last 9 years building) and deeply leveraging AI. This is more or less the culmination of my secret 10-year master plan.

    This is a full-on personal app vibe coding platform, in which the sandbox is so secure that you can pretty much go wild -- the AI cannot introduce a significant security bug. We believe a company&#x27;s security team can feel comfortable giving non-technical users permission to vibe code and then sleep soundly at night.

    How is that possible? It&#x27;s the Sandstorm security model, revisited. A &quot;Gadget&quot; is the same thing as a Sandstorm &quot;Grain&quot;: a fine-grained app instance. For example, if you have a document editor app, each document runs as a separate instance of the app, in a separate sandbox (one &quot;Gadget&quot;).

    This means two things, both of which I think are Big Deals: 1. The platform can manage all access control, by controlling who can access the Gadget at all. There is no way the Gadget can accidentally leak itself to an attacker -- even an attacker who has access to other Gadgets based on the same app. 2. Since everyone is running their own copy of the code, everyone can freely modify their copy of the code.

    Think about #2 a bit more.

    What if, when you wanted a new feature in the software you are using, you could just prompt your agent to add it?

    This doesn&#x27;t work in the cloud Software-as-a-Service model, because you are not running your own copy of the app.

    Sandstorm tried to change that 10 years ago, but the world wasn&#x27;t ready, because not enough people had the skills or patience to actually modify their software. AI has changed that. Now you just ask the agent -- the same agent that you are using to help you interact with the Gadget can also modify the code of the Gadget.

    And it is so fun.

    1. tinco · · focus · HN ↗
      This is really interesting. I built a similar product (not released yet), but it uses Kubernetes as the infrastructure layer instead of Cloudflare OS. I guess all these years later I am left with the same existential question that plagued Sandstorm. What is its relevance in the context of Linux containers? This is not a rhetorical question, is there a real benefit for a Sandstorm grain over a docker style Linux container? Does a containerized process not have all the same benefits of a Sandstorm grain, with the added benefit of not requiring any modifications of the containerized software?

      One argument I could bring is that despite all its claims, OpenAI still had to switch from containers to MicroVMs because its agents under test still managed to break out from their containers. Is the security model of a Sandstorm grain so much better that agents wouldn&#x27;t figure out how to break out of it?

      1. everforward · · focus · HN ↗
        I don’t think containers, as normally used, provide that much security because so much of what you want to secure is at the boundaries between containers (the network) rather than inside the container itself.

        There’s not much point in preventing hyper visor escape style exploits if the agent can just SSH or psql log in to an adjacent container. Likewise there are near infinite ways to do weird things with the network to make stuff happen in another less controlled environment (eg sign up for AWS free account, make VM, do everything on that VM where controls don’t apply).

        There are tools to do this, but I’ve never seen anyone package them up in a way that was pleasant to interact with. It’s got the SELinux problem of being useful, but annoying enough that everyone just disables it the second it gets in the way. It’s surprisingly hard to manage what should be able to connect to what as you start scaling out the number of things on the network. Whoops, you forgot that random software embeds its own DNS over HTTPS resolver so the normal DNS profile won’t work and everything crashed kind of issues.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.