Execute a command inside an existing managed Modal sandbox.
arc.blockrun.ai/api/v1/modal/sandbox/exec
Execute a command inside an existing managed Modal sandbox.
https://arc.blockrun.ai/api/v1/modal/sandbox/execUptime100% of 3 checks in 30 days
30 days agoToday
Call it from an agent
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(process.env.AGENT_KEY));
const res = await pay("https://arc.blockrun.ai/api/v1/modal/sandbox/exec");
console.log(await res.json());