Graham Neubig c7dff3e4d2
Remove third-party runtimes (daytona, modal, e2b, runloop) from main codebase (#9213)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: Engel Nyst <engel.nyst@gmail.com>
2025-06-26 07:39:39 -04:00
..

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.

  1. Install the CLI with NPM.

    npm install -g @e2b/cli@latest
    

    Full CLI API is here.

  2. Build the sandbox

e2b template build --dockerfile ./Dockerfile --name "openhands"