TLDR Tech / AI
We rewrote our agent to run entirely in a Durable Object with Pi, Agents SDK, and Code Mode
camelAI recently moved its agent off of virtual machines and onto a Cloudflare Durable Object. Its file system lives in SQLite and R2, and it writes JavaScript instead of bash. The team moved off VMs because giving every user an always-on machine with attached disk was too expensive to scale. This post explains how the team completed the migration. camelAI's codebase recently went open source.
Read the full story