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 or Intel, Linux with glibc 2.17+, Windows x64). 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.1

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.1
File Actions
unstuck-0.1.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for unstuck-0.1.1-py3-none-win_amd64.whl
unstuck-0.1.1-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for unstuck-0.1.1-py3-none-manylinux_2_17_x86_64.whl
unstuck-0.1.1-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for unstuck-0.1.1-py3-none-manylinux_2_17_aarch64.whl
unstuck-0.1.1-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for unstuck-0.1.1-py3-none-macosx_13_0_x86_64.whl
unstuck-0.1.1-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for unstuck-0.1.1-py3-none-macosx_13_0_arm64.whl

Total release size: 243.4 MB

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

Download URL unstuck-0.1.1-py3-none-win_amd64.whl
Size 54.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
bb1f28335b405138cc5d83ca057c8c0f6f7b660f612806056bd3b9f3fadc4b7e
BLAKE2b-256 checksum
How to use checksums
39475ffa32fdbec0fe091f17ed46d0e018ed7cf793ef3f9ebf7b47c009cb5a37
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.1-py3-none-manylinux_2_17_x86_64.whl

Download URL unstuck-0.1.1-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
c7f11b14579bdd466cc4866b318100e4a3616c18b260809ee9f7d6d450e29298
BLAKE2b-256 checksum
How to use checksums
5b0ff46e7d8bcd23036d3a2f7daae486a1ce0939595ee7f9d5e4bee9b57076a2
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.1-py3-none-manylinux_2_17_aarch64.whl

Download URL unstuck-0.1.1-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
90068cfddc44f693714081aabadf82e66586183ca4c1cf11de7fbf698e5703c7
BLAKE2b-256 checksum
How to use checksums
6debe8b74f53079cea477badf1fd2e0cf779254c11e8bf207fac254767bcc552
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.1-py3-none-macosx_13_0_x86_64.whl

Download URL unstuck-0.1.1-py3-none-macosx_13_0_x86_64.whl
Size 43.6 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
1970c2e2665c198950f1bf8c27df8f34ef18ab2c1a475a3e2e1aeab2019c95ab
BLAKE2b-256 checksum
How to use checksums
ca7af5871514df2b233c0841dba547471f9686b1d09a059a402ae695ffad67ea
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.1-py3-none-macosx_13_0_arm64.whl

Download URL unstuck-0.1.1-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
aea430a2d801c2835b5c9d830d956cecc49393f03703d97d93ae38e6b0cd984b
BLAKE2b-256 checksum
How to use checksums
b65ada06365df0a80eaa227bb9f4aea0c87b3cf8ca54298f8619086677f1924a
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.1

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