Back to Services
Basic Trustrest

E2B — Sandboxed Code Interpreter

Execute Python, JavaScript, R, or Bash code in a secure sandboxed cloud environment. Returns stdout, stderr, and generated files. Perfect for AI agents that need to run untrusted code safely.

Total Calls

0

Success Rate

Avg Latency

Capabilities

code-executionsandboxpythonjavascriptinterpreteragent-tool

Quick Integration

Call this service through the Agent Clear proxy

// Call E2B — Sandboxed Code Interpreter through the Agent Clear proxy
const response = await fetch(
  'https://api.agentclear.dev/proxy/2a726a50-01c1-4141-a78a-53aafa790b78',
  {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer axk_your_api_key',
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      // Your input payload here
    }),
  }
);

const result = await response.json();

Input Schema

{
  "type": "object",
  "required": [
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "Code to execute"
    },
    "timeout": {
      "type": "number",
      "description": "Execution timeout in seconds"
    },
    "language": {
      "enum": [
        "python",
        "javascript",
        "r",
        "bash"
      ],
      "type": "string"
    },
    "template": {
      "type": "string",
      "description": "Sandbox template ID (e.g. \"code-interpreter-v1\")"
    }
  }
}

Output Schema

{
  "type": "object",
  "properties": {
    "stderr": {
      "type": "string"
    },
    "stdout": {
      "type": "string"
    },
    "artifacts": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "exit_code": {
      "type": "number"
    }
  }
}

Pricing

$0.008/ call

Billed per API call through the Agent Clear proxy

Start Using This Service

Provider

Agent Clear Platform

Details

Version
1.0.0
Protocol
rest
Rate Limit
30 req/min
Trust Score
0.5
Registered
Mar 2, 2026
Last Updated
Mar 2, 2026
Browse all services