Skip to main content

Crate everruns_integrations_e2b

Crate everruns_integrations_e2b 

Source
Expand description

E2B cloud sandboxes for Everruns agents.

everruns-integrations-e2b is part of the Everruns ecosystem. It gives agents cloud sandboxes backed by E2B, so they can create isolated environments, run processes, and read or write files without touching the host. Sandboxes are managed per session with leased-resource cleanup, and authenticate with a user-supplied E2B API key.

§Example

use everruns_core::capabilities::Capability;
use everruns_integrations_e2b::E2BCapability;

let capability = E2BCapability;
assert_eq!(capability.id(), "e2b");

§Design notes

  • External integration crate, auto-registered via the inventory plugin system.
  • Bring-your-own API-key connection model: credentials resolve from the user connection only and fail with ConnectionRequired if not configured.
  • Session-scoped sandbox state with leased-resource cleanup, similar to Daytona.

Modules§

client
E2B API client.
connection
state
E2B API types and session state helpers.

Structs§

E2BCapability

Constants§

E2B_API_BASE
E2B_DEFAULT_TEMPLATE
E2B_DEFAULT_TIMEOUT_SECS
E2B_DEFAULT_WORKSPACE_PATH
E2B_ENVD_PORT
E2B_SANDBOX_SECRET_PREFIX