An AI agent with a real browser. You say what you want in plain language, it goes and does it on the actual web.
FEATURED IN
Business Insider ·
TechCrunch ·
Semafor ·
Wired ·
The Verge ·
Vanity Fair ·
404 Media
Two ways to use it
The only question is where the model comes from.
1. You already use an assistant that can run tools
Your assistant brings the model. You add this browser to it, and nothing changes about how you work.
Claude Code:
claude mcp add -s user stealth -- uvx invisible-playwright-mcp
Codex:
codex mcp add stealth -- uvx invisible-playwright-mcp
Gemini CLI:
gemini mcp add -s user stealth uvx invisible-playwright-mcp
Then ask your assistant, in the window you already have open:
Go to news.ycombinator.com and give me the top five titles.
Claude Desktop, Cursor, VS Code, Windsurf, Zed and Cline take a config file instead, and the file is not the same shape for all of them. Each one is written out in the server's README.
2. You don't, or you want to watch it work
We bring the interface, you bring an OpenRouter key. Chat on the left, the live browser on the right.
uvx aihawk ui --openrouter-key sk-or-...
Then open http://127.0.0.1:8765 and type the same thing.
Same patched Firefox behind both. AIHawk reaches it through that MCP server, over MCP, exactly as your assistant would.
Before either one
Python 3.11 or newer, on Windows (x86_64) or Linux (x86_64, arm64).
macOS is not supported: the last engine build for it was firefox-20.
Both commands above start with uvx, so you need uv:
curl -LsSf https://astral.sh/uv/install.sh | sh # Linux
powershell -c "irm https://astral.sh/uv/install.ps1 | iex" # Windows
The browser is a separate download of about a quarter of a gigabyte, and it does not arrive when you install either side. It arrives on the first request that needs a page, so your first instruction sits there for a while and a slow connection can time out with an error that says nothing about a download. Get it over with first, where you can watch it:
uvx invisible-playwright fetch
What to ask it
Anything that needs a browser rather than an API, and a person's judgement about what is on the page.
Go to
<paste the URL>. One way, Milan to Lisbon, economy, one checked bag, one adult. Check every date from the 12th to the 16th of next month, one at a time, and read the cheapest fare for each day. The date field is a calendar widget, so click the days rather than typing them. If a date has no availability, say so. Do not guess a number.
It drives the page the way a person would: the pointer moves, keys are pressed, and it refuses to set a form field from JavaScript even when that would be quicker, because a page can tell the difference.
Options
--openrouter-keyYour key, or theOPENROUTER_API_KEYvariable.--modelAn OpenRouter model id, orAIHAWK_MODEL. Defaults toz-ai/glm-4.6.--proxyOptional.http://user:pass@proxy.example.com:8080orsocks5://proxy.example.com:1080. Host and port are both required. The timezone, locale and egress follow it.--binaryAn engine binary you already have. It must be the build the seal pins, or startup refuses: this skips the download, not the version check.--seedAn integer. Same seed, same browser identity, every run.--profile-dirA directory to keep the profile in, so logins and cookies survive restarts.--headedShow the browser window. The interface shows you the page anyway.--host,--port127.0.0.1and8765. Changing the host exposes an interface that has no authentication.
Passing --openrouter-key puts the key in your shell history, and on Linux in
the process list. OPENROUTER_API_KEY in the environment avoids both.
Either way it does not reach the browser process: it is removed from the
environment the engine starts with, by name and by value, so a copy under a
second name goes too.
tests/test_key_isolation.py
fails if that stops being true.
The wiki
The reading room around the agent lives in the wiki: the AI browser-agent landscape and its comparisons, what to check when an agent gets blocked, and what happened to OpenAI Operator, among others. Worked examples, transcripts and their outputs live in articles/.
The rest of the family
- invisible-playwright-mcp The MCP server from option 1. Tools only, no interface.
- invisible_playwright The engine, as a Python library, for writing code instead of prompts. The API is Playwright's.
- invisible_core Seed to fingerprint to preferences, proxy and geolocation.
Contributing
Issues and pull requests welcome on whichever of those the problem lives in. If you are not sure, open it here. See CONTRIBUTING.
When something fails on a page, say which step, what the page did, what the tool returned and which exit country you were on. "It got blocked" is not something anyone can act on.
Using it responsibly
This automates a browser under your control. Read the terms of the sites you point it at, respect their rate limits, and do not submit anything a human has not read.
License
MIT. Everything distributed before 2 September 2026 was released under AGPL-3.0 and stays under it.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aihawk-0.3.0.tar.gz.
File metadata
- Download URL: aihawk-0.3.0.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d80c3344f5ae26245a8aa164fad8890c2789476ca7a17fe2cf6ff8de7401b2b7
|
|
| MD5 |
20d8603bba6049056b08382fe3c5f49e
|
|
| BLAKE2b-256 |
ff791a8721bbebfa1e029aadb3d2f0385f31d13c02b8225ba5e4ef2e13c9bfb5
|
Provenance
The following attestation bundles were made for aihawk-0.3.0.tar.gz:
Publisher:
publish.yml on feder-cr/AIHawk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aihawk-0.3.0.tar.gz -
Subject digest:
d80c3344f5ae26245a8aa164fad8890c2789476ca7a17fe2cf6ff8de7401b2b7 - Sigstore transparency entry: 2703698355
- Sigstore integration time:
-
Permalink:
feder-cr/AIHawk@e511fde0f5ec0aaceed1baa3a72478d879fe4228 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/feder-cr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e511fde0f5ec0aaceed1baa3a72478d879fe4228 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aihawk-0.3.0-py3-none-any.whl.
File metadata
- Download URL: aihawk-0.3.0-py3-none-any.whl
- Upload date:
- Size: 32.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98c162e2dcc1238cfa9b9ff4621d0f9ee5a0aa1cef47084675c9a2b8e636d2f9
|
|
| MD5 |
196a8df071bf5155005e9db934a3c4e6
|
|
| BLAKE2b-256 |
d3ac82c67784643f9704bd03bfc969ae6e08c58b8350b9df516d341cec98efd3
|
Provenance
The following attestation bundles were made for aihawk-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on feder-cr/AIHawk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aihawk-0.3.0-py3-none-any.whl -
Subject digest:
98c162e2dcc1238cfa9b9ff4621d0f9ee5a0aa1cef47084675c9a2b8e636d2f9 - Sigstore transparency entry: 2703698592
- Sigstore integration time:
-
Permalink:
feder-cr/AIHawk@e511fde0f5ec0aaceed1baa3a72478d879fe4228 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/feder-cr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e511fde0f5ec0aaceed1baa3a72478d879fe4228 -
Trigger Event:
push
-
Statement type: