E2B Desktop Sandbox

Active
GitHub Python Apache-2.0

Description

E2B Desktop Sandbox for LLMs. A secure sandbox with graphical environment that connects to any LLM for safe computer use operations.

Key Features

  • Secure isolated virtual desktop sandbox designed for computer use tasks
  • Python and JavaScript SDK support with dual-language ecosystem
  • Full mouse control: click, drag, scroll, and movement
  • Full keyboard control: text input, key combinations, key simulation
  • Window management: launch apps, get window lists, switch focus
  • Real-time desktop streaming with password protection and view-only mode

Use Cases

💡 LLM-driven automated desktop operations and GUI testing
💡 Running untrusted code and applications in a secure sandbox
💡 Remote desktop streaming and collaboration
💡 Training and evaluation of AI agent computer use capabilities

Quick Start

Sign up at E2B for an API key, pip install e2b-desktop or npm install @e2b/desktop, create a Sandbox instance, use launch() to start applications, and stream.start() to begin desktop streaming.

Related Projects