AI agent instructions
AI agent instructions
Requirements
Your proxy must:- Be reachable on a public address, as
http://host:portorhttps://host:port. Withhttps://, its TLS certificate must be valid for that hostname, issued by a public CA or by the CA you send inca_certificate. - Speak HTTP proxy protocol:
CONNECT host:443tunnels for HTTPS sites, and absolute-form requests (GET http://host/path) for plain HTTP sites. - Accept Basic auth in the
Proxy-Authorizationheader if you setusernameandpassword, and answer407to wrong credentials. Notte then fails the browser’s request with502. - Decrypt HTTPS for the listed hosts only, presenting a certificate for the requested host issued by your CA. Send that CA certificate, never its private key, in
ca_certificate. The browser trusts it for the listed hosts in that session only. - Replace stand-ins with real values only on requests to the listed hosts. If a value cannot be swapped, return an error instead of forwarding the stand-in.
- Replace real values with stand-ins in responses from the listed hosts, so a site that sends a real value back does not expose it to the browser, the agent, screenshots, recordings or network logs. See why this matters.
- Forward requests unchanged apart from the swapped values, over a new TLS connection to the site that verifies the site’s certificate.
Share the exit IP
To make the site see one IP address for the whole session, send your proxy’s outgoing connections for the listed hosts through Notte’s proxy gateway with a gateway credential. Useproxy_url_tls if your proxy can use TLS to its upstream, or proxy_url_plain if it cannot, and start the session with the same sticky_session, and the same country or city, on its notte entry.