Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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 görüntüleme • 5 ay önce •via X (Twitter)

46 Yorum

cole murray profil fotoğrafı
cole murray5 ay önce

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!

André König profil fotoğrafı
André König5 ay önce

You can find more information about the project here:

Ray profil fotoğrafı
Ray5 ay önce

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

Igor Zalutski profil fotoğrafı
Igor Zalutski5 ay önce

@opencode looks cool!

Mayur profil fotoğrafı
Mayur5 ay önce

@opencode I'm interested in this!

Chat Data profil fotoğrafı
Chat Data5 ay önce

@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.

Saïd Aitmbarek profil fotoğrafı
Saïd Aitmbarek5 ay önce

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

Michiel V profil fotoğrafı
Michiel V5 ay önce

@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

Olamzkid😆 profil fotoğrafı
Olamzkid😆5 ay önce

@opencode Hii Im interestedddd

tako profil fotoğrafı
tako5 ay önce

@opencode sending you a DM!

🇮🇳 𐄳 इन्द्रजाल 𐄳 profil fotoğrafı
🇮🇳 𐄳 इन्द्रजाल 𐄳5 ay önce

@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)?

André König profil fotoğrafı
André König5 ay önce

@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).

Chat Data profil fotoğrafı
Chat Data5 ay önce

@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.

oli profil fotoğrafı
oli5 ay önce

@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 :)

Jongmin Park profil fotoğrafı
Jongmin Park5 ay önce

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

Daniel profil fotoğrafı
Daniel5 ay önce

@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

Björn Biege profil fotoğrafı
Björn Biege5 ay önce

@opencode 👀

Minjune Song profil fotoğrafı
Minjune Song5 ay önce

@anmol_soin @opencode Why opencode

André König profil fotoğrafı
André König5 ay önce

@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.

tang | AI Product Maker profil fotoğrafı
tang | AI Product Maker5 ay önce

@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.

alkimiadev profil fotoğrafı
alkimiadev5 ay önce

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.

Johannes Schickling profil fotoğrafı
Johannes Schickling5 ay önce

@opencode 🔥

Jude Hill profil fotoğrafı
Jude Hill5 ay önce

@opencode This recorded with openscreen?

Andreas Asprou profil fotoğrafı
Andreas Asprou5 ay önce

@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!

Robin Maben profil fotoğrafı
Robin Maben5 ay önce

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

André König profil fotoğrafı
André König5 ay önce

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

Adhyaay Karnwal profil fotoğrafı
Adhyaay Karnwal5 ay önce

@opencode lmk when oss

JuanPablo B. profil fotoğrafı
JuanPablo B.5 ay önce

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

André König profil fotoğrafı
André König5 ay önce

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

JuanPablo B. profil fotoğrafı
JuanPablo B.5 ay önce

@opencode 🥺

Michiel V profil fotoğrafı
Michiel V5 ay önce

@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

Michiel V profil fotoğrafı
Michiel V5 ay önce

@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

Harish profil fotoğrafı
Harish5 ay önce

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

Sahil Sachdev profil fotoğrafı
Sahil Sachdev5 ay önce

@opencode Would love to take it for a spin

Elena M. profil fotoğrafı
Elena M.5 ay önce

@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.

Michiel V profil fotoğrafı
Michiel V5 ay önce

@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

Derek Barrera | 🐂 profil fotoğrafı
Derek Barrera | 🐂5 ay önce

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

André König profil fotoğrafı
André König5 ay önce

@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.

Joseph Lozano profil fotoğrafı
Joseph Lozano5 ay önce

@DerekBarrera @opencode how strict? VMs? Containerization?

André König profil fotoğrafı
André König5 ay önce

@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.

kc profil fotoğrafı
kc5 ay önce

@opencode I hope there will be a file manager.

André König profil fotoğrafı
André König5 ay önce

@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.

Benۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗ☁️ profil fotoğrafı
Benۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗ☁️5 ay önce

@opencode Want $10k credits to try sandboxes?

tharshan profil fotoğrafı
tharshan5 ay önce

@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

André König profil fotoğrafı
André König5 ay önce

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.

tharshan profil fotoğrafı
tharshan5 ay önce

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

Benzer Videolar

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 görüntüleme • 4 gün önce