skillfed

e2b-desktop

E2B Desktop Sandbox - Deskstop sandbox in cloud powered by E2B

e2b-desktop v2.4.2 197.5K downloads/30d#9,758 on PyPI1,449
Permissive license MIT Active released

What it is and what it does

E2B Desktop Sandbox is a Python SDK that provisions isolated virtual desktop environments running on E2B's cloud infrastructure. Each sandbox is a Linux-based Xfce desktop where you can launch applications, capture screenshots, stream the display, and control mouse and keyboard input programmatically. The package wraps the E2B Sandbox platform with desktop-specific APIs for computer use automation tasks.

You interact with sandboxes through a simple Python object model: create a sandbox, launch applications, take screenshots, send input events, and stream the desktop to a browser or client. The package handles the underlying infrastructure provisioning and network communication. It depends on the base e2b SDK, pillow for image handling, and requests for HTTP operations.

Use it for:

  • Automate GUI-based workflows in cloud-isolated environments without local desktop dependencies.
  • Build AI agents that need to interact with graphical applications and capture visual feedback.
  • Test desktop applications in a sandboxed, reproducible environment without affecting your local system.
  • Stream a remote desktop to end users or monitoring systems for real-time interaction or observation.
  • Run browser automation tasks that require a full graphical desktop rather than headless mode.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a Python SDK to create and control isolated virtual desktop environments in the cloud, with support for application launching, screen streaming, mouse/keyboard control, and screenshot capture.

Yes, if you need to automate or control graphical desktop applications in an isolated cloud environment and have an E2B API key. The package is actively maintained, has low install friction, carries no known vulnerabilities, and offers a clean Python API. The main decision point is whether the E2B service cost and API key requirement fit your use case.

Install

e2b-desktop on PyPI

pip

pip install e2b-desktop

uv

uv add e2b-desktop

poetry

poetry add e2b-desktop

Installing e2b-desktop

Before you install

Low friction installation with a pure Python wheel. The package is actively maintained (last commit 2026-08-14) and has been in development since 2024-10-24. Supports current Python versions (3.10–3.14).

License in practice

MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice in distributions.

Quickstart

pip install e2b-desktop

from e2b_desktop import Sandbox

desktop = Sandbox.create()
desktop.launch('google-chrome')
image = desktop.screenshot()
desktop.kill()

Requires E2B_API_KEY environment variable set with a valid E2B API key (obtain by signing up at e2b.dev).

Verify before relying

  • Pricing model and cost per sandbox instance or usage tier
  • Geographic availability and latency characteristics of sandbox infrastructure
  • Maximum concurrent sandboxes per API key or account
  • Persistence and data retention policies for sandbox files and state

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — e2b, pillow, requests
Maintenance actively maintained — 22 days since the last release
Last repo commit
First released
Downloads 197,466/month — #9,758 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: e2b_desktop-2.4.2-py3-none-any.whl

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

virtual desktop sandbox cloudremote desktop automation SDKcomputer use environmentheadless desktop controlcloud-based GUI automationisolated sandbox desktopscreen streaming API
cloud-automationdesktop-controlcomputer-use

More Software Development packages