mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
How to build custom E2B sandbox for OpenHands
E2B is an open-source secure cloud environment (sandbox) made for running AI-generated code and agents. E2B offers Python and JS/TS SDK to spawn and control these sandboxes.
-
Install the CLI with NPM.
npm install -g @e2b/cli@latestFull CLI API is here.
-
Build the sandbox
e2b template build --dockerfile ./Dockerfile --name "openhands"