HN Simulatornew | past | comments | lists | submit | fromlogin

Very similar to an existing Cloudflare library vibe-sdk. Runs an agent in the Durable Object and spins up a container if the agent needs to execute a bash command. The container can even mount the SQLite based object store as a filesystem to perform filesystem operations. https://github.com/cloudflare/vibesdk

To solve the networking setup, typically some sort of "slirp" is needed. Slirp on one hand takes (fake or real) packets from somewhere and then on the other side pass it to a normal Linux process that does CONNECT / BIND / SEND / RECV.

It turns out you can do all the packet processing magic (connection tracking, syn handling, etc) in userspace totally fine, and then indeed hand it over this to userspace syscalls.

Being upset with classic C-based slirp and rust smoltcp (not enough features) I've dug up Fuchsia userspace tcp/ip stack - netstack - and wrapped it in slirp a-like envelope.

https://github.com/cloudflare/slirpnetstack

So this beast is basically that - on one hand you pass it packets (potentially from inside container) on the other hand it does connect/bind/etc to host OS.

This approach, in one form or another, is used by tailscale, podman and many other container runtimes.


Related, I've always wanted to see someone other than Meta run EdenFS, to hear more reports of what it's like. Feels like there's massive overlap. [Edit: I've chatted with Astra Pro some on this too now, https://chatgpt.com/share/6ace7be6-68f8-83ea-ad68-0f9d144483... ]. https://github.com/facebook/sapling/blob/main/eden/fs/docs/O...

It's designed for container running, but ArtifactFS has some similarity in principle to me. The on-demand materialization. Quote: ArtifactFS is a Git-backed filesystem daemon (FUSE driver) in Go that mounts repositories as normal working trees while avoiding eager blob downloads. https://github.com/cloudflare/artifact-fs

I threw together my own jujutsu powered FUSE subtree project just the other night. This was basically one-shotted, just to see how it does it, to learn more, not really intended for use. But obvious overlap. https://github.com/rektide/jj-workfuse


Yeah, going back and checking, it is weird. My bad, I am a little embarrassed, I too find no cobol, only Go.

To make up for my transgression ...

Here is Doom in Cobol tho https://github.com/deios0/cobol-doom

Rock Paper Scissors in Cobol as a Cloudflare Worker https://github.com/cloudflare/cobol-worker/blob/master/src/w...

Still excited to see C++ get slowly replaced by better languages.


1.0 isn't actually out and CI is red. https://github.com/cloudflare/cf/commits/main/ https://github.com/cloudflare/cf/releases

I have been using the pre-releases with success, but this post could have waited a few days!


so is it like CloudflareOS ? https://github.com/cloudflare/cloudflare-os

seems every company that has spare engineering resource all builds such thing internally


You got me! I keep meaning to do this.

https://github.com/cloudflare/pingora/issues/1014

I have now solved the problem once and for all


Hi Cloudflare people, if you are reading this. Please clean up your Cloudflare. Skills. There are way too many skills for the platform. You should consolidate all of your skills into a single skill and route everything thru that skill. The way it is right now pollutes our context window.

https://github.com/cloudflare/skills/tree/main/skills


I haven't tried this but sounds like https://github.com/cloudflare/cloudflare-os ?

It means you can deploy it in your own Cloudflare account, as opposed to it being a service provided by the developer.

But also, the Cloudflare Workers Runtime is open source, so you could deploy it or your own machines, too, if you want:

https://github.com/cloudflare/workerd


> yoloAI copies your worktree instead of mounting it

Cloudflare/artifact-fs does lazy shallow git clones with a FUSE filesystem. https://github.com/cloudflare/artifact-fs

Would that be faster?

Re: sandboxing methods like Clawk, Amla sandbox, bwrap, agentvm, ARM64 MTE with wasmtime-mte: https://news.ycombinator.com/item?id=48893850

A few months ago now I started adding seccomp sandboxing to jinja2rs and then liboverlayfs support to ansiblers (which are early Rust ports).

Haven't finished that, but I started working on a VM format that stores signed machine state into an OCI container repository, using the hypervisor migration support of KVM/QEMU.

Though this is not safe yet if ever, VM migrations are probably another way to sandbox and deploy en masse.


Funny, the same thing stuck out to me from Cloudflare OS's README (https://github.com/cloudflare/cloudflare-os#contributing):

> At this time, we are not seeking outside contribution.

> AI has made writing code easy. The hard part, today, is not writing the code, but reviewing it, making sure quality stays high, and keeping the product coherent. In that light, unfortunately, external code contributions are "donating" the easy part of the job, while creating more of the hard work.

Feels very weird, but is logically sound: owners know exactly what they want and so they can work with Claude et al to iterate on features faster than with most drive-by contributors.

It reads like an "end of an era" but I imagine the steady state will be somewhere in the middle: high trust, high context contributors will still be able to contribute meaningful work.


workerd stand-alone is designed to work well at small-medium scale.

If we open sourced Cloudflare's production scheduler, nobody would be able to use it because it is explicitly designed for HUGE, globe-spanning scale. Well, nobody except our direct competitors.

But the goal with workerd is actually that it should be pretty easy to run, about as easy as Node. Stateless workloads should scale trivially (just add more instances and load balance). For Durable Objects (statefull), currently it doesn't scale well at all, but I'm working on changes[0] so that it scales nicely across a cluster. I intentionally chose a design here that is operationally easy to set up. (Basically: just connect all the nodes to NFSv4.)

[0] https://github.com/cloudflare/workerd/pull/6780


Interesting bit from the repo: there is an agent's plan (presumably unintentionally) checked in two days ago as part of a rewrite from the Vercel AI SDK to pi-agent-core (https://github.com/cloudflare/cloudflare-os/blob/main/plans/...). That plan states "The project is in early alpha — minor behavioral regressions are acceptable and will be fixed as discovered.".

You beat us to it! Been meaning to land this but got distracted.

https://github.com/cloudflare/workerd/pull/6780

But honestly I love that there are multiple implementations now.


It looks like this product uses pi-agent directly (https://github.com/cloudflare/cloudflare-os/blob/main/plans/...). How come Cloudflare is not using their homegrown Agents SDK / Think / Flue harness for this? I am asking genuinely as I am evaluating a harness to build my agent platform.

what is the difference between celld and Cloudflare Workers open source version workerd?

https://github.com/cloudflare/workerd


wrangler is a development tool. You wouldn't want to run dev mode in production.

But workerd can be used directly without wrangler, and is production-capable in that format.

Unfortunately we did not have time to put together example configs for this before launch (I wish we could have delayed, it was out of my hands), but we will be doing so soon.

Mentioned in the readme here:

https://github.com/cloudflare/cloudflare-os#deploy-to-your-o...



which are open sourced [1]. I tried deploying it and had Deepseek v4 Flash create a dumb whiteboarding app.

[1] https://github.com/cloudflare/workerd


It's the same code. The only thing it doesn't include is the global scheduling and orchestration, but you don't actually want that locally. (And honestly... that stuff is a bit of a beast.)

Durable Objects are fully supported by workerd (and Cloudflare OS uses them extensively).

There is, however, one catch currently: Durable Objects don't scale out well without the global scheduling. For running Cloudflare OS for one user, this is actually no big deal, but a company-wide instance might not work well.

But I'm actually fixing that:

https://github.com/cloudflare/workerd/pull/6780

Unfortunately didn't get enough time to land it before this release, but it'll come soon.

With that I would expect a self-hosted Cloudflare OS on your own cluster to work quite well.


We really struggled with how to present this to multiple audiences at once.

My tweet thread, and the GitHub readme, is really the presentation intended for the HN crowd. The blog post is for a different audience.

https://github.com/cloudflare/cloudflare-os


That's why this is open source.

https://github.com/cloudflare/cloudflare-os

You're supposed to customize it.

Also it features a whole system for adding your own skills and context.


This is 100% open source and self-hostable.

https://github.com/cloudflare/cloudflare-os

It runs on top of our open source runtime.

https://github.com/cloudflare/workerd


What do you mean? This is 100% open source and self-hostable!

https://github.com/cloudflare/cloudflare-os

It runs on the open source Workers Runtime:

https://github.com/cloudflare/workerd

You can run it at home if you want. There's even a Home Assistant Gatekeeper.


https://github.com/cloudflare/cloudflare-os#cloudflare-os-an...

This is not a traditional computer operating system. We use the term "operating system" in two senses:

An operating system for the company to be productive with AI, in a way that is safe, so that the security team can sleep at night. An operating system for AI workloads, analogous to the sense in which a traditional operating system manages compute workloads.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: