# e2b-dev/code-interpreter

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/e2b-dev-code-interpreter).**

2,348 stars · 216 forks · Python · Apache-2.0

## Links

- GitHub: https://github.com/e2b-dev/code-interpreter
- Homepage: https://e2b.dev
- awesome-repositories: https://awesome-repositories.com/repository/e2b-dev-code-interpreter.md

## Topics

`ai` `ai-data-analysis` `anthropic` `code-interpreter` `cohere` `gpt` `javascript` `jupyter` `jupyter-notebook` `llm` `openai` `python` `typescript`

## Description

This project is an infrastructure platform designed to provide secure, isolated, and ephemeral cloud-based Linux environments for AI agents and automated code execution. It functions as an orchestrator that provisions on-demand virtual machines, allowing developers to run arbitrary code generated by large language models within hardware-level security boundaries.

The platform distinguishes itself through its ability to manage stateful, long-lived sessions that persist across multiple execution calls, enabling complex, multi-step workflows. It supports high-concurrency scaling, allowing for the simultaneous operation of thousands of isolated instances for parallel data processing, reinforcement learning, and large-scale model evaluation. Additionally, the system provides specialized capabilities for virtual desktop automation, enabling agents to interact directly with graphical Linux interfaces and visual software applications.

Beyond core execution, the platform offers tools for data analysis, visualization, and the extraction of structured information from data frames and plots. It includes support for custom environment configurations, system observability through log access, and deployment options that allow for integration into continuous integration pipelines or hosting within private cloud infrastructure.

The platform is accessible via a software development kit that provides programmatic control over the lifecycle, customization, and management of these sandboxed environments.

## Tags

### Part of an Awesome List

- [Code Execution Environments](https://awesome-repositories.com/f/awesome-lists/ai/code-execution-environments.md) — Provides secure, isolated cloud environments specifically for executing code generated by artificial intelligence models.
- [Data Processing and Analysis](https://awesome-repositories.com/f/awesome-lists/data/data-processing-and-analysis.md) — Connects datasets to isolated runtimes to perform complex computations and data processing through programmatic control.

### DevOps & Infrastructure

- [Sandbox Provisioning Services](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/management/infrastructure-orchestration/sandbox-provisioning-services.md) — Automates the creation and management of secure, on-demand Linux virtual machines for code execution. ([source](https://e2b.dev/docs))
- [MicroVM](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure-deployment/managed-infrastructure-deployment/agent-deployments/microvm.md) — Orchestrates the provisioning and management of secure, on-demand virtual machine environments for parallel computation.
- [Code Execution Runtimes](https://awesome-repositories.com/f/devops-infrastructure/containerized-execution-environments/code-execution-runtimes.md) — Provides a secure infrastructure platform for running arbitrary code produced by large language models in ephemeral containers.
- [Code Execution Sandboxes](https://awesome-repositories.com/f/devops-infrastructure/execution-environments/code-execution-runtimes/code-execution-sandboxes.md) — Executes arbitrary or AI-generated code within secure, isolated microVM environments to protect host systems. ([source](https://github.com/e2b-dev/code-interpreter#readme))
- [Containerized Execution Environments](https://awesome-repositories.com/f/devops-infrastructure/containerized-execution-environments.md) — Provides isolated containerized environments for executing code with custom software dependencies and system configurations.
- [Workflow Execution Scaling](https://awesome-repositories.com/f/devops-infrastructure/deployment-scaling/scaling-profiles/workflow-throughput-scaling/workflow-execution-scaling.md) — Distributes task processing across thousands of isolated instances to scale data operations and model evaluation. ([source](https://www.e2b.dev/))
- [Compute Resource Provisioning](https://awesome-repositories.com/f/devops-infrastructure/storage-provisioning/on-demand-resource-provisioning/automated-resource-provisioning/compute-resource-provisioning.md) — Dynamically provisions and manages compute resources and virtual machines on-demand for ephemeral execution environments.
- [Virtual Desktop Infrastructures](https://awesome-repositories.com/f/devops-infrastructure/virtual-desktop-infrastructures.md) — Delivers scalable, cloud-based remote desktop instances for agent interaction with graphical interfaces. ([source](https://e2b.dev/docs))
- [Distributed Data Workload Scaling](https://awesome-repositories.com/f/devops-infrastructure/worker-scaling/distributed-data-workload-scaling.md) — Scales data processing tasks across clusters to handle large-scale parallel computation and model evaluation workflows.

### Security & Cryptography

- [MicroVM Sandboxes](https://awesome-repositories.com/f/security-cryptography/application-and-system-security/sandbox-and-isolation/isolated-execution-sandboxes/microvm-sandboxes.md) — Executes untrusted code within hardware-isolated microVMs to ensure secure boundaries between user sessions.
- [Persistent Sandbox Creations](https://awesome-repositories.com/f/security-cryptography/application-and-system-security/sandbox-and-isolation/isolated-execution-sandboxes/microvm-sandboxes/persistent-sandbox-creations.md) — Boots named microVMs that remain available for continuous state retention across multiple execution calls. ([source](https://e2b.dev/))
- [Secure Sandboxing](https://awesome-repositories.com/f/security-cryptography/secure-sandboxing.md) — Provisions secure, on-demand virtual machine environments to allow agents to perform computation without risking host system security.

### Artificial Intelligence & ML

- [MicroVM Agent Sandboxes](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-execution-sandboxes/microvm-agent-sandboxes.md) — Offers a development kit for executing AI-generated code within secure, isolated microVM environments.

### Data & Databases

- [Large-Scale Data Computation](https://awesome-repositories.com/f/data-databases/large-scale-data-computation.md) — Facilitates large-scale parallel computing by spawning thousands of concurrent isolated sandbox instances.

### Development Tools & Productivity

- [Execution State Persistence](https://awesome-repositories.com/f/development-tools-productivity/database-session-management/session-state-persistence/execution-state-persistence.md) — Maintains runtime memory and file system state across sequential execution calls to support complex, multi-step workflows.

### Operating Systems & Systems Programming

- [Virtualized Desktop Environments](https://awesome-repositories.com/f/operating-systems-systems-programming/virtualization-emulation/virtualization-platforms/virtualization-platforms/virtualized-desktop-environments.md) — Creates cloud-based graphical Linux environments that allow agents to interact directly with desktop interfaces and software.

### System Administration & Monitoring

- [Cloud Workspace Management](https://awesome-repositories.com/f/system-administration-monitoring/cloud-workspace-management.md) — Provides administrative interfaces for managing cloud-hosted sandboxed environments and their lifecycle. ([source](https://github.com/e2b-dev/code-interpreter/tree/main/js))
