Are there any plans to make Agent Canvas compatibl...
# questions
b
Are there any plans to make Agent Canvas compatible with
sandbox-server
? As far as I can tell there’s no way to wire them up together, either directly or via the AgentServer with a dedicated
conversation_runtime
- at least not without forking the Canvas or the Agent Server. Correct me if I’m wrong, but without those capabilities, the OSS deployments are in a weird state where you can either do a kubernetes deployment with no agent isolation at all, or a local deployment with per-conversation docker containers, which a less attractive DevOps story (or a Teams subscription, naturally)
c
Technically, it should be possible to add
sandbox-server
as a backend to an Agent Canvas, but I don’t know if it works out of the box in the current codebase
you can either do a kubernetes deployment with no agent isolation at all, or a local deployment with per-conversation docker containers
🤔 Or deploy on a remote VM with or without per-conversation containers?
h
Do you mean per-conversation sandboxing like this docs.openhands.dev/openhands/…/docker-execution
💯 1
b
Technically, it should be possible to add
sandbox-server
as a backend to an Agent Canvas, but I don’t know if it works out of the box in the current codebase
That’s what I was hoping for too, so I ran a spike to verify and it seems like the APIs for the
Local / Agent Server
and the
Cloud
variants are both different enough from the SandboxServer API to make it an issue
c
Personally, I completely wiped out docker from my machine, it’s not my cup of tea, sorry, but if you want you could mandate a bunch of agents to make it work for you and test absolutely everything 😅
b
I’m currently leaning towards taking the
docker-execution
route, but hosting it on a beefy server outside of my cluster and adding a reverse proxy on top - I can make it “Infrastructure as Code”, but it’s not the clean Helm Chart I hoped I’d end up with
nod 1
h
I talked with a company using the sandbox-server with canvas on top just recently so I know it is workable still. I don’t know the exact details on their setup…looking for the thread to tag them in
b
I know “buy thousands of dollars worth of Antrhopic credits and start maintaining your snowflake adapters” is the go-to recommended approach these days, but I’m trying to keep the software engineering mindset alive 😉
😅 1
I’d be very curious how they set it up, @hundreds-twilight-32833 I had a feeling like this wasn’t an encouraged workflow seeing how github.com/OpenHands/sandbox-server isn’t updated to a recent SDK version
h
Ah it was @polite-tailor-71270 who mentioned that setup. Maybe they can help shed some light on using the sandbox-server with agent canvas on top 🙂
👀 1
🤞 1
p
Ah, yes! We do this in our self-hosted deployment - we have the
canvas
on top of
sandbox-server
on Kubernetes, with one
agent-server
pod per conversation.
sandbox-server
itself is unmodified, but making it work took a fair amount of our own code around it (we have a plugin package to do that for us)
👀 1
🙌 1
b
If any of this is or could be public I’d be very interested to learn more
Not even for any commercial reason, just trying to make sure I can have a relatively elegant way of deploying the thing for myself without giving up on the sandbox security
p
That was exactly our starting point - and we wanted to make it as scalable as possible
💪 2