Skip to main content

unstuck (Python)

pip install unstuck

Human takeover for AI browser agents. When your agent hits a CAPTCHA, a login wall or a 2FA prompt, await unstuck.takeover(page, reason=...) pauses it, gives a human a link to the live browser, and returns when they're done.

from unstuck import Unstuck

async with Unstuck(on_link=lambda link: print(link.reason, link.url)) as unstuck:
    result = await unstuck.takeover(page, reason="Solve the CAPTCHA")  # Playwright async Page
if result.status != "resolved":
    raise RuntimeError(f"human takeover {result.status}")

result.status is resolved, timed_out, cancelled (the human tapped "Can't solve") or failed (for example the page closed). takeover() only raises UnstuckEngineError when the engine binary can't run.

The engine comes in the wheel for your platform (macOS 13+ on Apple silicon, Linux with glibc 2.17+, Windows x64; Intel Macs come in a later version). To use another binary, set UNSTUCK_ENGINE_PATH or Unstuck(engine_path=...).

Send the link through Unstuck Cloud, so it opens on any phone, by setting UNSTUCK_API_KEY=uk_live_.... Tutorials: https://unstuck.sh/docs

License: Apache-2.0 for the Python code. The bundled engine also contains the Unstuck viewer, licensed AGPL-3.0-only; see NOTICE for the source offer.

Metadata

Release files for unstuck 0.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for unstuck 0.1.0
File Actions
unstuck-0.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for unstuck-0.1.0-py3-none-win_amd64.whl
unstuck-0.1.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for unstuck-0.1.0-py3-none-manylinux_2_17_x86_64.whl
unstuck-0.1.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for unstuck-0.1.0-py3-none-manylinux_2_17_aarch64.whl
unstuck-0.1.0-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for unstuck-0.1.0-py3-none-macosx_13_0_arm64.whl

Total release size: 199.8 MB

Release files / unstuck-0.1.0-py3-none-win_amd64.whl

Download URL unstuck-0.1.0-py3-none-win_amd64.whl
Size 54.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b5a4f8b50ba39d70f26d03b09550835b99e0126e397df887d2754e9e7c518e2b
BLAKE2b-256 checksum
How to use checksums
9bf8bd1cb52397c16d22056be8a34592f07c0810b84acffcf866d89118d6a272
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / unstuck-0.1.0-py3-none-manylinux_2_17_x86_64.whl

Download URL unstuck-0.1.0-py3-none-manylinux_2_17_x86_64.whl
Size 52.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
076bfbd1340cc0f1f2c2298a984cc02a451d710f8e0c321bd6db223fcc7eb7d5
BLAKE2b-256 checksum
How to use checksums
224c94bc75dbe13f68ca62614feaf8132ec49f836368445472aa4dd20947338e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / unstuck-0.1.0-py3-none-manylinux_2_17_aarch64.whl

Download URL unstuck-0.1.0-py3-none-manylinux_2_17_aarch64.whl
Size 51.8 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9c9f14ce02e432afbcd1b58dd533e2b85b1cd6385b9bbf3585df1e28d20f7e9a
BLAKE2b-256 checksum
How to use checksums
f2c59736dc23af574aad1e752deec92e1114a8e5ce9d257c4cda8a6d5eb25a47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / unstuck-0.1.0-py3-none-macosx_13_0_arm64.whl

Download URL unstuck-0.1.0-py3-none-macosx_13_0_arm64.whl
Size 41.0 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
efeca91ed79dec34c610798ca51cb98eb22321826f22b9df3c63ee0ec308f4d8
BLAKE2b-256 checksum
How to use checksums
bcd159c0399bc0f746d16e83915b278f1701c8bfb573db49c5a42bc0875ca295
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for unstuck 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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