Integrations / Anthropic Claude
To trace Claude calls with Uncoil, wrap the Anthropic client with the Uncoil SDK. Messages, tool use and streamed responses are recorded as spans with tokens, latency and cost.
Your code
Anthropic Claude
Uncoil
One run.
Setup
import uncoil
from anthropic import Anthropic
anthropic = uncoil.wrap_anthropic(Anthropic())
reply = anthropic.messages.create(
model=MODEL,
max_tokens=100,
messages=[{"role": "user", "content": "Hello"}],
)Full details in the documentation. All integrations are listed on the integrations page.
