Home / Companies / Deepinfra / Blog / Post Details
Content Deep Dive

Sandboxes: give your agents a safe place to run code

Blog post from Deepinfra

Post Details
Company
Date Published
Author
Deep
Word Count
1,304
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

DeepInfra has introduced Sandboxes, an on-demand code-execution service that provides isolated Linux microVMs for AI agents, data pipelines, evaluation systems, and user-facing code-running features. Using a Python SDK, developers can create a sandbox, execute shell commands or Python, transfer files through a persistent `/workspace` directory, and either stop, restart, or permanently terminate the environment. The service uses Kata Containers on QEMU/KVM to provide hardware-enforced isolation rather than shared-container separation, and offers synchronous and asynchronous APIs, typed automation errors, tags, sandbox reattachment by ID, and a limit of five active sandboxes per account. Sandboxes are billed by the second while running, with nano instances starting at $0.054 per hour, while stopped instances incur no compute charge; they automatically stop after configured idle timeouts or at most 24 hours, and retained workspaces can be resumed for up to seven days. Planned additions include streamed command output, snapshots, port exposure, and directory uploads.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.