Installation & Setup
Install
Create a client
The API key authenticates all requests. Get one from the BCTRL dashboard.
Create a workspace
A workspace is an isolated environment for your agent’s resources. Mount the credentials and storage it needs:
Launch a browser runtime
A runtime is a remote browser running on BCTRL infrastructure. Pick a driver — Playwright, Puppeteer, Stagehand, or Selenium:
Automate
Use the driver’s native API to control the remote browser:
Clean up
Full example
Next steps
- Workspaces — mount AI credentials, vault, and storage
- Runtimes — drivers, launch modes, concurrent runtimes
- Scopes & Inheritance — how resources flow to runtimes
- Browser Capabilities — full reference for browser automation

