Skip to main content

pageon for Python

brew install hupe1980/tap/pageon   # the browser (or cargo install pageon; or set PAGEON_BIN)
pip install pageon

Drive the browser. Each Browser runs pageon mcp as a child process, and the page's code runs in its sandbox:

from pageon import Browser, ActionError

with Browser() as browser:
    tab = browser.open("https://example.com")
    print(tab.observe())                 # the ax view, with refs
    try:
        out = tab.click("e1")
        print(out)                       # ok click e1 · navigated to …
        print(out.observation)           # what changed
    except ActionError as e:
        print(e.kind, e.guidance)        # e.g. not_actionable: wait until it is enabled

Browser takes the CLI's options as arguments: sandbox, private_network, allow_files (off: agents cannot open file: pages), origins, read_origins, secrets ("name@origin"; values from PAGEON_SECRET_<NAME>), files (staged uploads), state, save_state, replay, record, budget, guard, binary, and the identity and policy options profile, platform, identity, signature_tag, passkeys, cross_site_writes and robots. An invalid option raises PageonError with pageon's message.

Tab
observe(detail=…), view(kind), find(query) The agent view (full, compact or what changed); markdown, text, errors, requests; a search of the whole page
click, type, upload, press, select, paste, hover, drag, scroll, wait, back, forward Actions; each returns an Outcome, or raises ActionError with kind and guidance
screenshot(marks=…), crop(ref) Pixels, with set-of-marks or provenance
reset(step) Go back to a step exactly, sending nothing again
lookahead(actions) Try actions on a fork; the page and the network are untouched
call_tool(name, **args) Call a tool the page registered (WebMCP)
workflow_save(), workflow_run(wf, **params) Compile the session into a workflow; rerun one
takeover(reason) A live view for a person (CAPTCHAs, second factors)
close() Close the tab (browser.new_tab(url) opens another)

BrowserGym and AgentLab run on pageon unchanged (pip install "pageon[browsergym]"):

import gymnasium as gym, pageon.browsergym
pageon.browsergym.register(replace=True)
env = gym.make("browsergym/miniwob.click-button")

Serialize captured pages (no browser needed):

import pageon
cap = pageon.Capture.load("page.capture.json.gz")
print(pageon.ax(cap, budget=4000))

Metadata

Release files for pageon 0.5.0

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

Source distribution (sdist)

Source distribution for pageon 0.5.0
File Size Uploaded Provenance Actions
pageon-0.5.0.tar.gz 384.9 kB With provenance Details for pageon-0.5.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pageon 0.5.0
File Interpreter ABI Platform Actions
pageon-0.5.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for pageon-0.5.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
pageon-0.5.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for pageon-0.5.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
pageon-0.5.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for pageon-0.5.0-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 9.1 MB

Release files / pageon-0.5.0.tar.gz

Download URL pageon-0.5.0.tar.gz
Size 384.9 kB
Tags Source
SHA-256 checksum
How to use checksums
921921e33b226a147985ebfa38f004cfea1ed8333af2670f6eea1e4b3f7489c6
BLAKE2b-256 checksum
How to use checksums
8a8d272b0f95c89efcc6fbe31a5ede76004b29e56c372ad45c9b73786a576c89
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 17, 2026.

Transparency log

Release files / pageon-0.5.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pageon-0.5.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 3.0 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
7bf8367ea6908239b4b84256bf213f729aa65bcd55d6b45def64a9254abad783
BLAKE2b-256 checksum
How to use checksums
8f9d6e806df6462b325a9cbda6ca2973514c96ff9ecff78968bd4deff21fbf18
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 17, 2026.

Transparency log

Release files / pageon-0.5.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL pageon-0.5.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 2.9 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
c0f56b981f1a03ed713f410a9f9e5b2b1c77f7d76c7d5640b9e92dd59a3d3374
BLAKE2b-256 checksum
How to use checksums
3326e819cc28e90cfd630f5ff059c6f0bd0f1e2b6bfdb0b2d3f0b30f58812d4d
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 17, 2026.

Transparency log

Release files / pageon-0.5.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL pageon-0.5.0-cp311-abi3-macosx_11_0_arm64.whl
Size 2.9 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4e5f7cfe4be0d9818293778e65f15586dcacbb92a24ced45dd247b318124c1fa
BLAKE2b-256 checksum
How to use checksums
0732b074dd41b438daf10a99dfcfc6b6c00b172d682cab2a4d1c05fd423f6236
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 17, 2026.

Transparency log

Security for pageon 0.5.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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for pageon-0.5.0.tar.gz

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 17, 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