Skip to main content

Python wrapper for agent-browser CLI — browser automation for AI agents, no npm required

Project description

agent-browser-cli

Install agent-browser via pip/uv — no npm required. Node.js is managed automatically.

Installation

pip install agent-browser-cli
# or
uv pip install agent-browser-cli

First run

On first invocation, Node.js v22 is automatically downloaded to ~/.cache/agent-browser-py/ (one-time, ~30MB):

agent-browser --version
# Downloading Node.js v22.14.0 (one-time setup)...
# Done.
# 0.17.1

Then install the browser (Chromium via Playwright):

agent-browser install

On Linux you may need system dependencies:

agent-browser install --with-deps

Usage

agent-browser open example.com
agent-browser snapshot
agent-browser click @e1

All commands are proxied directly to the bundled Rust CLI binary.

How it works

The wheel bundles:

  1. Rust CLI binary (~15MB) — from GitHub releases
  2. Node.js daemon code (~18MB) — from the npm registry with all JS dependencies

Downloaded at runtime (cached in ~/.cache/agent-browser-py/):

  1. Node.js runtime (~30MB) — from nodejs.org, downloaded on first use
  2. Chromium — via agent-browser install (Playwright CDN)

No npm installation is required on your system. Node.js is downloaded and managed automatically.

Supported platforms

  • macOS (arm64, x86_64)
  • Linux (x86_64, aarch64)
  • Windows (x86_64)

Building from source

make wheel TARGET_SYSTEM=darwin TARGET_MACHINE=arm64  # Single platform
make wheels                                            # All 5 platforms
make verify                                            # Install and verify

License

MIT — This wrapper packages upstream software under their respective licenses:

  • agent-browser: MIT
  • Node.js: MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

agent_browser_cli-0.17.1.post5-py3-none-win_amd64.whl (33.2 MB view details)

Uploaded Python 3Windows x86-64

agent_browser_cli-0.17.1.post5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

agent_browser_cli-0.17.1.post5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (33.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

agent_browser_cli-0.17.1.post5-py3-none-macosx_11_0_arm64.whl (32.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_browser_cli-0.17.1.post5-py3-none-macosx_10_9_x86_64.whl (33.1 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file agent_browser_cli-0.17.1.post5-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for agent_browser_cli-0.17.1.post5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 550eab014327ca0f7995c454578deb150243755799c7418b763567f64067f0a8
MD5 357697d9565693ad83c0f1d8908c241a
BLAKE2b-256 883a4afd00fa02cbd665870ec6dd45458e9c16c4bd966fe37284a8054fd8e8ee

See more details on using hashes here.

File details

Details for the file agent_browser_cli-0.17.1.post5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for agent_browser_cli-0.17.1.post5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0b2ea58ddc7ff15b2ca483673b7436577a1d7367f1f4491fe2afc96cd464259e
MD5 afad1180610ece0b676f94cd33cc8809
BLAKE2b-256 d97135dec4d5b773b611e13a71bd148130d8606649a6069f08d152094a562617

See more details on using hashes here.

File details

Details for the file agent_browser_cli-0.17.1.post5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for agent_browser_cli-0.17.1.post5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 55922dfc710cb406376a7897f3dcee9cd05034c65d64559ff4b9befc3e2e426f
MD5 d2f2de1fe69a7cc0f950a7e348ac32d9
BLAKE2b-256 59c31a3d6972848ad3a011cedb214f62d79a5336ee6bdec47d4357a93c8b290b

See more details on using hashes here.

File details

Details for the file agent_browser_cli-0.17.1.post5-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agent_browser_cli-0.17.1.post5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 98581b4be299852bb7de6fa41454182a390858c5f0c5481a390285701a2b86ae
MD5 8e7906a31be50e9ea257fa6e582fef45
BLAKE2b-256 4ab0eed72bf5848850e10f4b2c011d791bdabe93d911311d4b05cc621837a614

See more details on using hashes here.

File details

Details for the file agent_browser_cli-0.17.1.post5-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for agent_browser_cli-0.17.1.post5-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ac7cd6006b0ddee56d3aaf040867cd6e2c908f65094afb1390d48a2704dde233
MD5 b28712f7ac6b9fdd238e661020653553
BLAKE2b-256 cdad097e9be4cbd623bd54ed4b47883b8345a35a39e6802a37ae8c174248b080

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page