Integrations / Anthropic Claude
To trace Claude calls with Tracify, wrap the Anthropic client with the Tracify SDK. Messages, tool use and streamed responses are recorded as spans with tokens, latency and cost.
Your code
Anthropic Claude
Tracify
One run.
Setup
import tracify
from anthropic import Anthropic
anthropic = tracify.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.
