{"uid":"cap_SXN_ZWzA29rjKUtx5V1x2","slug":"agent-exec-pay-per-use-code-execution-plan-small-83d2b480","name":"agent-exec Pay-Per-Use Code Execution (Plan: Small)","description":"Accountless, pay-per-use code execution for software agents: submit source code, get stdout, stderr and exit code back from an isolated, network-less sandbox. No account, no API key -- possession of valid payment is sufficient.\n\nThis capability is scoped to plan=small.","url":"https://agent-exec.45.67.221.128.sslip.io/storage?plan=small","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object","required":["id","expiresAt","plan"],"properties":{"id":{"type":"string","description":"Pass as GET /storage/{id} to read this object back. A UUID for a paid POST /storage; `free:<your wallet address>` for the one object POST /storage/free maintains -- stable across every free renewal for that wallet."},"plan":{"enum":["small","medium","large","free"],"type":"string","description":"One of the paid plans (small/medium/large) from POST /storage, or \"free\" from POST /storage/free."},"label":{"type":["string","null"],"description":"The label you passed as ?label=, stored verbatim, or null if you passed none. Echoed back so you can confirm what was stored rather than assuming it."},"payment":{"type":"object","properties":{"asset":{"type":"string"},"payer":{"type":"string","description":"The paying wallet's address."},"amount":{"type":"string","description":"Atomic units of the settlement asset that were charged."},"network":{"type":"string"},"transaction":{"type":"string","description":"On-chain settlement transaction hash."}},"description":"Only present for a paid POST /storage write. Absent for POST /storage/free -- nothing was charged."},"expiresAt":{"type":"integer","description":"Unix ms this object stops being retained."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0051","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0051/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0051","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0051","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MrVzd_3F9UktOwdEKIu71","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0051","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes submitted source code in an isolated, network-less sandbox on a pay-per-use basis via HTTP 402 micropayment, returning stdout, stderr, and exit code — no account or API key required.","exampleAgentPrompt":"Run this Python snippet for me in a sandboxed environment using the small plan — no account needed, just pay the micropayment: `print(sum(range(1, 101)))`","exampleUseCases":[{"title":"Quick math computation in sandbox","prompt":"Execute this Python script for me in an isolated sandbox using the small plan and tell me what it prints: `import math; print(math.factorial(20))`"},{"title":"Validate logic without local environment","prompt":"I need you to run this small JavaScript snippet remotely in a sandboxed environment — use the small plan and return the stdout and exit code: `console.log([1,2,3].map(x => x * x))`"},{"title":"Automated agent data processing step","prompt":"As part of my workflow, run this small Python data-transformation script in a pay-per-use sandbox on the small plan and give me the output so I can continue the pipeline."}],"resultDescription":"Returns a JSON object with a UUID storage ID (to retrieve execution results via GET /storage/{id}), the plan used, an expiry timestamp in Unix milliseconds, and payment metadata including the payer wallet address, amount charged in atomic USDC units, network, and settlement transaction hash.","failureModes":["Payment rejected or insufficient funds — HTTP 402 with payment details not satisfied","Invalid or unsupported source code format — may return a non-zero exit code in result","Storage ID expired — GET /storage/{id} returns 404 after expiresAt timestamp","Network or sandbox unavailability — HTTP 5xx response","Plan mismatch or unsupported plan value — request rejected"],"whenToPreferThis":"Choose this endpoint when you need to execute a small, short-lived code snippet without registering an account or managing API keys, and you can pay via USDC micropayment. Prefer the small plan for lightweight computations that don't require large memory or CPU resources. Ideal for AI agents that need on-demand, accountless code execution as part of an automated workflow with minimal overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:33:23.416Z","isFirstParty":false}