result.
runs.create() automatically creates a session and workspace. wait_for_completion() / waitForCompletion() polls the lightweight run status endpoint, then fetches the full run result once it reaches completed, failed, or cancelled.
Use the agent for:
- Data extraction and research across many pages
- Form filling, downloads, and multi-step workflows
- Authenticated work with browser profiles
- Long-running tasks that create or consume files
- Follow-up turns that preserve the same conversation, workspace, and live browser