4 ms·
Don't want to say it's better, but I implemented Agent Circus (https://github.com/Embedded-Focus/agent-circus https://github.com/Embedded-Focus/agent-circus) wh
by rpoisel 2mo ago
Don't want to say it's better, but I implemented Agent Circus (https://github.com/Embedded-Focus/agent-circus https://github.com/Embedded-Focus/agent-circus) which allows to lock AI agent harnesses into docker containers.
I'm using it as my main driver since months.
Support for running agent harnesses in unprivileged podman containers is on my feature list. :-)
- pojzon 2mo agoDocker containers are not enough isolation for anyone that cares about jailbreak scenarios. Only real alternative is to use microvms. My goto solution for this are apple/containers.
- Supermancho 2mo ago> Docker containers are not enough isolation for anyone that cares about jailbreak scenarios. For the vast majority of developers, containers are enough, which is why they are ubiquitous while vms are less common. Ofc that ubiquity has led to lazy configuration, which is how the jailbreaking can occur. Knowing what you are doing with containers is a requirement to use containers as an AI sandbox.
- wbl 2mo agoThe AI launches new kernel bugs as matter of course.
- zmmmmm 2mo agothe big thing containers don't allow is for the agent to run and use docker itself without compromising the host I'm not sure where "vast majority" cuts in but I would say a huge number of developers use docker and it is inconvenient at best if your AI harness can't actually run and test the infra it is building against
- pjmlp 2mo agoThere were not the solution for a while now, that is why Kata containers came to be in first place.
- TacticalCoder 2mo ago> Only real alternative is to use microvms. My goto solution for this are apple/containers. Why microVMs? I never ever run a container, AI harness or other, in something else than a full on VM. I could use a microVM but in any case I really don't see why I'd run a container on one of my bare metal OS: the place of a container is inside a VM (or microVM). Especially for AI harnesses where the threat of an escape is very real: the more defense in depth, the better. And If I can use rootless Podman instead of "rootfull" Docker, the better. Most of my containers are Podman btw. > My goto solution for this are apple/containers. To each his own: my goto solution is an actual server on my LAN with shitload of cores and memory and plenty of scripts to provision VMs etc. I really don't understand why people are YOLO'ing containers on their bare metal OS.
- deleted 2mo ago[deleted]
- graemep 2mo ago> I really don't understand why people are YOLO'ing containers on their bare metal OS. You know about the people who do not bother with the container? Quite a few make “No problem so far” comments on HN discussions.
- mirmor23 2mo ago[dead]
- sgc 2mo agoI agree. I thought everybody knew to never use docker for high security, because it is "security lite". Might as well just use firejail. I presume that an agent knows more about networking and virtualization than I do. The only real solution is using multi-tenant level vm isolation, while presuming that the agent still might break out of their vm. So the vms need to be hosted on their own physical box that only runs the kvm provisioning host (or similar), and is firewalled on its own isolated network. It's a bit of a pain of course, but anything less feels almost like security theatre rather than meaningful to me. Otherwise you need to stick to the remote chatbots only.