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.post4-py3-none-win_amd64.whl (33.2 MB view details)

Uploaded Python 3Windows x86-64

agent_browser_cli-0.17.1.post4-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.post4-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.post4-py3-none-macosx_11_0_arm64.whl (32.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

agent_browser_cli-0.17.1.post4-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.post4-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for agent_browser_cli-0.17.1.post4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f610c04ceaaddd78828029f82680d0d031f4b21df924279c8e70e6623e58c112
MD5 ab606f39fab3a66a374d4d14c27c5f80
BLAKE2b-256 75df3da575d234bb88c01e61a3e7d8c1d28d3f4d10eabe35badce391fd359e5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_browser_cli-0.17.1.post4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0d3ee84333d7b161c04f89f56071d9642b007af3e684ae59430180f50eb616fe
MD5 ca4f4f3dae0a5e2a3185d6b237abd2e2
BLAKE2b-256 1d95c23dcbea92d6fb6746ba7e51d9958801513534308d6a79b32d4bce568deb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_browser_cli-0.17.1.post4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 49b903d80e94c4c86bc125a4b715dfa40d356662851fac54873b6c39634487f6
MD5 953de889ece56a614d135c7789a41f96
BLAKE2b-256 2d62896cb01a5a53d3662c3f7343524b3d251bac1d588a38fffde8ce702fe62b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_browser_cli-0.17.1.post4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae3cea761fe71efa562f6e40281c607f9f67af8665f34a47daa497a38a2efee5
MD5 66622b66f6d1d168b3c3bd9eb4bdc0f2
BLAKE2b-256 583cb8b648fdb5d6595cf7ac6fb7ce7d4a8dfe6693799682c870d875165871ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_browser_cli-0.17.1.post4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 29e88aafb60fc93f8e7f5151c29c7d4b5566f1c7cd5a2d499ef154a1e2a91c4e
MD5 bbbb563972ec978e95e44a72924139dc
BLAKE2b-256 7cb4116030ad1f6b8a85349fbe4d35235dc46e860fea6bb569ff4bfa2a9d502f

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