The general pattern for any Python script that calls external APIs. No framework required.Documentation Index
Fetch the complete documentation index at: https://agentr-feature-env-backed-identity-loading.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Run under the proxy
The script reads env vars normally; authsome injects the real values at the proxy layer.Embedding the library
When you’re wiring authsome into a larger Python orchestrator and want per-call connection selection or programmatic access to connection metadata:get_access_token if your process outlives a token TTL. See Python library for the full surface.
When the proxy isn’t enough
The library 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.