Sandbox Config • AI Agent SDK

SandboxConfig: Configuration for sandbox execution.

SandboxConfig

Defined in the config module.

AI Agent

Configuration for sandbox execution.

Attributes: sandbox_type: Type of sandbox (docker, subprocess, e2b) image: Docker image to use (for docker sandbox) working_dir: Working directory within sandbox env: Environment variables resource_limits: Resource limits security_policy: Security policy auto_cleanup: Whether to auto-cleanup after execution persist_files: Whether to persist files between executions mount_paths: Paths to mount into sandbox (host:container) metadata: Additional configuration

Properties

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField Dict[str, str]

No description available.

ResponseField ResourceLimits

No description available.

ResponseField SecurityPolicy

No description available.

ResponseField bool

No description available.

ResponseField bool

No description available.

ResponseField List[str]

No description available.

ResponseField Dict[str, Any]

No description available.

Methods

Internal & Generic Methods
  • to_dict: Convert to dictionary.

Source

View on GitHub

praisonaiagents/sandbox/config.py at line 92


Related Documentation