> ## Documentation Index
> Fetch the complete documentation index at: https://next.gentrace.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Instrumentations

> How to instrument your LLM calls with Gentrace

# Prerequisites

This document assumes you have already:

* [initialized](../getting-started/initialization) the Gentrace SDK
* setup your first [interaction](../tracing/interactions)

# Automatic instrumentations

Gentrace automatically collects spans from compliant automatic instrumentations, for example from the
[AI SDK](../integrations/ai-sdk) or [Pydantic AI SDK](../integrations/pydantic-ai), with minimal global configuration.

Here are guides for automatic instrumentations:

* [AI SDK](../integrations/ai-sdk)
* [Pydantic AI SDK](../integrations/pydantic-ai)
* [OpenAI](../integrations/openai-python)
* [OpenAI Agents](../integrations/openai-agents)
* [LangChain](../integrations/langchain)
* [LangGraph](../integrations/langgraph)
* [Mastra](../integrations/mastra)

# Manual instrumentation

Where automatic instrumentations are not available, you can manually construct spans in compliance with the
OpenTelemetry specification.

Learn more about [manual instrumentation](../tracing/manual-instrumentation).
