AI & LLM integrations
Trace the model calls, agent steps, and tool calls in your AI app. Instrument the SDK or agent framework you already use with a few lines, and the resulting spans show up in Logfire, with prompts, tokens, cost, and latency where the integration captures them.
Any OpenTelemetry-compatible LLM SDK can send to Logfire. See Alternative clients for the generic pattern.