正在加载视频...

视频加载失败

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 次观看 • 5 个月前 •via X (Twitter)

46 条评论

cole murray 的头像
cole murray5 个月前

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 的头像
André König5 个月前

You can find more information about the project here:

Ray 的头像
Ray5 个月前

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

Igor Zalutski 的头像
Igor Zalutski5 个月前

@opencode looks cool!

Mayur 的头像
Mayur5 个月前

@opencode I'm interested in this!

Chat Data 的头像
Chat Data5 个月前

@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 的头像
Saïd Aitmbarek5 个月前

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

Michiel V 的头像
Michiel V5 个月前

@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😆 的头像
Olamzkid😆5 个月前

@opencode Hii Im interestedddd

tako 的头像
tako5 个月前

@opencode sending you a DM!

🇮🇳 𐄳 इन्द्रजाल 𐄳 的头像
🇮🇳 𐄳 इन्द्रजाल 𐄳5 个月前

@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 的头像
André König5 个月前

@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 的头像
Chat Data5 个月前

@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 的头像
oli5 个月前

@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 的头像
Jongmin Park5 个月前

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

Daniel 的头像
Daniel5 个月前

@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 的头像
Björn Biege5 个月前

@opencode 👀

Minjune Song 的头像
Minjune Song5 个月前

@anmol_soin @opencode Why opencode

André König 的头像
André König5 个月前

@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 的头像
tang | AI Product Maker5 个月前

@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 的头像
alkimiadev5 个月前

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 的头像
Johannes Schickling5 个月前

@opencode 🔥

Jude Hill 的头像
Jude Hill5 个月前

@opencode This recorded with openscreen?

Andreas Asprou 的头像
Andreas Asprou5 个月前

@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 的头像
Robin Maben5 个月前

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

André König 的头像
André König5 个月前

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

Adhyaay Karnwal 的头像
Adhyaay Karnwal5 个月前

@opencode lmk when oss

JuanPablo B. 的头像
JuanPablo B.5 个月前

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

André König 的头像
André König5 个月前

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

JuanPablo B. 的头像
JuanPablo B.5 个月前

@opencode 🥺

Michiel V 的头像
Michiel V5 个月前

@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 的头像
Michiel V5 个月前

@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 的头像
Harish5 个月前

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

Sahil Sachdev 的头像
Sahil Sachdev5 个月前

@opencode Would love to take it for a spin

Elena M. 的头像
Elena M.5 个月前

@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 的头像
Michiel V5 个月前

@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 | 🐂 的头像
Derek Barrera | 🐂5 个月前

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

André König 的头像
André König5 个月前

@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 的头像
Joseph Lozano5 个月前

@DerekBarrera @opencode how strict? VMs? Containerization?

André König 的头像
André König5 个月前

@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 的头像
kc5 个月前

@opencode I hope there will be a file manager.

André König 的头像
André König5 个月前

@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ۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗ☁️ 的头像
Benۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗ☁️5 个月前

@opencode Want $10k credits to try sandboxes?

tharshan 的头像
tharshan5 个月前

@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 的头像
André König5 个月前

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 的头像
tharshan5 个月前

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

相关视频

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 次观看 • 4 天前