Skip to main content

hai-drivers

Web, desktop and shell drivers for H Company's computer-use agents.

pip install "hai-drivers[web]"          # browser driver (Selenium)
pip install "hai-drivers[playwright]"   # browser driver (Playwright, async)
pip install "hai-drivers[desktop]"      # desktop driver
pip install "hai-drivers[desktop-cli]"  # `desk`: desktop commands for an agent's shell
pip install "hai-drivers[web-cli]"  # `web`: browser commands for an agent's shell
pip install "hai-drivers[cua-cli]"      # `cua`: desktop commands for an agent's shell, through cua-driver

desk click X Y, desk key ctrl+s, desk screenshot; desk aliases puts one executable per command next to desk so the bare click, key, screenshot work as well.

web goto URL, web text, web click @e4, web screenshot: one web executable drives the Chrome already running with --remote-debugging-port=9222, through a warm daemon holding the Playwright driver.

cua windows, cua state, cua click 12, cua type "text", cua shot: one cua executable reads each window's accessibility tree and acts on numbered controls or screen pixels through a warm cua-driver daemon, with a receipt per action saying what the driver could verify. cua skill prints the manual.

LocalCodeSandbox runs an agent's shell and file calls in a folder on this machine, with the permissions of the user running it. Given a CommandPolicy such as an Allowlist file, it runs the commands the policy lets through and holds every other one until a human approves it. Given a SandboxRuntime with the machine's sandbox-runtime settings file, every command runs under srt: it writes in that folder and reads and reaches only what the settings allow. A command made only of calls of the programs the host names outside runs outside it: cua on Linux and Windows, where srt opens no single socket or pipe.

This package is consumed by the hai-agents SDK to let agents control a local browser, desktop or shell; it is not meant to be used on its own.

Metadata

Release files for hai-drivers 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for hai-drivers 0.2.2
File Interpreter ABI Platform Actions
hai_drivers-0.2.2-py3-none-any.whl Python 3 none any Details for hai_drivers-0.2.2-py3-none-any.whl

Release files / hai_drivers-0.2.2-py3-none-any.whl

Download URL hai_drivers-0.2.2-py3-none-any.whl
Size 451.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55bfbe269ae41810e656ec39fdd428bc440bf3ce1c5144c537d2d1dd1a8b30c3
BLAKE2b-256 checksum
How to use checksums
221b10f02d7dda792f3a6693a5d1b85d15f07bfdb2d7368dd68fb3a1e1fcf212
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for hai-drivers 0.2.2

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.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for hai_drivers-0.2.2-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page