Spanlight reads traces that your application sends it. This section shows how to send them from the libraries you already use, so you add tracing without rewriting your code. Each card shows the language the guide is written for.
Send the spans an OpenTelemetry instrumentation library already writes. Each guide shows the exporter setup its library’s recording was made with, and links to OTLP compatibility, which lists field by field what each library captures and loses.
Vercel AI SDKLanguage: TypeScript. Export generateText, streamText and tool calls from a Node.js or Next.js server, on AI SDK 5, 6 and 7.
LiteLLMLanguage: Python. Trace litellm.completion calls with LiteLLM's own OpenTelemetry callback, in either of its modes.
OpenLLMetry (Traceloop)Language: Python. Trace workflows, tasks, agents, tools and OpenAI calls with the Traceloop SDK.
OpenInferenceLanguage: Python. Trace the OpenAI client and LangChain with the instrumentations behind Arize Phoenix.
OpenAI Agents SDKLanguage: Python. Trace agent runs, turns, tool calls and model calls with the OpenInference instrumentation.
LangGraphLanguage: Python. Trace graph nodes, tools and model calls with the OpenInference LangChain instrumentation.
Pydantic AILanguage: Python. Trace agent runs, tool calls and model calls with Pydantic AI's built-in instrumentation, no Logfire needed.
LlamaIndexLanguage: Python. Trace agent workflow steps, tools and model calls with the OpenInference LlamaIndex instrumentation.
GitHub ActionLanguage: GitHub Actions workflow (YAML). Run a prompt over a dataset on every pull request and fail the job when a score drops below a threshold.
Every integration guide opens with a “Verified” note. It gives the date the instructions were last run and the exact package versions they were run with, and the install commands on the page use the same versions. If you use a different version, the steps may differ.
Each guide also lists what Spanlight records from that library and what it does not, so you know what the dashboard can show before you rely on it.