Sandboxed Code Execution
Product Updates: Directory Snapshots, GLM-5, billing updates and more | Modal Blog

Product Updates: Directory Snapshots, GLM-5, billing updates and more | Modal Blog

3/4/2026

What this post added

Introduced Directory Snapshots for Modal Sandboxes, enabling granular snapshotting and mounting of specific directories. Added a `.detach()` method to `modal.Sandbox` for explicit resource cleanup. The post also highlights the growing use of Sandboxes for coding agents and references a webinar on scaling and productionizing them.

Read the original post ↗