Run the whole chain under the proxy
OPENAI_API_KEY=authsome-proxy-managed) and initialize. The proxy substitutes the real key for outbound HTTPS to api.openai.com, api.github.com, and other matched hosts. No code changes to your chain.
Tools that call out to providers
Many LangChain tools (GitHubToolkit, SerpAPIWrapper, BraveSearch, etc.) read their secret from an env var. With the proxy already wrapping the process, the existing wrappers just work:
Export when the proxy is not enough
If you’re building a larger orchestrator around LangChain and need to pass tokens explicitly (different connection per call, or TLS-pinned SDKs that bypass the proxy), export credentials first:Async clients
AsyncChatOpenAI and other async wrappers work identically under authsome run.
Multi-account workflows
What’s next
Python library
The full library surface.
OpenAI integration
Set up the OpenAI key LangChain will use.