SDK for virtual desktop sandboxes for LLM-powered computer use
Top 37.3% on sourcepulse
E2B Desktop Sandbox provides a secure, isolated virtual desktop environment for interacting with LLMs and performing computer tasks. It's designed for developers and researchers who need a reproducible and sandboxed environment for AI agents or automated workflows, offering a graphical interface that can be controlled programmatically.
How It Works
The sandbox is built on E2B's core technology, utilizing a Linux-based virtual machine with the Xfce desktop environment. This lightweight setup allows for programmatic control of the desktop, including screen streaming, mouse and keyboard input simulation, window management, and execution of shell commands. This approach enables LLMs or agents to interact with a graphical interface as if a human were using it, but within a secure, isolated, and reproducible environment.
Quick Start & Requirements
pip install e2b-desktop
(Python) or npm install @e2b/desktop
(JavaScript).E2B_API_KEY
environment variable.Highlighted Details
Maintenance & Community
The project is actively developed by E2B. Further community engagement details are not explicitly provided in the README.
Licensing & Compatibility
The README does not specify a license. Compatibility for commercial use or closed-source linking is not detailed.
Limitations & Caveats
Streaming specific applications requires the application to be already open, and only one application stream is supported at a time. The underlying sandbox is based on Xfce, which might not be suitable for all use cases requiring different desktop environments.
1 week ago
1 day