Quickstart
Install the SDK and set your API key:
Create a runtime
An ephemeral browser runtime starts immediately by default. Its response includes the active Run that was opened for the session.
This uses the platform defaults: the caller’s default Space, a browser Runtime, recording enabled, and an ephemeral Runtime that starts immediately. The name is optional; when omitted, BCTRL uses the Runtime ID as the name.
Run a tool
Tools that may take longer than one request are started as durable ToolCalls. Wait for the result with the ToolCall client:
The same Run contains the runtime lifecycle and the ToolCall. Read it when you need the final status or identifiers for later inspection:
Stop the runtime when the work is complete:
What to read next
- Core model - how Spaces, Runtimes, Runs, and automation fit together
- Spaces - scope storage, Vault access, and AI credentials
- Runtimes - choose ephemeral or profile-backed browser state
- Runs - inspect and stream Run activity

