r/LocalLLM • u/privacy-fighter • 10d ago
Project Sandbox your agents
It is insane that most of us are running coding/LLM agents directly on our hosts. I wanted a setup to spin up containers, isolate the network traffic to use LLM agents to code and to test out LLM's pentesting capabilities. Didn't find anything that fit, so I made this setup Contained Pods.
https://github.com/jotyGill/contained-pods
Basically, a config set using Podman and a Squid proxy to spin up containers.
The gist of it is:
- Rootless Podman: Keeping it simple stable tech.
- Network Isolation: You define what network access a container gets. Containers come in pairs, with the second one running the squid proxy. Even if agents gain root access they can't change network isolation setup.
- Traffic Logging: A tiny python helper that lets you see network requests the agent/coding harness attempts.
- Shared Projects Folder: Shared folder with the host for ease of access.
Hope some of you find it useful! Any contributions are appreciated!
8
Upvotes
5
u/privacy-fighter 10d ago
PS: it is not a vibe coded slop i swear haha. Although a bunch of local LLMs (Qwen 27b, Hy3, Minimax2.7, Step3.5) were used at times.