Replies: 2 comments
-
|
good stuff, working on making these sandboxed settups better supported natively in Paseo if anyone else has setups like these, please share them here |
Beta Was this translation helpful? Give feedback.
-
|
This is a really interesting setup. I like that the goal is not only “make the agent work,” but limit the blast radius of what the agent can affect. For containerized coding agents, the boundary between host-side actions and container-side actions becomes very important. The point about ACP file changes happening on the Paseo daemon side, while OMP RPC mode runs from inside the container, is exactly the kind of detail that can create subtle safety or path-mapping issues. A few things I would probably track or document for setups like this:
For local-model agent setups, sandboxing is just as important as model choice. A cheaper or local model is useful, but the real production question is whether the full workflow is safe, observable, and recoverable when the agent makes a bad decision. Native support for these sandboxed patterns in Paseo would make this kind of workflow much easier to reason about. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The goal of this is to limit any potential damage that could be done by an agent.
Environment:
Windows 11 host with a connected V100.
WSL2 Ubuntu 24.04
Docker Desktop
The setup:
Windows 11:
llama-swap running llama-server, serving a local model
Paseo GUI
WSL2
Mirror networking mode (port X in Ubuntu is port X in Windows). Makes Paseo daemon available to local network (and any VPN client if network is so configured).
Ubuntu 24.04 with paseo cli, docker tools, and some files:
compose.yaml - to run the agent container and codegrpahcontext (so that agent doesn't try starting its own)
Dockerfile(s) - CodeGraphContext (due to missing libraries in dockerhub image) and agent hosting image (I had trouble getting opencode to work, so dropped it in favor of OMP).
custom script - this is used to exec into the container to run the agent.
The one tricky thing (ESPECIALLY if you use ACP) is that ACP commands (file changes) are done on the Paseo Daemon end (as the client), while in OMP RPC mode, are done from inside the container. Below Dockerfile works for both (container and host must have the code in the same location for this ACP work).
Files:
compose.yaml:
Dockerfile for agents (not complete)
launcher script symlink to it as omp (or opencode if you get that working, or both)
Beta Was this translation helpful? Give feedback.
All reactions