Xingyao Wang 492feecb67
feat(sandbox): Add Jupyter Kernel for Interactive Python Interpreter for Sandbox (#1215)
* add initial version of py interpreter

* fix bug

* fix async issue

* remove debugging print statement

* initialize kernel & update printing

* fix port mapping

* uncomment debug lines

* fix poetry lock

* make jupyter py interpreter into a subclass
2024-04-19 16:55:51 +08:00
..
2024-04-18 15:06:51 -04:00
2024-04-12 07:53:47 -04:00
2024-04-14 06:51:17 +02:00
2024-04-15 14:19:02 +02:00
2024-04-17 11:41:18 -04:00
2024-04-14 06:51:17 +02:00

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/Dockerfile -t opendevin/sandbox:v0.1 .

Sandbox Runner

Run the docker-based interactive sandbox:

mkdir workspace
python3 opendevin/sandbox/sandbox.py -d workspace

It will map ./workspace into the docker container with the folder permission correctly adjusted for current user.

Example screenshot:

image