Telnyx CPU Sandbox
BetaBeta microVM sandboxes inside the Telnyx Agent Platform: an agent creates a Linux VM from an OCI image, runs commands and moves files over a REST API, then pauses, resumes or forks it with memory intact.
Overview
Telnyx CPU Sandbox is the code-execution piece of the Telnyx Agent Platform: the agent lives on Edge Compute, and when it needs to run something it creates a separate virtual machine from an OCI image, executes commands through a data-plane token, moves files in and out, and terminates the machine. The isolation is documented in unusual detail for a beta: a VM per sandbox with its own kernel, hard CPU, memory and disk limits, a per-sandbox network with private ranges and metadata addresses denied, and secrets that can stay on the host and be injected only for named HTTPS hosts. The lifecycle is the differentiator: a pause saves full memory, device state and disks, so processes resume from the instruction where they stopped, and a fork can turn one running sandbox into up to 20 independent siblings. The beta constraints are explicit and worth planning around: one region, 1 or 2 vCPU and up to 4 GiB of memory, 20 concurrent sandboxes per organization, no GPU, no persistent volumes, no webhooks and no audit log. It is a code sandbox, not the browser product: Telnyx Agent Browser is a separate listing.
Key capabilities
- One virtual machine per sandbox with its own Linux kernel
- Pause and resume with memory, processes and disks intact
- Fork a running sandbox into up to 20 live copies
- Any public linux/amd64 OCI image, plus templates
- REST control plane, data-plane token and the telnyx-edge CLI
- Egress modes, allow_out rules and host-side secret injection
- Port URLs for HTTP and WebSocket servers
- Batch creation and idempotency keys on every write
- Beta: one region, no GPU, no persistent volumes, no webhooks
cpu-sandbox.sh
# Create a sandbox from an image
curl -X POST https://api.telnyx.com/v2/compute/sandbox \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "image": { "ref": "docker.io/library/python:3.12-slim" }, "name": "my-task" }'
# Run a command in it, then pause or fork it
telnyx-edge sandbox-cpu exec my-task -- python3 /workspace/primes.py
telnyx-edge sandbox-cpu pause my-taskSimilar alternatives
Technical specifications
- Runtime architecture
- Docker / Container
- Runtime notes
- A separate virtual machine per sandbox with its own Linux kernel and a Telnyx init process
- Booted from any public linux/amd64 OCI image; ENTRYPOINT and CMD are never run
- 8 GiB ext4 root disk and a separate 16 GiB ext4 workspace disk
- Separate network per sandbox with a platform deny set and an egress mode
- Cold-start boot time
- Not published
- Max vCPU
- 1 or 2 vCPU
- Max memory
- 256 to 4096 MiB
- Storage model
- 8 GiB root disk and 16 GiB workspace disk; up to 3 snapshots per sandbox, removed with it
- Network isolation
- Outbound internet is reachable by default while private ranges, the platform and cloud metadata addresses are denied under every egress mode. Egress can be narrowed with allow_out entries and secret rules that keep credential values on the host. Inbound traffic reaches a sandbox only through its port URL and traffic token, sandbox-to-sandbox traffic is blocked, and the sandbox has no IPv6. Root inside a sandbox is root in that VM only; the host runs each VM as an unprivileged process.
Lifecycle & capabilities
- Filesystem persistence
- Supported
- Memory / disk snapshot
- Supported
- Instant forking
- Supported
- GPU acceleration
- Not supported
- GUI desktop / VNC
- Not supported
- Mobile / cloud phone
- Not supported
- Browser automation
- Not supported
- Network egress control
- Supported
- Pause / auto-sleep
- Supported
- MCP protocol server
- Unknown
- REST API & SDKs
- Unknown
- Idle billing
- Not published
- State kept on pause
- Memory + processes retained
- Resume latency
- Resumes on the same host with full memory, device state and disks; running execs see their output stream end but their process continues
- Session limit
- Default 300 seconds of running time, configurable; paused sandboxes are kept 7 days and then terminated, and termination discards the sandbox and its snapshots
Pricing model
Pending AuditNo CPU Sandbox rate is published: on 2026-11-19 the Telnyx pricing page had no sandbox entry, and the billing docs describe resource states and account charges without prices. Usage bills to the organization's Telnyx account alongside its other services, and the product is in beta with access requiring a Sandbox-enabled account. Pricing is Pending audit.