Documentation Index
Fetch the complete documentation index at: https://mintlify.com/steerlabs/opensteer/llms.txt
Use this file to discover all available pages before exploring further.
Overview
OpenSteer Cloud enables browser automation to run on remote infrastructure. When cloud mode is enabled, all browser interactions are executed on cloud-hosted browsers while your local code controls them via API.Configuration
Cloud mode is configured via thecloud option in OpensteerConfig:
Simple Enable
Configuration Options
Cloud configuration. Set to
true to enable with defaults, or provide an options object for custom configuration.API key for OpenSteer Cloud authentication. Required when cloud mode is enabled.If not provided in config, reads from
OPENSTEER_API_KEY environment variable.Base URL for the OpenSteer Cloud API. Override for custom deployments or testing.Environment variable:
OPENSTEER_BASE_URLAuthentication scheme for cloud API requests.
'api-key'- Send API key asX-API-Keyheader (default)'bearer'- Send API key asAuthorization: Bearertoken
OPENSTEER_AUTH_SCHEMEControls whether cloud session information is printed to stderr on launch.
'always'- Always announce session details (default)'tty'- Only announce if stderr is a TTY (interactive terminal)'off'- Never announce session details
Environment Variables
Cloud configuration can be set via environment variables:OPENSTEER_MODE
cloud: true in config.
OPENSTEER_API_KEY
OPENSTEER_BASE_URL
https://api.opensteer.com.
OPENSTEER_AUTH_SCHEME
api-key (default) or bearer.
Examples
Using Environment Variables
Explicit Configuration
Bearer Authentication
Custom Base URL
Silent Mode (No Announcements)
TTY-Only Announcements
Session Announcement
Whenannounce is enabled, OpenSteer prints session information to stderr on launch:
- sessionId - Unique identifier for the cloud session
- workspaceId - Your workspace identifier
- url - Direct link to view the session in your browser
Authentication Schemes
api-key (Default)
Sends API key in custom header:bearer
Sends API key as Bearer token:Cloud Limitations
Some methods are not supported in cloud mode:Opensteer.from(page)- Cannot attach to external pagesexportCookies()- Requires local filesystem accessimportCookies()- Requires local filesystem access
OpensteerCloudError with code CLOUD_UNSUPPORTED_METHOD.
Error Handling
CLOUD_NOT_LAUNCHED- Cloud session not initializedCLOUD_ACTION_FAILED- Cloud action execution failedCLOUD_UNSUPPORTED_METHOD- Method not supported in cloud mode
Notes
- API key is required for cloud mode - no default value
- Cloud sessions are automatically closed when
browser.close()is called - All browser actions are executed remotely with results streamed back
- Cloud mode is automatically detected from
OPENSTEER_MODE=cloudenvironment variable - Session URLs allow you to view live browser sessions in your web browser
- Use
announce: 'tty'to avoid log pollution in CI/CD environments