Skip to content
  1. Home
  2. AI tools
  3. E2B

E2B

Isolated cloud sandboxes for running AI-generated code

What it is

Infrastructure and SDKs for starting isolated sandboxes where agents can execute code and shell commands. The JavaScript and Python SDKs create a sandbox, run commands in it and return output; companion packages add a code interpreter and a desktop environment. For developers who need a safe place for agent-written code.

Good for

  • Execute model-written code away from your host
  • Give an agent a code interpreter
  • Run shell commands in a throwaway environment

Install or run

pip install e2b

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

An E2B account and API key

Worth knowingThe quick start runs sandboxes in the vendor's cloud and needs an account; fully self-hosting the infrastructure is a larger job.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for automation & ops

See the topic →
  • Hermes Agent

    NousResearch/hermes-agent

    Self-improving open-source agent with TUI, gateway, skills and cron

    ToolGitHub stars: 263k
  • Disk Cleanup plugin

    NousResearch/hermes-agent

    Auto-track and remove temp files created during Hermes sessions

    ToolGitHub stars: 263k
  • Google Meet plugin

    NousResearch/hermes-agent

    Join Google Meet, transcribe captions and follow up afterwards

    ToolGitHub stars: 263k
  • n8n

    n8n-io/n8n

    Self-hostable workflow automation with AI agent nodes

    ToolGitHub stars: 210k