├── .github └── workflows │ ├── publish-python.yaml │ └── tests.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── Makefile ├── README.md ├── api └── v1.yaml ├── box.Dockerfile ├── docs ├── TESTING.md ├── TODOLIST.md ├── contributing.md └── diagrams │ └── overview.excalidraw.png ├── go ├── .gitignore ├── .goreleaser.yaml ├── api │ └── v1 │ │ ├── gen.yaml │ │ ├── generate.go │ │ └── types.gen.go ├── client │ └── v1 │ │ └── client.go ├── go.mod ├── go.sum ├── mentisruntime │ ├── client │ │ ├── docker │ │ │ ├── docker.go │ │ │ ├── utils.go │ │ │ └── utils_test.go │ │ └── interface.go │ ├── handler │ │ └── handler.go │ ├── hub │ │ └── hub.go │ ├── main.go │ ├── manager │ │ ├── manager.go │ │ └── space.go │ └── ws │ │ ├── client.go │ │ ├── handler.go │ │ ├── hub.go │ │ └── interfaces.go ├── test │ └── e2e │ │ ├── client_v1_test.go │ │ └── main_test.go └── tools │ ├── README.md │ ├── go.mod │ ├── go.sum │ └── tools.go ├── python ├── .gitignore ├── examples │ ├── README.md │ ├── langgraph_simple.py │ ├── langgraph_simple_connect.py │ ├── langgraph_simple_embeded.py │ └── simple.py ├── mentis_client │ ├── README.md │ ├── __init__.py │ ├── api.py │ ├── client.py │ ├── embedded.py │ ├── error.py │ ├── exceptions.py │ ├── experimental │ │ ├── README.md │ │ ├── __init__.py │ │ ├── crewai.py │ │ └── langgraph.py │ ├── models.py │ ├── spaces.py │ └── test │ │ ├── __init__.py │ │ └── e2e_test.py ├── mentis_executor │ ├── main.py │ └── requirements.txt ├── pyproject.toml ├── scripts │ └── prepare_binary.sh ├── setup.py └── uv.lock ├── test ├── e2e │ ├── cases │ │ ├── error_handling.json │ │ ├── run_ipython_cell.json │ │ ├── run_shell_command.json │ │ └── space_management.json │ ├── run.sh │ └── sandbox.json ├── manual_api_tests.sh ├── sandboxaid_stderr.log └── sandboxaid_stdout.log └── web_demo ├── .gitignore ├── README.md ├── app ├── api │ └── sandbox │ │ ├── create │ │ └── route.ts │ │ ├── execute │ │ └── route.ts │ │ └── list │ │ └── route.ts ├── layout.tsx └── page.tsx ├── components.json ├── components ├── DebugView.tsx ├── TerminalComponent.tsx └── ui │ ├── .gitkeep │ ├── button.tsx │ ├── card.tsx │ ├── input.tsx │ ├── scroll-area.tsx │ └── select.tsx ├── globals.css ├── lib └── utils.ts ├── next-env.d.ts ├── next.config.mjs ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── tailwind.config.ts └── tsconfig.json /.github/workflows/publish-python.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/.github/workflows/publish-python.yaml -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/.github/workflows/tests.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/README.md -------------------------------------------------------------------------------- /api/v1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/api/v1.yaml -------------------------------------------------------------------------------- /box.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/box.Dockerfile -------------------------------------------------------------------------------- /docs/TESTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/docs/TESTING.md -------------------------------------------------------------------------------- /docs/TODOLIST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/docs/TODOLIST.md -------------------------------------------------------------------------------- /docs/contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/docs/contributing.md -------------------------------------------------------------------------------- /docs/diagrams/overview.excalidraw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/docs/diagrams/overview.excalidraw.png -------------------------------------------------------------------------------- /go/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/.gitignore -------------------------------------------------------------------------------- /go/.goreleaser.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/.goreleaser.yaml -------------------------------------------------------------------------------- /go/api/v1/gen.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/api/v1/gen.yaml -------------------------------------------------------------------------------- /go/api/v1/generate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/api/v1/generate.go -------------------------------------------------------------------------------- /go/api/v1/types.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/api/v1/types.gen.go -------------------------------------------------------------------------------- /go/client/v1/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/client/v1/client.go -------------------------------------------------------------------------------- /go/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/go.mod -------------------------------------------------------------------------------- /go/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/go.sum -------------------------------------------------------------------------------- /go/mentisruntime/client/docker/docker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/client/docker/docker.go -------------------------------------------------------------------------------- /go/mentisruntime/client/docker/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/client/docker/utils.go -------------------------------------------------------------------------------- /go/mentisruntime/client/docker/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/client/docker/utils_test.go -------------------------------------------------------------------------------- /go/mentisruntime/client/interface.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/client/interface.go -------------------------------------------------------------------------------- /go/mentisruntime/handler/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/handler/handler.go -------------------------------------------------------------------------------- /go/mentisruntime/hub/hub.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/hub/hub.go -------------------------------------------------------------------------------- /go/mentisruntime/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/main.go -------------------------------------------------------------------------------- /go/mentisruntime/manager/manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/manager/manager.go -------------------------------------------------------------------------------- /go/mentisruntime/manager/space.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/manager/space.go -------------------------------------------------------------------------------- /go/mentisruntime/ws/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/ws/client.go -------------------------------------------------------------------------------- /go/mentisruntime/ws/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/ws/handler.go -------------------------------------------------------------------------------- /go/mentisruntime/ws/hub.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/ws/hub.go -------------------------------------------------------------------------------- /go/mentisruntime/ws/interfaces.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/mentisruntime/ws/interfaces.go -------------------------------------------------------------------------------- /go/test/e2e/client_v1_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/test/e2e/client_v1_test.go -------------------------------------------------------------------------------- /go/test/e2e/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/test/e2e/main_test.go -------------------------------------------------------------------------------- /go/tools/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/tools/README.md -------------------------------------------------------------------------------- /go/tools/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/tools/go.mod -------------------------------------------------------------------------------- /go/tools/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/tools/go.sum -------------------------------------------------------------------------------- /go/tools/tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/go/tools/tools.go -------------------------------------------------------------------------------- /python/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/.gitignore -------------------------------------------------------------------------------- /python/examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/examples/README.md -------------------------------------------------------------------------------- /python/examples/langgraph_simple.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/examples/langgraph_simple_connect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/examples/langgraph_simple_connect.py -------------------------------------------------------------------------------- /python/examples/langgraph_simple_embeded.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/examples/langgraph_simple_embeded.py -------------------------------------------------------------------------------- /python/examples/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/examples/simple.py -------------------------------------------------------------------------------- /python/mentis_client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/README.md -------------------------------------------------------------------------------- /python/mentis_client/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/__init__.py -------------------------------------------------------------------------------- /python/mentis_client/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/api.py -------------------------------------------------------------------------------- /python/mentis_client/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/client.py -------------------------------------------------------------------------------- /python/mentis_client/embedded.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/embedded.py -------------------------------------------------------------------------------- /python/mentis_client/error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/error.py -------------------------------------------------------------------------------- /python/mentis_client/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/exceptions.py -------------------------------------------------------------------------------- /python/mentis_client/experimental/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/experimental/README.md -------------------------------------------------------------------------------- /python/mentis_client/experimental/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/experimental/__init__.py -------------------------------------------------------------------------------- /python/mentis_client/experimental/crewai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/experimental/crewai.py -------------------------------------------------------------------------------- /python/mentis_client/experimental/langgraph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/experimental/langgraph.py -------------------------------------------------------------------------------- /python/mentis_client/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/models.py -------------------------------------------------------------------------------- /python/mentis_client/spaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/spaces.py -------------------------------------------------------------------------------- /python/mentis_client/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/test/__init__.py -------------------------------------------------------------------------------- /python/mentis_client/test/e2e_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_client/test/e2e_test.py -------------------------------------------------------------------------------- /python/mentis_executor/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_executor/main.py -------------------------------------------------------------------------------- /python/mentis_executor/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/mentis_executor/requirements.txt -------------------------------------------------------------------------------- /python/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/pyproject.toml -------------------------------------------------------------------------------- /python/scripts/prepare_binary.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/scripts/prepare_binary.sh -------------------------------------------------------------------------------- /python/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/setup.py -------------------------------------------------------------------------------- /python/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/python/uv.lock -------------------------------------------------------------------------------- /test/e2e/cases/error_handling.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/test/e2e/cases/error_handling.json -------------------------------------------------------------------------------- /test/e2e/cases/run_ipython_cell.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/test/e2e/cases/run_ipython_cell.json -------------------------------------------------------------------------------- /test/e2e/cases/run_shell_command.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/test/e2e/cases/run_shell_command.json -------------------------------------------------------------------------------- /test/e2e/cases/space_management.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/test/e2e/cases/space_management.json -------------------------------------------------------------------------------- /test/e2e/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/test/e2e/run.sh -------------------------------------------------------------------------------- /test/e2e/sandbox.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/test/e2e/sandbox.json -------------------------------------------------------------------------------- /test/manual_api_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/test/manual_api_tests.sh -------------------------------------------------------------------------------- /test/sandboxaid_stderr.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/test/sandboxaid_stderr.log -------------------------------------------------------------------------------- /test/sandboxaid_stdout.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web_demo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/.gitignore -------------------------------------------------------------------------------- /web_demo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/README.md -------------------------------------------------------------------------------- /web_demo/app/api/sandbox/create/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/app/api/sandbox/create/route.ts -------------------------------------------------------------------------------- /web_demo/app/api/sandbox/execute/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/app/api/sandbox/execute/route.ts -------------------------------------------------------------------------------- /web_demo/app/api/sandbox/list/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/app/api/sandbox/list/route.ts -------------------------------------------------------------------------------- /web_demo/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/app/layout.tsx -------------------------------------------------------------------------------- /web_demo/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/app/page.tsx -------------------------------------------------------------------------------- /web_demo/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/components.json -------------------------------------------------------------------------------- /web_demo/components/DebugView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/components/DebugView.tsx -------------------------------------------------------------------------------- /web_demo/components/TerminalComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/components/TerminalComponent.tsx -------------------------------------------------------------------------------- /web_demo/components/ui/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web_demo/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/components/ui/button.tsx -------------------------------------------------------------------------------- /web_demo/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/components/ui/card.tsx -------------------------------------------------------------------------------- /web_demo/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/components/ui/input.tsx -------------------------------------------------------------------------------- /web_demo/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /web_demo/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/components/ui/select.tsx -------------------------------------------------------------------------------- /web_demo/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/globals.css -------------------------------------------------------------------------------- /web_demo/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/lib/utils.ts -------------------------------------------------------------------------------- /web_demo/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/next-env.d.ts -------------------------------------------------------------------------------- /web_demo/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/next.config.mjs -------------------------------------------------------------------------------- /web_demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/package.json -------------------------------------------------------------------------------- /web_demo/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/pnpm-lock.yaml -------------------------------------------------------------------------------- /web_demo/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/postcss.config.js -------------------------------------------------------------------------------- /web_demo/tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/tailwind.config.ts -------------------------------------------------------------------------------- /web_demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foreveryh/sandboxai/HEAD/web_demo/tsconfig.json --------------------------------------------------------------------------------