Run under the proxy
The script reads env vars normally; authsome injects the real values at the proxy layer.Export when the proxy is not enough
When you need to pass tokens explicitly (TLS-pinned SDKs, non-HTTP protocols, or per-call connection selection):When the proxy isn’t enough
The export path is the right tool when:- The SDK pins TLS certificates and refuses to trust the mitmproxy CA.
- You’re using non-HTTP protocols (WebSockets, gRPC over HTTP/2, raw TCP) that the proxy can’t intercept.
- You need to pick a different connection per call within the same process.
- You’re embedding authsome inside a larger orchestrator with its own subprocess management.
Multi-account
What’s next
Python library
Every part of the library surface.
Run agents with the proxy
The proxy injection model.