AI agent instructions
AI agent instructions
Overview
Notte offers a flexible proxy system, enabling you to control how your automation traffic is routed across the internet. Whether you need anonymity, geolocation control, or improved reliability, Notte makes it easy to integrate proxies into your workflows.Configuration Options
With Notte, you can:- Use built-in proxies: Effortlessly route traffic through our managed residential proxies
- Bring your own proxies: Use custom HTTP/HTTPS proxies for greater control over network routing
- Combine multiple proxies: Set custom routing rules to direct traffic through different proxies based on domain or location
Built-in Proxies
Use Notte’s built-in proxies to route traffic through managed, residential proxies. This is the simplest option and requires very little setup. Settingproxies=True will make a best-effort attempt to use a US-based proxy. If nearby US proxies are unavailable, we may route through nearby countries (like Canada).
proxies parameter can also be customized to use a specific country proxy as follows:
Custom Proxies
Notte supports custom proxy configurations, allowing you to route traffic through your own HTTP or HTTPS proxies. This is useful if you need to enforce specific network routing rules, comply with security policies, or optimize performance with a preferred proxy provider.custom_proxy.py
Tailscale (tsnet) Proxies
Notte can join your Tailscale tailnet directly from within a cloud session, letting the browser reach any private service exposed on your tailnet (internal dashboards, staging environments, MagicDNS hosts) without exposing them to the public internet. Authentication uses Tailscale OAuth client credentials. In your Tailscale admin console:- In your tailnet policy file, add
tag:nottetotagOwners. - Under Settings → Trust credentials, create an OAuth client with write access to the
auth_keysscope and tag it withtag:notteonly. Tailscale requires every auth key the client creates to carry exactly the client’s tags, so any other tag on the client makes Notte’s sessions fail to join. - In the Access controls tab, grant
tag:notteaccess to the resources you want to reach from the session.
Option 1: Connect Tailscale in the console
Open Settings → Integrations in the Notte console and add the OAuth client ID and secret. Notte checks them with Tailscale before saving and stores the secret encrypted. Each workspace has one Tailscale connection, and only workspace admins can add or remove it. Sessions in that workspace then use it without any credentials in your code:tailnet_proxy_console.py
Option 2: Pass the OAuth credentials in code
Pass the client ID and secret when creating the session. This works without a console connection, and credentials passed here take precedence over it:tailnet_proxy.py
https://grafana.your-tailnet.ts.net/.
Exit nodes
By default only tailnet addresses go through your tailnet, and public sites are reached from Notte’s network. Setexit_node to send the session’s public traffic out through one of your own devices instead, such as your laptop, so sites see your connection’s IP address. It works with both options, for example TailnetProxy(exit_node="my-laptop").
Name the device by hostname, MagicDNS name, or Tailscale IP. It must be advertised and approved as an exit node, and your policy must let tag:notte reach autogroup:internet. If the device is offline or not usable as an exit node, the session fails to start rather than falling back to Notte’s network.
Usage Measurement
Proxy usage is measured by the total amount of data transferred through the proxy. This includes:- Webpage content, downloads, and media files
- HTTP headers, authentication data, and encryption overhead
- Any requests and responses routed through the proxy