Reading up on Pi Durable
3 deep · digging since oct 03
- Cutting our inference bill by 68% by being obsessive about optimization
Cloudflare cut its AI code reviewer costs by 68% (to $0.77 per review) and halved latency through aggressive prompt caching, fewer LLM calls per session, and cheaper model routing.
Takes
A *very* early look at my 'Apple Bots' app based on Pi Durable, running on macOS. The app will take advantage of the unique features of each Apple device. That means a global quick entry on the Mac, agent split views on Mac/iPad, menu bar, and more. No native Apple framework will be ignored because I'm making the app I've always wanted. Apple Intelligence is seamlessly integrated as a background utility, and you can use any combination of models you want. Code mode works beautifully (thanks @badlogicgames) for tool-calling, and the latest MCP spec is also natively supported. Lots of work to do still, but getting to a usable state!
@viticci
Cloudflare have integrated Pi Durable in the agents SDK. Really happy how it turned out. Props to @mattzcarey et al. for getting this done on such short notice. It "just works" :) https://github.com/cloudflare/agents/blob/df9c0ef6c4541c5552b5ce4d6ba292162dbd0908/packages/agents/src/harness/pi/harness.ts
@badlogicgames