Skip to main content Switch to mobile version node-mantis 0.1.12 Automate web tasks with AI: describe them in plain English and Node Mantis runs them in a real Chrome browser. Python, Node and CLI.
pip install node-mantis==0.1.12 Copy PIP instructions
Node Mantis automates web tasks with AI. Describe a goal in plain English and it carries the goal out in a real Chrome browser on your machine, navigating, clicking, typing and reading the page the way a person would, then returns the result to your code. Use it from Python, Node.js or the command line; it uses your Google Chrome (or provides Chrome for Testing when Chrome is missing), and new accounts start with $10 in free credit.
python -m pip install --upgrade node-mantis export NODEMANTIS_API_KEY="sk_live_ " import asyncio from nodemantis import NodeMantis async def main(): async with await NodeMantis.start() as mantis: result = await mantis.run( "Go to https://sandbox.nodemantis.com. Open Travel & Adventure, add one copy of Journey to the Center of the Earth to the cart, then open the cart and report the title and quantity.", ) print("Status:", "success" if result.ok else "failed") print(result.reason) asyncio.run(main()) Quickstart · Docs · API reference · Get an API key · Pricing · Website
Node Mantis includes a Model Context Protocol server, so an assistant that supports MCP can give it website tasks. Add it to the assistant's MCP settings:
{ "mcpServers": { "node-mantis": { "command": "uvx", "args": ["node-mantis", "mcp"], "env": { "NODEMANTIS_API_KEY": "sk_live_ " } } } } Without uv, install the package and use "command": "nodemantis", "args": ["mcp"].
It offers four tools. run_task carries out a task from a plain-English goal, retrieve_data reads data from one page, and get_task and cancel_task follow up on work that takes longer than one call. Pass result_schema (a JSON Schema) to get the data in a fixed shape. Secrets work as on the command line: the assistant passes only names, and each value comes from NODEMANTIS_SECRET_ in the server's environment. See the MCP guide.
Pass passwords, API keys and one-time codes with secrets. The values stay in the local Node Mantis process; only their names are shared, and Node Mantis types a value into the page when the task asks for it by name.
result = await mantis.run( "Sign in as the user ada with the account password.", secrets={"account_password": os.environ["ACCOUNT_PASSWORD"]}, ) On the command line, pass --secrets account_password and set NODEMANTIS_SECRET_ACCOUNT_PASSWORD. Names use letters, digits and underscores, and you can point at one in a prompt as . The value never leaves your machine while it is typed, and password fields are hidden in the page snapshot. Use secrets with fields that hide what you type: a page that shows the value as readable text exposes it like any other page content. See Secrets.
Node Mantis drives Google Chrome. It uses, in order: CHROME_PATH, your installed Google Chrome, or Chrome for Testing (Google's official automation build of Chrome) in a private Node Mantis cache. If none exists, it downloads the latest Stable Chrome for Testing (about 200 MB) the first time a browser is needed (Python wheels cannot run install steps); nodemantis install-browser does it ahead of time and nodemantis doctor shows which browser is used. No admin rights are needed and your own browser is never touched. To remove it, delete the cache folder: ~/Library/Caches/nodemantis/chrome (macOS), %LOCALAPPDATA%\nodemantis\cache\chrome (Windows) or ~/.cache/nodemantis/chrome (Linux, honours XDG_CACHE_HOME). Set NODEMANTIS_SKIP_BROWSER_DOWNLOAD=1 to turn every automatic download off, for example on locked-down machines. On Linux, Chrome for Testing needs the usual Chrome system libraries (libnss3, libatk-bridge2.0-0, libgbm1, libasound2, ...); nodemantis doctor names any that are missing.
If a run, session start or nodemantis doctor fails before the first step reaches the Node Mantis API (for example the engine is missing, Chrome does not launch, the API key is rejected, or the network is down), the SDK sends one short report to https://api.nodemantis.com/v2/client-events so we can fix first-run problems we would otherwise never see. It is sent in the background with a 2-second limit and never changes output or exit codes.
Sent: which step failed, an error code, a short error message with URLs, file paths, email addresses and keys removed, the SDK, engine, OS, CPU and Node.js/Python versions, the command, how the CLI was installed (when known), whether it runs in CI, and a random install ID stored next to your config file. When an API key is configured it is sent as the usual Authorization header so the report is linked to your account.
Never sent: your task or prompt, page URLs or content, selectors, file paths, environment variables, or the API key itself in the report.
Opt out: set NODEMANTIS_TELEMETRY=0 (or false/off), or DO_NOT_TRACK=1. nodemantis doctor --offline never sends one.
All 4 files in this release have provenance metadata.
LicenseRef-NodeMantis-Proprietary View SPDX License List
browser automation web automation ai agent browser agent llm playwright puppeteer alternative selenium alternative headless browser chrome natural language rpa web testing node-mantis nodemantis
Intended Audience Developers
Programming Language Python :: 3
Release files for node-mantis 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 44.3 MB
Release files / node_mantis-0.1.12-py3-none-win_amd64.whl
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Security for node-mantis 0.1.12
All 4 files in this release have been uploaded with provenance metadata.
With provenance node_mantis-0.1.12-py3-none-win_amd64.whl Nov 22, 2026
Attestation for node_mantis-0.1.12-py3-none-win_amd64.whl
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.
Release history Release notifications | RSS feed
Dec 3, 2026 4 release files Full provenance
Nov 25, 2026 4 release files Full provenance
Nov 23, 2026 4 release files Full provenance
Nov 22, 2026 4 release files Full provenance
Nov 21, 2026 4 release files Full provenance
Nov 20, 2026 4 release files Full provenance
Nov 18, 2026 4 release files Full provenance
Nov 15, 2026 4 release files Full provenance
Nov 14, 2026 4 release files Full provenance
Nov 13, 2026 4 release files Full provenance
Nov 10, 2026 4 release files Full provenance
Nov 7, 2026 4 release files Full provenance
Nov 6, 2026 4 release files Full provenance
Nov 4, 2026 4 release files Full provenance
Sep 21, 2026 4 release files Full provenance
Sep 7, 2026 4 release files Full provenance
Sep 6, 2026 4 release files Full provenance
Aug 31, 2026 4 release files Full provenance
Aug 28, 2026 4 release files Full provenance
Aug 21, 2026 4 release files Full provenance
Aug 5, 2026 4 release files Full provenance
Aug 4, 2026 4 release files Full provenance
Aug 3, 2026 3 release files Full provenance
Jul 10, 2026 3 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




