> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 인테그레이션

> OpenAI, Anthropic, Google Gen AI SDK를 패치하여 각 SDK의 Call이 자동으로 트레이스되도록 합니다.

선택적으로 설치하는 Python 공급자 SDK용 자동 트레이싱 인테그레이션입니다.

다음과 같이 `integrations` 모듈을 통해 액세스하세요.

```python theme={"system"}
from coreweave.forge.agentlens.tracing import integrations
```

<h2 id="autopatch">
  autopatch
</h2>

```python theme={"system"}
def autopatch() -> None: ...
```

이미 로드된 공급자를 패치하고, 나중에 임포트되는 공급자를 감지합니다.

<h2 id="disable_autopatch">
  disable\_autopatch
</h2>

```python theme={"system"}
def disable_autopatch() -> None: ...
```

이후에 발생하는 임포트는 더 이상 감시하지 않습니다. 이미 패치된 심볼은 패치된 상태로 유지됩니다.

<h2 id="patch_openai">
  patch\_openai
</h2>

```python theme={"system"}
def patch_openai() -> bool: ...
```

설치된 OpenAI SDK 메서드를 패치합니다. 여러 번 호출해도 문제가 없습니다.

<h2 id="unpatch_openai">
  unpatch\_openai
</h2>

```python theme={"system"}
def unpatch_openai() -> bool: ...
```

Forge가 대체한 OpenAI SDK 메서드를 원래대로 복원합니다.

<h2 id="patch_anthropic">
  patch\_anthropic
</h2>

```python theme={"system"}
def patch_anthropic() -> bool: ...
```

설치된 Anthropic SDK의 메서드를 패치합니다. 여러 번 호출해도 안전합니다.

<h2 id="unpatch_anthropic">
  unpatch\_anthropic
</h2>

```python theme={"system"}
def unpatch_anthropic() -> bool: ...
```

Forge가 대체한 Anthropic SDK 메서드를 원래대로 복원합니다.

<h2 id="patch_google_genai">
  patch\_google\_genai
</h2>

```python theme={"system"}
def patch_google_genai() -> bool: ...
```

설치된 Google Gen AI SDK 메서드를 패치합니다. 여러 번 호출해도 안전합니다.

<h2 id="unpatch_google_genai">
  unpatch\_google\_genai
</h2>

```python theme={"system"}
def unpatch_google_genai() -> bool: ...
```

Forge가 대체한 Google Gen AI SDK 메서드를 원래대로 복원합니다.

<h2 id="unpatch_all">
  unpatch\_all
</h2>

```python theme={"system"}
def unpatch_all() -> None: ...
```

이 패키지가 패치한 모든 공급자를 원래 상태로 되돌립니다.
