Загрузка видео...

Не удалось загрузить видео

На главную

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 дней назад