Direct desktop browser integration for autonomous AI coding agents (Antigravity / Claude Code / Codex). Bridges sandbox isolation, connects to an isolated browser profile on CDP port
9222, and implements the Context-Aware Intent Inheritance (गृहीत कार्यप्रणाली) protocol.
-
Dedicated Profile Isolation (
%USERPROFILE%\.authorized_ai_browser):- Operates exclusively on port
9222launched by your desktop batch file (Launch_AI_Authorized_Browser.bat). - Your primary everyday personal browser is never touched, closed, or modified.
- Operates exclusively on port
-
Semantic Accessibility (ARIA) Engine:
- Clicks and fills inputs using accessible roles, names, and text rather than fragile, minified CSS selectors. Resilient across site redesigns.
-
Engine-Level Hardware Input Dispatch (
isTrusted === true):- Dispatches genuine keyboard and mouse events via Chrome DevTools Protocol (
Input.dispatchKeyEvent). Fullscreen toggles, media keys, and shortcuts execute cleanly without getting blocked by user-activation gates.
- Dispatches genuine keyboard and mouse events via Chrome DevTools Protocol (
-
Autonomous TOTP 2FA Token Generator:
- Pure Python standard library implementation of RFC 6238. Generates 6-digit Authenticator codes on the fly without external dependencies.
-
Anti-Bot Challenge Detection & 3-Second Audio Handoff:
- Detects Cloudflare Turnstile, reCAPTCHA, and hCaptcha iframes. Brings the tab to the foreground and sounds a voice alert for zero-friction human verification before auto-resuming.
-
Context-Aware Permission Inheritance (Pre-Approved Intent Protocol):
- If an action was explicitly requested by the user in chat (e.g. "send the email", "fill the checkout details"), the entire execution pipeline runs autonomously without annoying pause prompts.
# Check connection & list open tabs
python scripts/bridge.py status
# Generate 2FA TOTP code
python scripts/bridge.py totp "JBSWY3DPEHPK3PXP"
# Scan active page for anti-bot challenges
python scripts/bridge.py captcha --filter "login"
# Dispatch genuine hardware key (e.g., toggle fullscreen on video)
python scripts/bridge.py key "f" --code "KeyF" --vk 70 --filter "crunchyroll"
# Click element semantically using ARIA or visible text
python scripts/bridge.py click "Send" --role "button" --filter "mail"
# Fill input semantically
python scripts/bridge.py fill "Search" "One Piece" --enter
# Trigger 3-Second Audio/Visual Human Handoff
python scripts/bridge.py handoff --reason "Payment QR Scan"User Prompt: "Send 3 emails to X asking for name, age, address"
│
▼
[Intent Analysis]: Explicit user order with full permission?
│
┌──────┴──────┐
YES NO
│ │
▼ ▼
[Pre-Approved Mode] [Interactive Mode]
- Zero intermediate - Drafts only
prompts - Pauses for approval
- Full execution & before send/checkout
live proof report
MIT License. Created by ATP0925.