HeroDesktop 🦸♂️
Built by Death Legion Team. The best and most feature-complete open-source virtual desktop sandbox for AI agents.
HeroDesktop allows you to safely run AI agents in an isolated environment with a full desktop interface. Powered by E2B, it provides seamless control and streaming capabilities.
Features
- 🚀 On-Demand Desktops: Start a fresh desktop sandbox in seconds.
- 📦 Common Apps: Built-in support for Chrome, Firefox, and VS Code.
- 📺 Live Streaming: Stream the entire desktop or a specific application window.
- 🔐 Security: Optional password protection and view-only modes for streams.
- ⌨️ Full Control: Mouse movement, clicks, dragging, scrolling, typing, and hotkeys.
- 🖥️ Window Management: Detect and interact with specific application windows.
- 🐍 Multi-Language: Native SDKs for both Python and JavaScript.
Installation
Python
pip install herodesktop
JavaScript/TypeScript
npm install herodesktop
Quick Start (Python)
from herodesktop import HeroDesktop
# Create a new sandbox
desktop = HeroDesktop.create()
# Launch an app
desktop.launch_chrome("https://google.com")
# Start streaming
url = desktop.start_streaming()
print(f"Stream URL: {url}")
# Basic control
desktop.write("Hello World!")
# Shutdown
desktop.shutdown()
Quick Start (JavaScript)
import { HeroDesktop } from 'herodesktop';
const desktop = await HeroDesktop.create();
await desktop.launchChrome("https://google.com");
const url = await desktop.startStreaming();
console.log(`Stream URL: ${url}`);
await desktop.write("Hello World!");
await desktop.shutdown();
Examples
Check out the examples/ directory for more detailed use cases:
basic: Simple sandbox creation and control.streaming_app: Launching an app and streaming only that window.
License
MIT - HeroDesktop by Death Legion Team
Metadata
Release files for herodesktop 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| herodesktop-0.1.0.tar.gz | 3.0 kB | Without provenance | Details for herodesktop-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| herodesktop-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for herodesktop-0.1.0-py3-none-any.whl |
Total release size: 6.2 kB
Release files / herodesktop-0.1.0.tar.gz
| Download URL | herodesktop-0.1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42eeaeb68c163075c89f95e49e930d0ca6179cf6a3817a76167de3b2db370060
|
|
BLAKE2b-256 checksum How to use checksums |
c55892e5822a1c39dea79c94c11e0f2c1e89bd5651dcc921e8cc00bcbb54f096
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / herodesktop-0.1.0-py3-none-any.whl
| Download URL | herodesktop-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31776b291ee6ee1ac09e352b5a52c6cb357d435d5994d6f34e4a7df62d6345db
|
|
BLAKE2b-256 checksum How to use checksums |
2e8b9547ab2d234aff3f762e7fadea99c652f52a45983caf35289a1778c91e49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for herodesktop 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.