- Policy controls what the browser is allowed to do.
- Proxy controls the network path used by browser traffic.
Support matrix
| Need | Supported surfaces | Notes |
|---|---|---|
| Full browser policy | SDK browser creation, SDK agent browser creation, SDK quick actions, REST browser creation, REST quick actions, MCP manage_browsers create | Use BrowserNavigationPolicy fields such as allowedDomains, authDomains, downloads, uploads, and approvals. |
| CLI agent domain boundary | web agent --allow-domain <domain> | The CLI agent exposes domain allow-listing, not the full policy object. |
| MCP server startup policy | web mcp run --allow-domain, --allow-origin, --private-access localhost | Applies to browsers the MCP runtime creates. |
| Custom proxy | SDK browser creation, SDK agent browser creation, SDK quick actions, CLI browser creation, CLI quick actions, REST browser creation, REST quick actions | Keep proxy URLs in environment variables. |
| MCP custom proxy | Not currently exposed | Current MCP tool schemas do not include a browser-create proxy field. |
CLI web agent custom proxy | Not currently exposed | Use SDK web.agent({ browser: { create: { proxy } } }) when delegated agent work needs a custom proxy. |
SDK browser job
SDK agent job
MCP policy
manage_browsers. It is not a proxy setting. If an MCP workflow needs a proxied browser, create that browser through SDK, CLI, or REST first, then reuse the browser ID where the workflow supports it.
Failure handling
| Signal | Response |
|---|---|
| Policy denial | Stop or refine the policy deliberately. Do not retry with a wider policy automatically. |
| Proxy authentication failure | Rotate or correct the proxy credential outside prompts and logs. |
| Proxy connection failure | Retry with backoff only if the job is safe to repeat. |
| Unexpected auth or redirect domain | Add authDomains or redirectDomains only after confirming the domain belongs to the workflow. |
| Upload/download policy decision | Ask for human review when the action can expose data or change state. |