Skip to main content
E2B is an open-source runtime for executing AI-generated code in secure cloud sandboxes. Made for agentic & AI use cases. You can read more about it here.

Installation

First, install the E2B provider package:

How to use

To use E2B with VibeKit, you need to configure E2B when creating a new VibeKit instance. You can get your API key from the E2B dashboard.

Using the provider directly

Using configuration object

ENV variables and secrets

You can use environment variables for your E2B configuration:
Then reference them in your code: