E2b
Spawns secure sandboxed environments to run untrusted code, monitors resource usage in real time, and manages the full lifecycle of code interpreting containers.
Try E2b in Ceven
Ask Ceven anything
Standard
Why use Ceven?
AI native E2b integration
- Describe the outcome and Ceven picks the right E2b calls, fills the parameters, and checks the result.
- Structured, agent friendly tool schemas so each call runs reliably instead of by guesswork.
- Rich coverage for reading, writing, and querying your E2b data, across all 27 of its actions.
Managed auth
- Built in OAuth with automatic token refresh and rotation.
- One place to manage, scope, and revoke E2b access.
- Per user and per environment credentials instead of shared keys.
Agent optimized design
- Actions are tuned from real success and error rates so reliability climbs over time.
- Full execution logs so you always know what ran in E2b, when, and on whose behalf.
- The agent pauses and asks when E2b is unclear instead of plowing ahead.
Enterprise grade security
- Fine grained access so you control which agents and people can reach E2b.
- Least privilege by default, read scopes first and only the writes a workflow needs.
- A full audit trail of every E2b action to support review and sign off.
Supported tools
Every action Ceven's agents can run on E2b, and when to use it.
Create Sandbox
Use this when you need to launch a fresh isolated environment from a template for code execution or testing.
Pause Sandbox
Use this to suspend a running sandbox while preserving its filesystem and memory state for later use.
Delete Sandbox
Use this to permanently terminate a sandbox instance that is no longer needed to free up resources.
Get Sandbox Logs
Pull the console output and system logs from a specific sandbox to debug execution errors.
Get Sandbox Metrics
Retrieve timestamped CPU and memory usage for a specific sandbox to monitor performance.
List All Sandboxes
Pull a list of all active and paused sandboxes associated with your team.
Start Template Build
Initiate an asynchronous build for a new E2b template with a specific configuration.
Get Template Build Status
Check if a template build has completed or is still in progress.
List All Templates
Retrieve all available templates for your team to identify the right environment for a task.
Create Webhook
Register a webhook to receive real time notifications for sandbox lifecycle events.
Set Sandbox Timeout
Extend or reduce the lifetime of a sandbox to prevent premature termination.
Connect to Sandbox
Reconnect to an existing sandbox to resume work or retrieve its current details.
Create Template
Tool to create a new E2B template with specified configuration. Use when you need to define a new sandbox template that can be used to spawn sandbox environments.
Delete Webhook
Tool to unregister a webhook and stop receiving lifecycle events. Use when you need to remove a webhook that is no longer needed or to clean up webhook registrations.
Check API Health
Tool to check the health status of the E2B API. Use when you need to verify that the API service is operational and accessible.
Get Sandbox
Tool to retrieve detailed information about a specific sandbox by its ID. Use when you need to check sandbox status, metadata, or configuration details.
Get Sandbox Lifecycle Events
Tool to retrieve the latest lifecycle events for a particular sandbox instance. Use when you need to track state changes including creation, pausing, resuming, updates, and termination of a sandbox.
Get Team Metrics
Tool to retrieve timestamped CPU, memory, and disk usage metrics for a team. Use when you need to monitor aggregated resource usage across all sandboxes belonging to a team.
Get Team Maximum Metrics
Tool to retrieve the maximum value for a specific team metric in a given interval. Use when you need to check team limits or peak usage, such as maximum concurrent sandboxes allowed or highest resource usage.
Get Template Files
Tool to get an upload link for a tar file containing build layer files. Use when you need to retrieve or download template build layer files by their hash.
Get Webhook Configuration
Tool to retrieve the current webhook configuration for a specific webhook. Use when you need to inspect webhook settings, verify configuration, or check webhook status.
List Sandboxes Metrics
Tool to retrieve timestamped CPU, memory, and disk usage metrics for multiple sandboxes. Use when you need to monitor resource usage across multiple sandboxes simultaneously. Metrics are collected every 5 seconds; returns empty array if no
List Team Sandbox Lifecycle Events
Tool to retrieve the latest lifecycle events across all sandboxes associated with the team. Use when you need to monitor sandbox activity, track lifecycle changes, or audit sandbox operations.
List All Webhooks
Tool to retrieve all registered webhooks for your team. Use when you need to view all webhook configurations, audit webhook settings, or manage multiple webhooks.
Refresh Sandbox
Tool to refresh an E2B sandbox and extend its time to live. Use when you need to keep a sandbox alive longer and prevent it from timing out.
Update Template
Tool to update an E2B template configuration. Use when you need to modify template settings such as changing visibility (public/private status).
Update Webhook Configuration
Tool to update an existing webhook configuration including URL, enabled status, and subscribed events. Use when you need to modify webhook settings, change the destination URL, enable/disable a webhook, or update event subscriptions.
27 actions · scroll to see them all
Frequently asked questions
Alternatives to E2b
Other tools that solve a similar problem. Ceven supports these too, so you can switch or run more than one at once.
Try Ceven on your stack
Plug Ceven on top of the tools you already run. Connect E2b and the rest of your stack, describe the outcome, and its agents handle the work end to end, days of it in minutes.
Get started for free