mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* add e2b sandbox [wip] * Install e2b package * Add basic E2B sandbox integration * Update dependencies and fix command execution in E2BSandbox * Udpate e2b * Add comment * Lint * Remove unnecessary type conversion * Lint * Fix linting * Resolve comments * Update opendevin/action/fileop.py * Update opendevin/action/fileop.py * Fix log * Update E2B readme * poetry lock --------- Co-authored-by: Robert Brennan <accounts@rbren.io>
OpenDevin Shared Abstraction and Components
This is a Python package that contains all the shared abstraction (e.g., Agent) and components (e.g., sandbox, web browser, search API, selenium).
See the main README for instructions on how to run OpenDevin from the command line.
Sandbox Image
docker build -f opendevin/sandbox/docker/Dockerfile -t opendevin/sandbox:v0.1 .
Sandbox Runner
Run the docker-based interactive sandbox:
mkdir workspace
python3 opendevin/sandbox/docker/sandbox.py -d workspace
It will map ./workspace into the docker container with the folder permission correctly adjusted for current user.
Example screenshot: