anthropic sdk · open beta
LLMs don't throw exceptions. They hallucinate, return broken JSON, spike costs, and drift — all while your logs show green. trace.ai catches it.
live simulation — click a scenario
Detection engine
Everything included
Setup
npm install @trace-ai/sdk
const tracer = new Tracer({ apiKey })
const anthropic = tracer.wrapAnthropic(
new Anthropic()
)await anthropic.messages.create({
model: 'claude-haiku-4-5-20251001',
messages: [...],
_trace: { stepName: 'classify' },
})