Contents
- 1. Available frontends
- 2. Native call path
- 3. Output limit and recovery
- 4. Source and editable installs
- 5. Platform wheels
- 6. Verify the installed commands
1. Available frontends
This page describes OpenBrowser 0.1.61 and later. Useopenbrowser-ai for normal CLI work. Compatible platform wheels include a native frontend and the openbrowser-ai-py Python backend. The pure Python wheel exposes both commands through Python.
The daemon owns the browser, code execution, and persistent variables. The frontend sends commands to that daemon.
2. Native call path
On a supported native wheel, the exact formopenbrowser-ai -c CODE can send a warm code call directly to the existing daemon. A connection failure hands startup to the Python backend before the request is sent.
Other command forms use the Python backend. These include -c -, options before -c, --mcp, --version, --help, scrape, web-search, prompt runs, and daemon commands. MCP continues to use the Python server and its selected stdio transport.
3. Output limit and recovery
The native client accepts a JSON response of at most 8 MiB, or 8,388,608 bytes. The limit includes the JSON envelope and excludes the terminating newline.OPENBROWSER_MAX_OUTPUT separately controls the daemon’s output-character limit.
If a response exceeds the native limit, the client returns daemon_response_too_large. The code may have already executed. The client ends the call without repeating the request.
4. Source and editable installs
Source and editable installs use the Python frontend by default. A warm plain-c call uses the standard-library thin client. Native editable builds are rejected.
The release CI uses Rust 1.100.0. A native wheel build needs a Rust toolchain and the standard library for the selected target. Linux builds use x86_64-unknown-linux-musl or aarch64-unknown-linux-musl. OPENBROWSER_NATIVE_TARGET selects a supported target explicitly.
RUSTFLAGS and CARGO_ENCODED_RUSTFLAGS unset for this build.
5. Platform wheels
These tags describe the native frontend. Python and browser dependencies have their own requirements. Linux native binaries use static musl and pass the matching manylinux2014 installation checks.
PyPI installers select a compatible wheel. A Git source URL builds the Python frontend unless native wheel building is enabled explicitly.