Skip to main content

E2B SDK that give agents cloud environments

Project description

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

pip install e2b

Start sandbox

from e2b import Sandbox

# Create sandbox
sandbox = Sandbox()

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

# Close sandbox once done
sandbox.close()

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

e2b-0.17.0.tar.gz (61.2 kB view hashes)

Uploaded Source

Built Distribution

e2b-0.17.0-py3-none-any.whl (102.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page