Code goes wroom! Now Pi is running inside Durable Object. Container is only launched (and preserved) if agent needs it. Multi-user chat history leaves inside DO alongside Pi storage. Can be separated later into Agent DO. Switch containers, fast triggers, etc. Possibilities are endless.
earendil.com/posts/pi-dur... - god damn this is good. Cloudflare DO + Pi Durable = take over the world. Jokes aside, I am re-writing Roost a third time now I guess. Ditch DO as a middle-point, move Pi harness from sandbox into DO and let harness have 1 (or more) sandboxes to play with it.
0 reposts0 likes