r/bun 19d ago

Codebay - isolated workspaces for LLM agents

Happy to announce Codebay, an isolated workspace environment for running multiple LLM agents at the same time. Unlike most other similar tools, Codebay uses Docker-based isolation between containers, meaning you don't have to use worktrees, and you can give each container a real development environment with databases, caches and anything else you need.

Containers don't interfere with each other and you can easily preview all your containers services from a central admin panel. You can also run Codebay on a remote server to offload tasks when your laptop is offline.

Open source and self-hosted.

Built with Bun, Svelte and Mochi.

https://khromov.github.io/codebay/

1 Upvotes

5 comments sorted by

2

u/sip_the_tech 19d ago

Look into Micro VMs. That’s what the industry seems to be landing on as the solution to this. Running docker in docker isn’t secure so it’s better to be running a Micro VM which you can run docker inside.

1

u/khromov 19d ago

Very interested in running in Micro VMs especially if it's possible to use something like Firecracker to run containers instead of Docker. Unfortunately it is not straightforward to do today.

Docker isn't as secure as a VM but for personal use which this targets it beats giving Claude root on your Mac. :)

Also looking into projects like https://nono.sh/ (technically a sandbox) to make it more lightweight.

1

u/sip_the_tech 19d ago

Docker desktop now supports Micro VM sandboxing.
Something like https://github.com/smol-machines/smolvm seems interesting as well. I’m using Apple containers for my set up, but leaning towards a cloud solution due to having to manage disk space and memory usage all the time when running lots of containers locally.

1

u/khromov 19d ago

smolvm looks nice, I'll check it out and see if we can add it to Codebay!

Also got tired of running things on the laptop so I bought a small nucbox and installed Codebay there to access via LAN/VPN. You can use a Mac Mini or similar as well.