When sandbox mode is enabled, the Meta Agent can execute code safely in isolated containers. This enables powerful automation while maintaining security.
Required Connector: Sandbox
Python Execution
Run Python code with access to common libraries.
Example Usage:
Available Libraries
The sandbox includes common Python libraries:
requests - HTTP requests
pandas - Data analysis
json - JSON parsing
csv - CSV handling
datetime - Date/time operations
- And many more standard library modules
Shell Execution
Run shell commands in an isolated environment.
Example Usage:
Docker Execution
Run commands in custom Docker containers.
Example Usage:
Sandbox Features
Isolation
- Code runs in ephemeral containers
- Each execution starts with a clean environment
- No persistence between executions
Resource Limits
- Memory: Configurable memory limits
- CPU: CPU time constraints
- Storage: Limited disk space
Network Control
- Configurable network access
- Can restrict outbound connections
- Prevent access to internal networks
Timeout Protection
- Automatic termination of long-running tasks
- Configurable timeout values
- Graceful shutdown handling
File System Isolation
- No access to host file system
- Temporary workspace for each execution
- Automatic cleanup after completion
Security Considerations
While the sandbox provides isolation, always review what code you’re asking the Meta Agent to execute. The sandbox is designed for automation tasks, not for running untrusted code.
Best Practices
- Review generated code before execution for sensitive operations
- Use minimal permissions when configuring the sandbox connector
- Monitor executions through the execution logs
- Set appropriate timeouts to prevent runaway processes
Example Workflows
Data Analysis
Security Scanning
API Testing