Code Monkey home page Code Monkey logo

e2b's Introduction

e2b logo

Cloud Runtime for AI Agents

Secure sandboxed cloud environments made for AI agents and AI apps

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:

Python

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()

JavaScript & TypeScript

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();

Repository Structure

This repository is a monorepo containing:

  1. Python SDK
  2. JS SDK
  3. CLI
  4. Documentation

e2b's People

Contributors

valentatomas avatar mlejva avatar jakubno avatar github-actions[bot] avatar strajk avatar tizkovatereza avatar sahil280114 avatar dennizsvens avatar eltociear avatar jzanecook avatar kav-k avatar tmsagarofficial avatar snoopydevelops avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.