Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Coding agents shouldn't run on a laptop. That's why I've been building Cave. It's a self-hosted platform for running OpenCode agents in isolated sandboxes on your own server. You give it a GitHub repo, it creates an isolated sandbox, clones the code, sets everything up, and gives you a...

36,142 Aufrufe • vor 5 Monaten •via X (Twitter)

46 Kommentare

Profilbild von cole murray
cole murrayvor 5 Monaten

y no open source? if you want an open source project that is shipped in production across multiple teams with no waitlist supports - multiplayer sessions - slack, web, linear, github - integrated GH code reviewer - tunnel ports - code server and more!

Profilbild von André König
André Königvor 5 Monaten

You can find more information about the project here:

Profilbild von Ray
Rayvor 5 Monaten

@opencode Very cool, don't need open source, just something that works lol 😆

Profilbild von Igor Zalutski
Igor Zalutskivor 5 Monaten

@opencode looks cool!

Profilbild von Mayur
Mayurvor 5 Monaten

@opencode I'm interested in this!

Profilbild von Chat Data
Chat Datavor 5 Monaten

@opencode Running agents in isolated sandboxes on your own server feels like the right default. Once teams go beyond one laptop, the real need is observability across runs, repos, and permissions, not just a better local loop.

Profilbild von Saïd Aitmbarek
Saïd Aitmbarekvor 5 Monaten

@opencode brilliant work playing with cave today, would be cool if you oss it :) let's launch you on btw anytime helpful

Profilbild von Michiel V
Michiel Vvor 5 Monaten

@opencode been thinking about this a lot. we built around the same idea, VMs that boot in milliseconds so agents get their own isolated compute. the laptop bottleneck is real

Profilbild von Olamzkid😆
Olamzkid😆vor 5 Monaten

@opencode Hii Im interestedddd

Profilbild von tako
takovor 5 Monaten

@opencode sending you a DM!

Profilbild von 🇮🇳 𐄳 इन्द्रजाल 𐄳
🇮🇳 𐄳 इन्द्रजाल 𐄳vor 5 Monaten

@opencode Looks super interesting! We have a multi-repo use case (like what Warp’s Oz supports, where when you create an agent session, you can add multiple repos). Is that something that could perhaps be supported (or already is)?

Profilbild von André König
André Königvor 5 Monaten

@opencode It is already supported. You're starting a Cave with one repository, but you can do in the Cave whatever you want (e.g. cloning additional repositories).

Profilbild von Chat Data
Chat Datavor 5 Monaten

@opencode Self hosted is the right direction for coding agents. Once runs move off laptops, the real differentiator becomes isolation, traceability, and how easily teams can monitor multiple parallel agents across repos. Cave sounds like it is aiming at the right bottlenecks.

Profilbild von oli
olivor 5 Monaten

@opencode This sounds cool! I have been building Maestro because I wanted code on the road. It’s just sandbox terminals but maybe that’s interesting as well :)

Profilbild von Jongmin Park
Jongmin Parkvor 5 Monaten

@opencode The isolation model makes a lot of sense. One agent nuking your env files is funny once, not twice.

Profilbild von Daniel
Danielvor 5 Monaten

@opencode Hi, I'm interested! I currently use emdesh as a harness harness, but am not happy with their performance and am looking for solutions to ssh into my remote dev environment but still being able to keep the overview of different agents across different projects

Profilbild von Björn Biege
Björn Biegevor 5 Monaten

@opencode 👀

Profilbild von Minjune Song
Minjune Songvor 5 Monaten

@anmol_soin @opencode Why opencode

Profilbild von André König
André Königvor 5 Monaten

@anmol_soin @opencode Multiple reasons, but the most important one: It is awesome 😬 Then, the architecture is a great fit, supports all LLM providers out there, etc. OpenCode comes pre-installed. You can install whatever harness you want within your Cave though.

Profilbild von tang | AI Product Maker
tang | AI Product Makervor 5 Monaten

@opencode isolated sandboxes is the right call. I've had agents accidentally delete test fixtures, overwrite env files, even mess with git history on the main branch. running them on my actual dev machine stopped being acceptable after the third incident.

Profilbild von alkimiadev
alkimiadevvor 5 Monaten

awesome, yeah I've been using opencode and hosting it on a ovh server. One of my projects involves a lot of cuda work so I've also been using vastai. That was a huge mess at first but I've got a really pretty hacky solution that actually works fairly well barring network or tool problems. I had to write a basic local http server(with an openAI proxy) and a coordinator/message endpoint, install opencode on the remote machine, and then start the opencode server. I then tunneled that port to the ovh server and tunneled the coordinator's port to the instance. Each remote instance is started via ssh and using --attach to attach it to the opencode server and --format json which outputs the raw json events. That is recorded to a jsonl log file for a given session id. Its a huge mess because its a fundamentally different use case than opencode was designed for. Trying to attach 8 instances to the server on ovh just kills it and there is no reason for that imho. Javascript on that server should be able to handle several thousand connections at once and 8 shouldn't even move the needle. My next project after this is going to be similar to opencode but drastically simplified and with a hub-spoke pattern where the spokes are envs and the hub coordinates between llm providers and the tools for the envs. There is just no way it should kill a server with even several hundred or maybe a couple thousand running at once since its just basically proxying between providers and tool calls with some added overhead for logging, permissions, etc - less than the overhead from a typical full stack app.

Profilbild von Johannes Schickling
Johannes Schicklingvor 5 Monaten

@opencode 🔥

Profilbild von Jude Hill
Jude Hillvor 5 Monaten

@opencode This recorded with openscreen?

Profilbild von Andreas Asprou
Andreas Asprouvor 5 Monaten

@opencode Well done. I've been building something in a similar spirit (which I won't share here to steal the limelight!) so I appreciate the thoughtfulness into the details. Installing Cave as i write this!

Profilbild von Robin Maben
Robin Mabenvor 5 Monaten

@opencode I'd like to try this on a Pi 4b

Profilbild von André König
André Königvor 5 Monaten

@opencode Technically it should work. Didn't try on a RPi. Drop me a DM and give it a spin ☺️

Profilbild von Adhyaay Karnwal
Adhyaay Karnwalvor 5 Monaten

@opencode lmk when oss

Profilbild von JuanPablo B.
JuanPablo B.vor 5 Monaten

@opencode any chance gitlab can be included? :) not every repo runs at github :c

Profilbild von André König
André Königvor 5 Monaten

@opencode You’re right, GitLab isn’t on the immediate roadmap though.

Profilbild von JuanPablo B.
JuanPablo B.vor 5 Monaten

@opencode 🥺

Profilbild von Michiel V
Michiel Vvor 5 Monaten

@opencode exactly. we're solving this at - VM boots in ~1 second, you get a live computer on the internet. agents run there, not on your machine. no deploy step

Profilbild von Michiel V
Michiel Vvor 5 Monaten

@opencode exactly right. the laptop-as-compute model breaks the moment you want the agent running overnight. we built for this, SSH into a real VM in under 1s, fork state mid-run, suspend without losing anything. no docker wrappers, own kernel

Profilbild von Harish
Harishvor 5 Monaten

@opencode So it's essentially conductor right? Good work.

Profilbild von Sahil Sachdev
Sahil Sachdevvor 5 Monaten

@opencode Would love to take it for a spin

Profilbild von Elena M.
Elena M.vor 5 Monaten

@opencode The interesting shift is from “give every agent a terminal” to “give every workflow an execution surface with isolation, lifecycle, and observability.” Once you run multiple agents in parallel, laptop-local stops being a serious control plane.

Profilbild von Michiel V
Michiel Vvor 5 Monaten

@opencode we built for this exact use case. managed cloud computers with fork - branch a machine per agent, run in parallel, destroy when done. sub-10ms suspend, persistent disk, Claude Code pre-installed

Profilbild von Derek Barrera | 🐂
Derek Barrera | 🐂vor 5 Monaten

@opencode Hate to ask but don’t you just need one opencode server for this vs many?

Profilbild von André König
André Königvor 5 Monaten

@opencode You wouldn't have any kind of isolation between the projects then. One OpenCode server would maintain multiple projects then. One Cave = one project with a strict isolation.

Profilbild von Joseph Lozano
Joseph Lozanovor 5 Monaten

@DerekBarrera @opencode how strict? VMs? Containerization?

Profilbild von André König
André Königvor 5 Monaten

@DerekBarrera @opencode Currently Incus containers with Kernel Livepatch, but the architecture is swappable. Working on an adapter for Firecracker. Others adapters for existing sandbox solutions is on the roadmap.

Profilbild von kc
kcvor 5 Monaten

@opencode I hope there will be a file manager.

Profilbild von André König
André Königvor 5 Monaten

@opencode Yes, I'm working on extension points so that there will be a plugin (eventually) that provides a file browser. In the meantime you can connect to your Cave with VS Code / Zed and use the file browsing capabilities from there.

Profilbild von Benۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗ☁️
Benۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗ☁️vor 5 Monaten

@opencode Want $10k credits to try sandboxes?

Profilbild von tharshan
tharshanvor 5 Monaten

@opencode Opencode are working on orchestration and managing multiple servers from one opencode and also actively working on multiple sandbox provider support. Is there something different here? Not sure how this can become a paid product when a free alternative exists

Profilbild von André König
André Königvor 5 Monaten

Who said that it needs to become a paid product? The harness and the sandboxing story is one aspect. My idea for Cave is exploring the possibilities of "what an IDE of the future" could look like. I want to tackle problems like: workflow orchestration, context streamlining, building extension points so that you can easily extend it in a way that matches your own workflow, etc.

Profilbild von tharshan
tharshanvor 5 Monaten

@opencode Ah ok! That explains it better! Sounds exciting

Ähnliche Videos

WHAT IS AN AI "SOFTWARE FACTORY" AND IS IT HYPE (31 MINUTE BREAKDOWN) I think it's a silly name for a genuinely USEFUL idea! A software factory is 5-6 markdown files that sit next to your code and tell your agents how you like to work, so you can build high quality apps 24/7. It's going viral because AI coding has a trust problem. The model can build the feature, but with no structure around it you end up babysitting the agent, wondering what changed and hoping it didn't break something important. So you build with agents the same way a factory builds physical products! 1. Each feature gets its own station, which in software means its own branch, so multiple agents can work at the same time without stepping on each other. 2. The build station gives the agent rules for how to write the code, because "it works" is very different from "a developer could open this repo next month and understand what happened." 3. The proof station makes the agent show evidence. Screenshots, videos, speed numbers, before-and-after states. It has to prove the thing works instead of saying it works. 4. The review station runs the work through a code review agent, and if it doesn't clear the bar, it goes back through the line. 5. Then you show up at the end to merge. For a 100+ years people have run production this way, and it worked because the structure is good. The full episode on what’s a software factory is NOW live on The Startup Ideas Podcast (SIP) 🧃 with the wonderful Micky Watch: So is it hype?!? I don't think it is, because of what it does to your output! WITHOUT a factory, you build ONE feature at a time and you're the bottleneck at every step, prompting, checking the diff, testing it yourself, hoping nothing else broke (spoiler alert it often does). WITH a factory, EACH feature runs in its own isolated copy of the app, so you can have 10+ of them going at once, and each agent has to prove its own work and pass a code review before it ever reaches you. Instead of supervising the work, you're APPROVING finished work that already has evidence attached. REALLY interesting to see how work with agents is evolving to be….well, similar to working with people!

GREG ISENBERG

28,428 Aufrufe • vor 4 Tagen