IMO we definitely shouldn't have a docker dependen...
# proj-sdk
w
IMO we definitely shouldn't have a docker dependency directly in the SDK: https://github.com/All-Hands-AI/agent-sdk/blob/main/openhands/sdk/sandbox/docker.py
➕ 1
this should be its own package
c
it is not really depends on "docker" python package explicitly -- we do need it for eval so i think it kinda fits here
we already have three packages.. don't really want to add another one for this simple one file 😅
w
Why can't it live inside the evaluation repo?
The SDK shouldn't know anything about sandboxes
or we'll end up with weird dependency loops again
c
you will need to package the SDK into the docker while you are developing the SDK
so you will have to have some version of SDK cloned, just to develop agent & run eval
We already have eval and sdk being in two different repo which kinda make things a little bit tricky already
w
it shouldn't be too hard to have the eval repo reference a local copy of the SDK repo though
c
yeah, but it is something extra you need to configure.. maybe need a script to automate this
w
we don't need to solve this now, but think about how we could move the docker/sandbox stuff out of this package--it definitely shouldn't be here. This should be our simplest, most uncluttered package
👍 2
c
ideally if we have a good simple openhands-app-server that's integrated with this well & can be used for this purpose - it will solve the issue
👍 1
otherwise this kinda is the subset of openhands-app-server feature
w
ok sg!
q
Hard agree. > This should be our simplest, most uncluttered package Ultimately I think these needs are legit but they are a test of whether we can use SDK in the way we expect to. Which means common usage patterns don't just get bundled in, they need to be enabled.
c
Yeah, the main reason we keep them here now is because: 1. we need a way to launch a bunch of docker for eval 2. app server is not yet ready When app server is ready later, i'd imagine we will just directly using the
/sandbox
api there and maybe completely get rid of these logic
q
Yeah in the absence of the app server a shim makes total sense. Fine for now I think