Flexible, secure, and scalable code execution with CAMEL’s runtime environments: guardrails, Docker, remote, and cloud sandboxes.
add(funcs)
: Register one or more FunctionTool
objects for executionreset()
: Reset the runtime to its initial stateget_tools()
: List all tools managed by the runtimeLLMGuardRuntime
DockerRuntime / UbuntuDockerRuntime
PYTHON_EXECUTABLE
, PYTHONPATH
, and more for custom envsRemoteHttpRuntime
DaytonaRuntime
FunctionTool
-style tool functions.exec_python_file()
—for running dynamically generated scripts with maximum isolation and safety.