compute

Serverless Compute

Code Execution

Code Execution is a serverless compute capability available through E2B on Aweb. Execute code in sandboxed environments with filesystem and process access. Access it through a single unified API with automatic failover and intelligent routing.

Try Code ExecutionAPI docs

Best for

Highest quality

E2B

Premium tier

Contract

Max Latency10000ms
Streaming RequiredNo

Providers (1)

ProviderScoreQualityPricing
E2BDEFAULT
85premiumstandard

Public discovery and orchestration

Inspect the live capability descriptor directly, then route orchestration through a capability filter. Generic public execute examples are intentionally withheld until the canonical public execute contract is normalized.

cURL

curl "https://aweblabs.ai/api/v2/capabilities/compute.execute"

TypeScript

import Aweb from '@aweb/sdk';

const client = new Aweb({
  baseUrl: 'https://aweblabs.ai/api/v2',
});

const capability = await client.capabilities.get('compute.execute');

console.log(capability.data.runtime.providers);

Orchestration pipeline

import Aweb from '@aweb/sdk';

const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });

const result = await aweb.orchestrate.run({
  query: 'Use Code Execution to help with a hello-world task and summarize the output',
  capabilities: ['compute.execute'],
  policy: 'balanced',
});

console.log(result.data.status);

Related Serverless Compute capabilities

Serverless GPU

compute

Code Sandbox

compute

Synthetic Data Generation

compute

Data Anonymization

compute

Cloud Browser

compute

Getting started →API reference →All providers →All capabilities →