‹ BackHN Continuity

Thread

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

641 points · 315 comments · speckx

  1. taw1285 · · focus · HN ↗
    It looks like this product uses pi-agent directly (<a href="https:&#x2F;&#x2F;github.com&#x2F;cloudflare&#x2F;cloudflare-os&#x2F;blob&#x2F;main&#x2F;plans&#x2F;pi-impl.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cloudflare&#x2F;cloudflare-os&#x2F;blob&#x2F;main&#x2F;plans&#x2F;...). How come Cloudflare is not using their homegrown Agents SDK &#x2F; Think &#x2F; Flue harness for this? I am asking genuinely as I am evaluating a harness to build my agent platform.
    1. kentonv · · focus · HN ↗
      Flue is actually also built on Pi. We are big Pi fans at Cloudflare.

      Cloudflare OS uses pi-agent-core, but not pi-coding-agent. pi-agent-core, at least the way CFOS uses it right now, is more of an LLM API compatibility layer than a full harness. All the tools and things like compaction are implemented by CFOS itself.

      The code was actually using ai-sdk (from Vercel) up until a few days ago, when I switched it over to pi-agent-core.

      Why doesn&#x27;t it use Think? Mostly because Think actually didn&#x27;t exist yet when I started writing this, and the designs diverged in a way that made retrofitting hard. The CFOS harness does a few unusual things, like tracking the entire state of the filesystem as the conversation progresses using Yjs (a CRDT), so we can actually rewind the state to see what the agent saw at any particular point in time.

      I would actually like to delegate more to Pi, because I don&#x27;t think CFOS should be in the business of thinking about how to implement compaction or to optimize editor tools for each agent. But I&#x27;m not really sure if it&#x27;ll be possible without giving up some cool things about the CFOS harness, so we&#x27;ll see.

      1. jLaForest · · focus · HN ↗
        thanks for being responsive in the comments, its great to hear from the people behind the products. One interesting takeaway for me is that cloudflare does less than a few days of SVT before releasing a public product. Not trying to be critical, i just think its a sign of the times that theres so much pressure to release new products that proper SVT is skipped.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.