Code Sandbox
Isolated code execution for files, analysis, and transformations
Code Sandbox is a built-in tool for secure, isolated code execution in meinGPT.
Current capabilities
Supported runtimes:
pythonjavascript
Core methods:
sandbox-create-sessionsandbox-write-filesandbox-upload-filesandbox-download-filesandbox-list-filessandbox-execute-command
Typical use cases
- data analysis on uploaded CSV/Excel files
- file transformations and format conversion
- report/output file generation
- script-based processing inside assistant workflows
Runtime model
- execution in an isolated environment
- workspace-based processing (
/workspace) - files remain within the sandbox context
Important limits
- no direct access to production systems
- no permanent persistence across arbitrary contexts
- split complex workloads into smaller steps