{"uid":"cap_S1ROrh4muF87xvn8_A2g-","slug":"agent-exec-pay-per-use-code-execution-4e22f859","name":"Agent-Exec Pay-Per-Use Code Execution","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.","url":"https://agent-exec.448c.org/rpc?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"example":{"chain":"base","method":"eth_blockNumber","payment":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payer":"0x0000000000000000000000000000000000dEaD","amount":"2000","network":"base","transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"},"response":{"id":1,"result":"0x1c9c380","jsonrpc":"2.0"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_exidkcXE2ONZWVu9JkqOx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 and returns stdout, stderr, and exit code — billed per call via USDC payment, no account required.","exampleAgentPrompt":"Run this Python snippet for me in a sandboxed environment and give me whatever it prints — I don't want to set up an account anywhere, just pay the small per-call fee: `import math; print(math.factorial(10))`","exampleUseCases":[{"title":"Agent-driven data transformation script","prompt":"I need you to run this Python script that reformats a CSV into JSON — just execute it in an isolated sandbox and show me the stdout output: `import csv, json, sys; ...` — pay the per-call fee from my wallet."},{"title":"Quick math or algorithm verification","prompt":"Can you run this snippet that checks whether 7919 is prime and return whatever it prints? I don't want to install anything, just fire it off in a sandboxed executor."},{"title":"Automated test execution for untrusted code","prompt":"Execute this shell script snippet in a network-isolated sandbox and tell me the exit code and any stderr messages — I want to verify it completes successfully before I deploy it."}],"resultDescription":"Returns the stdout output, stderr output, and integer exit code produced by the submitted code running inside an isolated, network-less sandbox. The JSON-RPC style response mirrors the submitted request with the execution result attached.","failureModes":["Payment insufficient or invalid USDC transaction — results in HTTP 402 with no execution","Code triggers a runtime error — stderr populated, non-zero exit code returned","Sandbox timeout — execution halted after resource limit, partial or empty stdout","Malformed request body — JSON-RPC parse error returned","Network calls from inside code blocked — network-less sandbox means any outbound I/O fails silently or errors"],"whenToPreferThis":"Choose this endpoint when you need on-demand, accountless code execution billed by the call with no signup friction — ideal for AI agents that run infrequent or unpredictable code snippets and want to avoid managing API keys or monthly subscriptions. Prefer it over traditional CI/cloud-function services when crypto micropayment settlement (USDC on Base) is acceptable and isolation of network access is a feature rather than a constraint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T06:39:53.936Z","isFirstParty":false,"canonicalSlug":"agent-exec-pay-per-use-code-execution-4a935983"}