Loading video...

Video Failed to Load

Go Home

...and OpenCode runs on celld! Lots of monkey-patching to get this working, but really fun to see a glimpse of what's coming: ✅ Fresh OpenCode session per cell (aka Durable Object) ✅ Filesystem backed by SQLite VFS ✅ Bash tool provided by just-bash ✅ Multiplayer experience out of the...

40,584 views • 1 month ago •via X (Twitter)

25 Comments

dax's profile picture
dax1 month ago

@opencode wait what

Daniel Lee's profile picture
Daniel Lee1 month ago

@opencode opencode everywhere

Daniel Lee's profile picture
Daniel Lee1 month ago

@rough__sea would love to see more Node compat land in celld soon. For this particular demo, I needed to shim node:fs ode:fs/promises, node:os, node:module, node:process. I expect this to already be in your radar!

satyam's profile picture
satyam1 month ago

@opencode 3 words. Repo. link. please.

Daniel Lee's profile picture
Daniel Lee1 month ago

@opencode It's a bit messy! I think we'll see official support from opencode team for opencode <> cloudflare soon.

erik@try.works's profile picture

@opencode this is awesome

Elliot Hesp's profile picture
Elliot Hesp1 month ago

@opencode Cloud Run Durable Objects wen

Daniel Lee's profile picture
Daniel Lee1 month ago

@opencode Cloud Run Cells would be amazing

Kevin Vicent's profile picture
Kevin Vicent1 month ago

@opencode Durable objects everywhere

Kyssta's profile picture
Kyssta1 month ago

@opencode Fresh OpenCode session per cell, sqlite vfs for the filesystem, just-bash for the shell. The durable object model is closer to a real agent sandbox than a thread pool.

Puter's profile picture
Puter1 month ago

@opencode Is is oc v2 or regular v1? I have had better chances running @flueai inside a cell

Daniel Lee's profile picture
Daniel Lee1 month ago

@opencode @flueai oc v2. I'm certain we'll see see opencode team ship official DO support in the coming weeks (months?)

Puter's profile picture
Puter1 month ago

@opencode @flueai yeah its been going for a while, waiting for a quick production release from them

orangepeels's profile picture
orangepeels1 month ago

@opencode wow please open source

Daniel Lee's profile picture
Daniel Lee1 month ago

@opencode It's a bit messy! I think we'll see official support from opencode team for opencode <> cloudflare soon.

taisei's profile picture
taisei1 month ago

@opencode

John Suh's profile picture
John Suh1 month ago

@opencode why not stream terminal from a sandbox?

Daniel Lee's profile picture
Daniel Lee1 month ago

@opencode totally possible! I do think everyone is trying to define what sandbox means and what features are required, and it's fun to watch the space.

Shannon 🤖☠️'s profile picture
Shannon 🤖☠️1 month ago

@opencode It is. I’ve taken the is further and have a full Linux system running in celld with vfs. I’ll be open sourcing soon.

Daniel Lee's profile picture
Daniel Lee1 month ago

@opencode Looking forward to it!

Mats Erdkamp's profile picture
Mats Erdkamp1 month ago

@opencode Super cool! I thought celld and DO were fully compatible? Where does the need for monkey patching come from?

Daniel Lee's profile picture
Daniel Lee1 month ago

@opencode Not 100%, but I know the team is working on it!

Mats Erdkamp's profile picture
Mats Erdkamp1 month ago

@opencode Thanks!

nathaniel's profile picture
nathaniel1 month ago

@rough__sea @opencode nice work

ShaneCodes's profile picture
ShaneCodes1 month ago

@opencode Is there a shell?

Related Videos

Bash is all you need! Which is why I'm introducing my holiday project: just-bash just-bash is a pretty complete implementation of bash in TypeScript designed to be used as a bash tool by AI agents. Because it turns out agents love exploring data via shell scripts, even beyond coding. It comes with grep, sed, awk and the 99th percentile features that an agent like Claude Code or Cursor would use. In fact, Claude Code can use it for secure bash execution. In the package - A bash-tool for AI SDK - A binary for use by yourself or your coding agents - An overlay filesystem to feed files to your agent securely - A Vercel Sandbox compatible API, so you can quickly upgrade to a real VM if you need to run binaries - An example AI agent that explores the just-bash code base using just-bash - I imported the Oils shell bash compatibility suite and just-bash passes a very good chunk What is interesting about this codebase: It was essentially entirely written by Opus 4.5. Coding agents love bash and they are good at reproducing it. They are also great at text-book recursive descent parsers and AST tweet-walk interpreters. That said, it is, like, a lot of code and I didn't read it all 😅. This is very much a hack, but it also seems to be _really_ useful. I haven't really found anything agents want to use that it doesn't support and it's fast and secure (caveats apply). It doesn't have write access to your computer and the filesystem is given a root that the agent cannot escape from. Find it at Related: Our recent blog post how we migrated our data analysis agent to bash tools and achieved incredible quality improvements The video shows the example agent investigating the just-bash code base

Malte Ubl

125,326 views • 9 months ago