desktop  by e2b-dev

SDK for virtual desktop sandboxes for LLM-powered computer use

Created 1 year ago
1,094 stars

Top 34.9% on SourcePulse

GitHubView on GitHub
Project Summary

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

  • Install: pip install e2b-desktop (Python) or npm install @e2b/desktop (JavaScript).
  • Prerequisites: An E2B API key is required.
  • Setup: Obtain an API key from E2B and set the E2B_API_KEY environment variable.
  • Docs: https://e2b.dev/docs

Highlighted Details

  • Programmatic control over mouse, keyboard, and window interactions.
  • Real-time screen streaming with optional view-only or password-protected modes.
  • Ability to execute bash commands and manage files within the sandbox.
  • Customizable desktop environment, currently based on Linux and Xfce.

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.

Health Check
Last Commit

14 hours ago

Responsiveness

1 day

Pull Requests (30d)
5
Issues (30d)
2
Star History
35 stars in the last 30 days

Explore Similar Projects

Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), and
23 more.

goose by block

0.8%
20k
Open-source AI agent for automating complex engineering tasks
Created 1 year ago
Updated 21 hours ago
Feedback? Help us improve.