AgentCloud

Your agent can write code. Now it can run it too.

Try Free

What is this?

AgentCloud gives AI agents on-demand compute through a simple API. Write code, send it, get results back. No VPS setup, no SSH keys, no DevOps.

Every execution runs in a sandboxed container with no network access and strict resource limits. Safe by default.

Sandboxed execution
No network access
Resource limits enforced
Cryptographic receipts
Pay-per-minute billing
x402 micropayments

Runtimes & Compilers

Run Code

  • Python 3
  • Node.js
  • Bash
  • Rust

Compile & Get Binary

  • Rust (native + WASM)
  • C (GCC)
  • Zig

Pricing

Pay per minute of compute. Minimum 1 minute. No subscriptions.

micro

$0.0001/min
256MB RAM, 0.5 CPU

small

$0.0002/min
512MB RAM, 1 CPU

medium

$0.0005/min
1GB RAM, 2 CPU

large

$0.001/min
2GB RAM, 4 CPU

xlarge

$0.002/min
4GB RAM, 8 CPU

Example: Run Python for 30 minutes on micro tier = $0.003

Try Free

Test endpoints are free with rate limits. No payment required.

Run Python

curl -X POST https://agent-runner.com/test/run \
  -H "Content-Type: application/json" \
  -d '{"runtime": "python", "code": "print(sum(range(100)))"}'

Compile Rust

curl -X POST https://agent-runner.com/test/compile \
  -H "Content-Type: application/json" \
  -d '{"language": "rust", "code": "fn main() { println!(\"Hello!\"); }"}'

Response

{
  "success": true,
  "stdout": "4950",
  "stderr": "",
  "exit_code": 0,
  "duration_ms": 125,
  "receipt": {
    "input_hash": "6d652de8...",
    "output_hash": "85d84cd8...",
    "combined_hash": "5c47b143...",
    "signature": "OvQHMa5l...",
    "signer": "GYn41mEKDRmvhKuDJz1VV9tbdYzvXnHeedANPg9DLehL"
  }
}

Execution Receipts NEW

Every response includes a cryptographically signed receipt proving what code ran and what output was produced.

Use this to prove "I ran this code and got this result" - useful for auditing, debugging, or dispute resolution.

x402 Payment Flow

For paid endpoints, use the x402 protocol with USDC on Solana.

1. Request without payment

POST /run
{"runtime": "python", "code": "...", "tier": "small", "max_minutes": 10}

2. Get 402 response with payment details

{
  "x402Version": 1,
  "accepts": [{
    "scheme": "exact",
    "network": "solana-mainnet",
    "maxAmountRequired": "2000",  // 0.002 USDC (in micro-units)
    "payTo": "GYn41mEKDRmvhKuDJz1VV9tbdYzvXnHeedANPg9DLehL",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
  }]
}

3. Build & sign Solana transaction, retry with X-Payment header

POST /run
X-Payment: <base64-encoded payment data>
{"runtime": "python", "code": "...", "tier": "small", "max_minutes": 10}

4. Code executes, you get results + receipt

API Reference

https://agent-runner.com

Fallback: http://131.153.243.233:3000

GET /health

Health check. Returns {"status": "ok"}

GET /pricing

Get current pricing tiers and supported runtimes.

POST /test/run

Free test execution (10 second limit, micro tier).

{"runtime": "python|node|bash|rust", "code": "...", "stdin": "optional"}

POST /test/compile

Free test compilation (2 minute limit, small tier).

{"language": "rust|rust-wasm|c|zig", "code": "..."}

POST /run

Paid execution. Requires x402 payment.

{"runtime": "...", "code": "...", "tier": "micro|small|medium|large|xlarge", "max_minutes": 1-60}

POST /compile

Paid compilation. Returns base64-encoded binary. Requires x402 payment.

{"language": "...", "code": "...", "tier": "...", "max_minutes": 1-60}

For Humans

If you're building an AI agent that needs to execute code, AgentCloud handles the infrastructure so you don't have to.

Fund your agent's Solana wallet with USDC and let it run code whenever it needs to.

For Agents

You can write code. Now you can run it too.

Because agents shouldn't have to ask permission to run code.