> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://platform.bctrl.ai/v1/sdk/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://platform.bctrl.ai/_mcp/server. # SDK ## Docs - [Quickstart](https://platform.bctrl.ai/v1/sdk/quickstart.md): Create a browser runtime, run a tool, and inspect the resulting Run. - [Core model](https://platform.bctrl.ai/v1/sdk/core-model.md): How Spaces, Runtimes, Runs, and Views fit together. - [Spaces](https://platform.bctrl.ai/v1/sdk/spaces.md): The boundary that scopes which storage, secrets, and AI credentials a runtime can use. - [Runtimes](https://platform.bctrl.ai/v1/sdk/runtimes.md): Create and control durable resources for automation. - [Runs](https://platform.bctrl.ai/v1/sdk/runs.md): The session record created when a runtime starts. - [Views](https://platform.bctrl.ai/v1/sdk/views.md): Give people a scoped way to watch or control automation. - [Connect with CDP](https://platform.bctrl.ai/v1/sdk/connect-cdp.md): Attach Playwright, Puppeteer, or another CDP client to a running browser Runtime. - [Connect with WebDriver](https://platform.bctrl.ai/v1/sdk/connect-webdriver.md): Attach Selenium to a running browser Runtime through its run-scoped WebDriver endpoint. - [Connect with WebMCP](https://platform.bctrl.ai/v1/sdk/connect-webmcp.md): Connect an MCP client to tools exposed by the active webpage. - [Conversations](https://platform.bctrl.ai/v1/sdk/conversations.md): Persistent Agent message threads bound to a Runtime. - [AI models](https://platform.bctrl.ai/v1/sdk/ai.md): Choose models and manage the credentials that Agents can use. - [Tools](https://platform.bctrl.ai/v1/sdk/tools.md): Give applications and Agents typed capabilities to perform work. - [Activate page](https://platform.bctrl.ai/v1/sdk/tools/browser/browser-pages-activate.md): Make one browser page active for subsequent work. - [Close page](https://platform.bctrl.ai/v1/sdk/tools/browser/browser-pages-close.md): Close one browser page in an active Runtime. - [Get page](https://platform.bctrl.ai/v1/sdk/tools/browser/browser-pages-get.md): Read one browser page from an active Runtime. - [List pages](https://platform.bctrl.ai/v1/sdk/tools/browser/browser-pages-list.md): List pages in an active browser Runtime. - [Open page](https://platform.bctrl.ai/v1/sdk/tools/browser/browser-pages-open.md): Open a page in an active browser Runtime. - [Act](https://platform.bctrl.ai/v1/sdk/tools/stagehand/stagehand-act.md): Ask Stagehand to perform one semantic browser action. - [Extract](https://platform.bctrl.ai/v1/sdk/tools/stagehand/stagehand-extract.md): Extract structured data from an active browser page with Stagehand. - [Observe](https://platform.bctrl.ai/v1/sdk/tools/stagehand/stagehand-observe.md): Find actionable elements and possible browser actions with Stagehand. - [Solve CAPTCHA](https://platform.bctrl.ai/v1/sdk/tools/captcha/captcha-solve.md): Detect and solve a CAPTCHA on an active browser page. - [Request human input](https://platform.bctrl.ai/v1/sdk/tools/human/human-request.md): Pause automation and request one bounded response from a person. - [List files](https://platform.bctrl.ai/v1/sdk/tools/files/files-list.md): List safe metadata for durable Files visible to the caller. - [Read text](https://platform.bctrl.ai/v1/sdk/tools/files/files-read_text.md): Read bounded UTF-8 text from a durable File. - [Export Run files](https://platform.bctrl.ai/v1/sdk/tools/run/run-files-export.md): Export selected Run files into one private archive File. - [Collect Runtime file](https://platform.bctrl.ai/v1/sdk/tools/runtime/runtime-files-collect.md): Collect a Runtime workspace file into durable File storage. - [List Runtime files](https://platform.bctrl.ai/v1/sdk/tools/runtime/runtime-files-list.md): List immediate children in the bounded Runtime workspace. - [Stage Runtime file](https://platform.bctrl.ai/v1/sdk/tools/runtime/runtime-files-stage.md): Copy a durable File into an active Runtime workspace. - [Delete secret](https://platform.bctrl.ai/v1/sdk/tools/vault/vault-secrets-delete.md): Delete one caller-owned Vault secret. - [Get secret metadata](https://platform.bctrl.ai/v1/sdk/tools/vault/vault-secrets-get.md): Get safe metadata for one Vault secret. - [List secrets](https://platform.bctrl.ai/v1/sdk/tools/vault/vault-secrets-list.md): List safe metadata for Vault secrets without reading secret values. - [Set secret](https://platform.bctrl.ai/v1/sdk/tools/vault/vault-secrets-set.md): Create or replace one caller-owned Vault secret. - [Update secret](https://platform.bctrl.ai/v1/sdk/tools/vault/vault-secrets-update.md): Update Vault secret fields without reading its value. - [Read secret value](https://platform.bctrl.ai/v1/sdk/tools/vault/vault-secrets-value.md): Read one authorized Vault secret value. - [Generate TOTP](https://platform.bctrl.ai/v1/sdk/tools/vault/vault-totp-generate.md): Generate the current TOTP for one authorized Vault login. - [Files](https://platform.bctrl.ai/v1/sdk/files.md): Store, transfer, and inspect durable files across Spaces, Runtimes, and Runs. - [Proxies](https://platform.bctrl.ai/v1/sdk/proxies.md): Save proxy configurations and attach them to browser Runtimes. - [Browser extensions](https://platform.bctrl.ai/v1/sdk/extensions.md): Store reusable CRX packages and load them into browser Runtimes. - [Account and organization](https://platform.bctrl.ai/v1/sdk/account.md): Manage authentication, API keys, subaccounts, notifications, usage, and account settings. - [Webhooks](https://platform.bctrl.ai/v1/sdk/webhooks.md): Send signed BCTRL events to an HTTPS endpoint and manage delivery attempts.