desktop  by e2b-dev

SDK for virtual desktop sandboxes for LLM-powered computer use

created 1 year ago
1,022 stars

Top 37.3% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
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

1 week ago

Responsiveness

1 day

Pull Requests (30d)
3
Issues (30d)
1
Star History
390 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeremy Howard Jeremy Howard(Cofounder of fast.ai), and
1 more.

code-interpreter by e2b-dev

0.5%
2k
SDK for running AI-generated code in secure cloud sandboxes
created 1 year ago
updated 2 weeks ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), and
6 more.

E2B by e2b-dev

0.7%
9k
Open-source cloud runtime for AI apps and agents
created 2 years ago
updated 22 hours ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
1 more.

fragments by e2b-dev

0.6%
6k
Next.js template for AI-generated apps
created 1 year ago
updated 1 week ago
Feedback? Help us improve.