praisonai-browser is the standalone package that powers AI browser automation — the bridge server, CDP agent, and Playwright engine — usable on its own or inside the full praisonai stack.
praisonai-browser drives Chrome until the task completes.
Quick Start
1
Install the package
2
Run a goal from the CLI
run performs a fast pre-flight /health check and exits 2 with an actionable message if the bridge is down or no extension is connected — no more 180-second silent hangs.3
Or use the Python API
BrowserServer.start() blocks for the lifetime of the server (it calls uvicorn.run). It has no built-in port pre-check — that lives in the CLI. Programmatic callers who want the same “already running” behaviour should probe the port first:server.start() in try/except OSError and check errno.EADDRINUSE (or winerror == 10048 on Windows).Install
Pick the extras you need — core alone covers the CLI and CDP agent.pip install "praisonai[all]" (or praisonai[browser]) installs praisonai-browser for you as part of the umbrella product.Console Entry Point
The package ships apraisonai-browser console script that mirrors the praisonai browser subcommands.
praisonai browser ….
Running
praisonai-browser start a second time on the same port exits cleanly with an “already running” message and exit code 0 — it does not fail. See Already running behaviour for the exact output and the Windows/IPv6 details.Python API
Import the public classes straight frompraisonai_browser.
Protocol Types
The lightweight type definitions live in the agents tier and are shared across engines.BrowserActionType includes click, type, scroll, navigate, wait, screenshot, evaluate, submit, clear_input, and done.
Backward Compatibility
Everything from the pre-extraction layout keeps working.praisonai.browser is a compatibility shim that re-exports praisonai_browser, so existing scripts need no changes.Best Practices
Install only the extras you use
Install only the extras you use
Core covers the CLI and CDP agent. Add
[server] for the Chrome extension bridge and [playwright] for Firefox/WebKit or headless runs.Prefer the canonical import
Prefer the canonical import
Import from
praisonai_browser in new code. The praisonai.browser shim stays for existing scripts.Use the standalone CLI in slim environments
Use the standalone CLI in slim environments
praisonai-browser runs without the full wrapper, keeping browser-only images small.Run doctor before your first session
Run doctor before your first session
praisonai-browser doctor checks the server, Chrome debugging, extension, and session database in one pass.Related
Browser Agent
Setup, CLI reference, and supported actions.
Browser Agent Deep Dive
Execution modes, APIs, and package layout in detail.

