Akamai Agent Sandbox (Tech preview)

Akamai Agent Sandbox is a secure, WebAssembly-based environment where you can run your own AI agents and the code they generate. Built on the open-source Spin SDK, Akamai Agent Sandbox operates as a runtime sandbox that:

Implement agents. Create your own agents that can safely generate and execute JavaScript TypeScript, or Python and use key-value storage to keep context between steps.

Provides security & Isolation. It features deny-by-default network access, hard runtime limits on CPU and memory, and removes risky APIs to bound the blast radius of agent-generated code.

Runs agent-generated applications. Akamai Agent Sandbox is built primarily for developers creating AI app builders, code-execution tools, or multi-tenant SaaS applications where agent-written code executes without human review.

Integrates directly with state of the art models. Akamai Agent Sandbox is compatible with any OpenAI-compatible model through standardized APIs. It also integrates directly with our new Akamai Inference offering, now in Beta.

Offers key Differentiators. Unlike proprietary or container-heavy alternatives, Akamai Agent Sandbox provides instant-start WebAssembly isolation, global deployment across Akamai Cloud regions, and pay-per-invocation serverless pricing.

Prerequisites

Before you start, make sure you have the following prerequisites installed:

  • Spin CLI (>= v4.0.0)
  • Rust and the WASI p2 target: rustup target add wasm32-wasip2
  • Node.js and npm
  • Python 3.12
  • Bytecode Alliance [wac](https://github.com/bytecodealliance/wac) >= 0.12.0 and [wasm-tools](https://github.com/bytecodealliance/wasm-tools) >= 1.246.1 on PATH

Get started

Go the spin-code-sandbox project in github for more practical details and examples. Since the Sandbox is a Spin application, it runs out of the box on Akamai Functions via spin aka deploy .

📘

Akamai Agent Sandbox is currently in tech preview and supports intermittent agents that complete steps in approximately one a minute. Future release plans include long-running stateful components and microVM support.


Did this page help you?