Browsing Through a Proxy
Have your agent browse the web through a proxy you choose, so pages load from the location and network you want.
You can have your agent browse through a proxy — useful when a site is only reachable from a particular network, when you need pages to load from a specific country, or when your organization requires outbound traffic to go through one.
Ask for a proxy
Tell your agent the proxy to use when you ask it to browse:
- "Open a browser using the proxy
http://proxy.example.com:8080and go to example.com." - "Browse through
http://alice:[email protected]:8080and check what the homepage says."
Write the proxy the way you normally would — the address, the port, and your username and password if it needs them:
http://proxy.example.com:8080
http://username:[email protected]:8080
socks5://proxy.example.com:1080Always include the port. If you leave it out, your agent asks you for it rather than guessing.
If your workspace already uses a proxy
When your workspace is set up to send its network traffic through a proxy, the browser uses that same proxy automatically. You don't need to ask for it, and you don't need to know its address.
If you name a proxy in your request, that one wins for that browsing session. This is the way to send one task through a different network without changing anything else about your workspace.
If your workspace is set up to use a proxy but it can't be reached, your agent refuses to open the browser and tells you why. It will not quietly connect directly instead — that would send your browsing out over the ordinary connection, which is exactly what the proxy was there to prevent.
Proxies that need a username and password
Supported for every proxy type:
| Proxy type | Username and password |
|---|---|
http:// and https:// | Supported. |
socks5:// and socks5h:// | Supported. |
Include them in the address, the way you normally would:
http://username:[email protected]:8080
socks5://username:[email protected]:1080If the credentials are wrong, your agent tells you the proxy rejected them — it won't quietly browse without the proxy instead.
Address-allowlisted proxies work too. If your provider authorizes your account by IP address rather than a password, leave the username and password out.
What this changes about the browser
- Pages load from your proxy's location. The browser's time zone, language, and location settings line up with where your proxy exits, so sites see a consistent picture rather than a mismatch.
- Your credentials are not kept. A username and password you provide are used for that browsing session and are not saved to your profile or repeated back to you in your agent's replies.
Where addresses are looked up. The addresses your agent visits are looked up on the far side of your proxy, so the network you are on doesn't see which sites you browse. One exception: a single fixed address-lookup service, used to match the browser's regional settings to your proxy, is looked up from your workspace when you use a SOCKS proxy. It never reveals the pages you visit.
Good to know
- A proxy applies to one browsing session. Ask again if you want the next session to use it too, or rely on your workspace's own proxy, which is always applied.
- It works with saved profiles as well. You can browse through a proxy with a named profile when you need both your saved logins and a particular network.
- If the proxy refuses the connection, your agent reports that the page could not be loaded. Check the address, the port, and your credentials.