Hosted execution API

Run generated or unknown code somewhere isolated.

Disposable-exec is a hosted isolated execution API for short-lived remote code execution. Use it to run model-generated, user-supplied, or unknown code without exposing your app server, worker host, or user machine, and without building your own sandbox layer.

What it is

A hosted API for isolated short-lived code execution with API key access and a simple /me, optional /diagnose, /run, /status, and /result flow.

Why it exists

So you can add a run-code feature without running risky code on your core systems or building your own sandbox and execution control layer.

Who should use it

Teams building agents, automations, and backend products that need remote execution instead of local subprocesses.

How it works

Step 1
Get a key

Start with Free or choose a paid plan, then get your API key.

Step 2
Call the API

Test /me, optionally use /diagnose as a cheap preflight layer, then submit /run and check /status and /result.

Step 3
Keep execution separate

Keep risky or generated code off your main app host and avoid owning the sandboxing layer yourself.

Common scenarios

Disposable-exec is for products that need isolated execution, not for general cloud compute.

AI agents
Run generated code remotely

Give agents a remote execution path instead of letting model-generated code run inside the agent host.

Automation
Isolate scheduled tasks

Keep automation scripts off your main workers when they should run in a separate execution layer.

Backend products
Add a run-code feature

Ship code execution in your product without building your own sandbox, quota, and execution control stack.

User-submitted code
Keep risky code off the main app

Keep user-supplied or unknown code away from your app server when local execution is the wrong default.