JSPM

e2b

0.16.2-beta.17
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 77253
  • Score
    100M100P100Q180739F
  • License MIT

E2B SDK that give agents cloud environments

Package Exports

  • e2b
  • e2b/dist/index.js
  • e2b/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (e2b) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

e2b logo

Sandbox for AI Apps & Agents

Secure sandboxed cloud environments made for AI agents and AI apps

Docs | Website | Discord | Twitter

Last 1 month downloads for the Python SDK Last 1 month downloads for the Python SDK

Cover image

What is E2B?

E2B Sandbox is a secure sandboxed cloud environment made for AI agents and AI apps. Sandboxes allow AI agents and apps to have long running cloud secure environments. In these environments, large language models can use the same tools as humans do. For example:

  • Cloud browsers
  • GitHub repositories and CLIs
  • Coding tools like linters, autocomplete, "go-to defintion"
  • Running LLM generated code
  • Audio & video editing

The E2B sandbox can be connected to any LLM and any AI agent or app.

Getting Started & Documentation

Please visit documentation to get started.

To create and control a sandbox, you use our SDK:

Install SDK

npm install e2b

Start sandbox

import { Sandbox } from "e2b";

// Create sandbox
const sandbox = await Sandbox.create();

// Let an LLM use the sandbox here
// Visit https://e2b.dev/docs/sandbox/overview to learn more about sandboxes.

// Close sandbox once done
await sandbox.close();