[Feature Request] Add Tenki Sandbox as a code interpreter backend
Hi CAMEL team — thank you for building and maintaining this awesome project. I'd like to contribute a new interpreter backend for this project. Before opening a PR, I'd love to check whether this is something you'd welcome.
Who I am
I'm an engineer at Luxor Labs, the team behind Tenki Sandbox. Tenki Sandbox is a platform for running untrusted / AI-generated code inside isolated microVMs. It ships an SDK (pip install tenki-sandbox) for creating a sandbox, executing commands, and reading/writing files.
Motivation
CAMEL already supports several execution backends (Docker, E2B, Microsandbox,…) through BaseInterpreter. Tenki follows the same microVM-based pattern as Microsandbox. I'd like to add a TenkiInterpreter and expose it via CodeExecutionToolkit(sandbox="tenki"), so it slots in exactly like the existing backends.
Benefit to CAMEL / OWL
It gives users one more secure place to run agent-generated code — hardware-isolated microVMs. Since OWL builds on CAMEL, it would inherit the backend automatically.
Proposed scope
- New
camel/interpreters/tenki_interpreter.py(TenkiInterpreter(BaseInterpreter)), modeled closely on the existingMicrosandboxInterpreter - Register it in
interpreters/__init__.pyand add a"tenki"option toCodeExecutionToolkit - Optional dependency in
pyproject.toml, mocked unit tests, and human-verified test logs included in the PR
I'm happy to adjust the scope based on your preferences. Would you be open to accepting a PR along these lines? Thank you for considering it!
Best, Raphael Guan, LuxorLabs
Source: camel-ai/owl