Explore the directory
SandboxesProvider SDK

E2B Code Interpreter

E2B's native SDK for stateful sandboxed code execution.

@e2b/code-interpreterTypeScript / JavaScript

Overview

Run code and inspect execution results in E2B sandboxes. The JavaScript package now lives in the main E2B monorepo.

Best for

AI code execution and analysis built directly on E2B.

Install

TypeScript / JavaScript
@e2b/code-interpreter
npm install @e2b/code-interpreter

Provider

1 listed
  • E2B

This SDK targets its provider’s API. See the official docs for available services and endpoints.

Features

  • Stateful code execution
  • Execution results
  • Custom sandbox templates
  • Native sandbox client

Caveats

  • An E2B integration, not an adapter for other sandbox providers.
  • The former code-interpreter repository points SDK development to the E2B monorepo.
  • The current JS SDK manifest is MIT; the old template repository is Apache-2.0.

Sources & verification

  1. github.com/e2b-dev/code-interpreter (opens in a new tab)
  2. raw.githubusercontent.com/e2b-dev/E2B/main/packages/code-interpreter-js/package.json (opens in a new tab)

Sources reviewed

Back to the directory