Skip to main content
Automatic tracing integrations for optional Python provider SDKs. Access these through the integrations module:

autopatch

Patch loaded providers and watch for providers imported later.

disable_autopatch

Stop watching future imports; already-patched symbols stay patched.

patch_openai

Patch installed OpenAI SDK methods. Safe to call repeatedly.

unpatch_openai

Restore OpenAI SDK methods replaced by Forge.

patch_anthropic

Patch installed Anthropic SDK methods. Safe to call repeatedly.

unpatch_anthropic

Restore Anthropic SDK methods replaced by Forge.

patch_google_genai

Patch installed Google Gen AI SDK methods. Safe to call repeatedly.

unpatch_google_genai

Restore Google Gen AI SDK methods replaced by Forge.

unpatch_all

Restore every provider patched by this package.
Last modified on September 30, 2026