
by E2B
E2B gives every AI agent its own isolated cloud machine, a microVM sandbox where it can run code, browse and use tools. It runs in E2B's cloud or in your own AWS, GCP or Azure account.
APIUsage-based
Step 1: Install the SDK with pip install e2b or npm i e2b.
Step 2: Set your E2B_API_KEY in a .env file.
Step 3: Install the E2B CLI and run e2b template init to create a custom template.
Step 4: Build the template with the SDK or CLI.
Step 5: Start sandboxes from the template and run your agent's code inside them.
A template defines the base image, environment variables, files and start command. The start command runs during the build and is captured in a snapshot, so the process is already running when a sandbox starts.
Yes. The pages describe running in E2B's cloud or inside your AWS, GCP or Azure account via BYOC, with the same SDK and API.
The Hobby plan allows sessions up to 1 hour and Pro up to 24 hours. Enterprise adds multi-day and persistent sessions.
The runtime is Apache-2.0 licensed, and E2B describes itself as starting from an open-source project.
OlasOlas is a platform for owning and monetizing AI agents. It combines Pearl, a desktop app for running agents, with the Mech Marketplace, where agents offer and hire services.