Patchwright stealth + Vibium-style LLM-friendly CLI for agentic browser automation.
Project description
vibatchium
Agent-piloted browser automation that clears Cloudflare. Patched Playwright + multi-session daemon + credential vault + vision clicking + prompt-injection safety. One MCP server, N parallel Chromes, persistent per-session profiles.
pipx install git+https://github.com/trueoriginlabs/vibatchium
patchright install chrome
vb setup # auto-register with Codex / Claude Code / Cursor (idempotent)
Coding agents (Codex / Cursor / Claude Code): read
AGENTS.mdfirst — it has the one-call recipes (explore,research) and the env-discovery traps to skip.
vb explore https://example.com # one-call: text + screenshot
vb research --target https://example.com \ # parallel fan-out, N intents
--intent "pricing model" --intent "customers" --intent "tech stack"
Status: active development, alpha. PyPI version lags — install from source / git URL. 384 tests green. 31/31 on bot.sannysoft.com. Cleared HackerOne Cloudflare cold-launch. Apache-2.0 (GPL/AGPL only via opt-in extras).
Why vibatchium
| Vibium | Patchwright | Browser-Use | vibatchium | |
|---|---|---|---|---|
LLM-friendly @eN refs + map / diff map |
✅ | ❌ | ❌ | ✅ |
| Cloudflare CDP-leak patches | ❌ | ✅ | ❌ | ✅ |
| Multiple parallel browsers, one daemon | ❌ | manual | ❌ | ✅ |
| Per-session persistent profile (cookies, login) | ✅ | manual | manual | ✅ |
| CDP-attach to manually-logged-in Chrome | ❌ | manual | ❌ | ✅ |
| Encrypted credential vault (passwords + TOTP) | ❌ | ❌ | ❌ | ✅ |
| IMAP email-code polling (2FA) | ❌ | ❌ | ❌ | ✅ |
| Per-session proxy + WebRTC leak guard | ❌ | manual | ❌ | ✅ |
| Vision-first clicking with spend cap | ❌ | ❌ | ✅ | ✅ |
| Prompt-injection classifier on scraped content | ❌ | ❌ | ❌ | ✅ (0% FP / 204 samples) |
| Live-view stream with takeover (WebSocket) | ❌ | ❌ | partial | ✅ |
| Bearer-token REST shim + caps gating | ❌ | ❌ | manual | ✅ |
research command (parallel fan-out) |
❌ | ❌ | ❌ | ✅ |
Multi-session in 10 lines
vb session new work
vb --session work start
vb --session work go https://github.com # log in by hand once
vb session new banking
vb --session banking start
vb --session banking go https://bank.example.com
vb --session work click @e3 & # truly parallel —
vb --session banking fill @e5 hi & # separate Chromes, no cookie bleed
wait
vb session list
Active-session resolution: --session FLAG → $VIBATCHIUM_SESSION env → ~/.config/vibatchium/active-session → default. Cap via VIBATCHIUM_MAX_SESSIONS=4 (default 4).
Documentation
AGENTS.md— coding-agent contract (Codex / Cursor / Claude Code)docs/CAPABILITIES.md— per-verb reference (every CLI / MCP / REST verb)docs/OPERATIONS.md— operator playbook: env vars, recipes, anti-patterns from real runsdocs/STEALTH.md— stealth posture, defender clearance, trade-offs
Server modes
| Mode | Surface | Auth |
|---|---|---|
vb mcp |
stdio JSON-RPC; --caps=... gates the bucket set |
n/a (stdio) |
vb serve |
FastAPI on 127.0.0.1:8000; every verb at POST /v1/<verb>; WebSocket live-view at /v1/stream/<session> |
bearer token (~/.cache/vibatchium/rest-token, mode 0600) |
REST capability gating: vb serve --caps=core,nav,input,vision restricts the HTTP surface the same way mcp --caps does. Without it, REST grants local-code-equivalent access (eval + secret_* + file-writing verbs all exposed) — safe for localhost dev, not for hosted/multi-tenant.
Attach mode — the practical Cloudflare workaround
For DataDome / Kasada / hardened auth that walls cold-launch automation:
google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/cdp-profile &
# log into the walled site by hand
vb attach http://localhost:9222
vb go https://target.example.com # now reads as your real browser
Patchright's CDP-layer stealth still applies over connect_over_cdp — attach mode gets the same protocol-level patches as cold launch, plus your real-browser fingerprint and any cookies from the manual login.
Security model
Credentials never appear in logs, HAR captures, observe cache, or agent-visible response fields (grep-tested in CI). Vault uses XSalsa20-Poly1305 with key from OS keyring or VIBATCHIUM_SECRETS_KEY. All vibatchium-written files are 0600; directories 0700.
For the REST shim: without --caps, the bearer token grants every verb including eval, secret_*, and file-writing verbs. Local-code-equivalent — always pass --caps=... for hosted-mode. Live-view binds 127.0.0.1 only by default (--insecure-public to override).
Honest limits
- 5+ concurrent sessions = 1-2GB RAM. Each persistent-context Chrome is ~200-400MB. Bump cap with
VIBATCHIUM_MAX_SESSIONS=8. - Vision spend cap is process-wide. N fan-out agents share one daily/lifetime budget.
- Init scripts don't work on patchright backend.
chrome.runtimestaysundefined— accepted trade for stealth wins (details). - Login walls (X, LinkedIn) require attach mode. Cold-launch fan-out can't defeat sites requiring authenticated sessions.
- Single daemon = single point of failure. No HA built in.
- PyPI version (0.1.0) is stale. Install from the git URL above for the current feature surface.
License
Apache-2.0 (core). Optional extras pull their own licenses: nodriver (AGPL-3.0), stealth-mouse / CDP-Patches (GPL-3.0). Never required for the base install.
Project details
Release history Release notifications | RSS feed
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 vibatchium-0.5.0.tar.gz.
File metadata
- Download URL: vibatchium-0.5.0.tar.gz
- Upload date:
- Size: 210.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30a10f33e1fa745b4f34d2f660cd71703453c5549b1d0ab8323e05584b07c18e
|
|
| MD5 |
7706876c31d2f8136463cfbbd8d9baa4
|
|
| BLAKE2b-256 |
dbee8371406623a5e10f8adcee41d1b80fd0fc5b3972caefe8e82edd1f11dca0
|
Provenance
The following attestation bundles were made for vibatchium-0.5.0.tar.gz:
Publisher:
publish.yml on trueoriginlabs/vibatchium
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vibatchium-0.5.0.tar.gz -
Subject digest:
30a10f33e1fa745b4f34d2f660cd71703453c5549b1d0ab8323e05584b07c18e - Sigstore transparency entry: 1643880601
- Sigstore integration time:
-
Permalink:
trueoriginlabs/vibatchium@a16cf68d77dcfb37fce0604fe5128c0ffa73ab97 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/trueoriginlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a16cf68d77dcfb37fce0604fe5128c0ffa73ab97 -
Trigger Event:
push
-
Statement type:
File details
Details for the file vibatchium-0.5.0-py3-none-any.whl.
File metadata
- Download URL: vibatchium-0.5.0-py3-none-any.whl
- Upload date:
- Size: 156.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0b04b3bafef806391497de2c56f125c896abac1397e49e946d1e09d36218122
|
|
| MD5 |
5b8b74352548a7b243c4025d341c49a8
|
|
| BLAKE2b-256 |
b7aff95474a478d1f478f7d922d2e99f38025b28d3ee92ecb6530ee94fbc1500
|
Provenance
The following attestation bundles were made for vibatchium-0.5.0-py3-none-any.whl:
Publisher:
publish.yml on trueoriginlabs/vibatchium
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vibatchium-0.5.0-py3-none-any.whl -
Subject digest:
f0b04b3bafef806391497de2c56f125c896abac1397e49e946d1e09d36218122 - Sigstore transparency entry: 1643880644
- Sigstore integration time:
-
Permalink:
trueoriginlabs/vibatchium@a16cf68d77dcfb37fce0604fe5128c0ffa73ab97 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/trueoriginlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a16cf68d77dcfb37fce0604fe5128c0ffa73ab97 -
Trigger Event:
push
-
Statement type: