设置
Authentication
Get your tokens from modal.com/settings/tokens.Usage with deepagents
Standalone usage
配置
GPU support
Modal supports NVIDIA GPUs for ML workloads:Volumes and secrets
Mount Modal Volumes for persistent storage and inject secrets as environment variables:Initial files
Pre-populate the sandbox with files during creation:Accessing the Modal SDK
For advanced features not exposed byBaseSandbox, access the underlying Modal SDK:
Reconnecting to existing sandboxes
Factory functions
Error handling
Error codes
Environment variables
将这些文档连接到 Claude、VSCode 等工具,通过 MCP 获取实时答案。

