> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-hivemind-launch.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrations overview

> Trace agents and LLM applications with Weave's integrations for popular agent SDKs, harnesses, LLM providers, and orchestration frameworks.

Weave provides two ways to integrate with your AI stack:

* **Trace agents**: For multi-turn agentic applications built with agent SDKs (such as the OpenAI Agents SDK or Google ADK) or run inside agent harnesses (such as Claude Code, Codex, or Pi.dev). These integrations capture sessions, turns, LLM calls, and tool calls, and render them in the Weave **Agents** view.
* **Trace LLM applications**: For code that calls LLM providers (OpenAI, Anthropic, Bedrock, and others) or uses orchestration frameworks (LangChain, LlamaIndex, DSPy, and others). These integrations capture individual LLM calls and pipeline steps as Weave **Calls** in the **Traces** view.

If you're not sure which path to take, start with [Trace your agents](/weave/guides/tracking/trace-agents) for new multi-turn agent work, or [Trace LLM applications](/weave/guides/tracking/tracing) for existing LLM-call workflows.

## Trace agents

The Weave SDK models the full lifecycle of a multi-turn agent: sessions, turns, LLM calls, and tool calls. For supported agent SDKs and harnesses, Weave autopatches the framework so you only need to call `weave.init()` — every agent invocation, sub-agent handoff, model call, and tool call is captured automatically and rendered in the **Agents** view.

For custom agents, you can instrument any agent code by hand using `weave.start_session`, `weave.start_turn`, `weave.start_llm`, and `weave.start_tool`. See the [agents quickstart](/weave/agents-quickstart) for a walkthrough.

### Integrate Weave with agent SDKs

Agent SDKs are libraries for building agents and multi-agent workflows in your own application code. Weave autopatches the following SDKs:

* **[OpenAI Agents SDK](/weave/guides/integrations/agents/openai-agents-sdk)**
* **[Google Agent Development Kit (ADK)](/weave/guides/integrations/agents/google-adk)**
* **[Claude Agent SDK](/weave/guides/integrations/agents/claude-agents-sdk)**

### Integrate Weave with agent harnesses

Agent harnesses are end-user agent runtimes (such as coding agents and developer tools) that produce spans Weave can capture. Install the appropriate plugin or extension and your harness sessions are routed to the **Agents** view:

* **[Claude Code plugin](/weave/guides/integrations/agents/claude-code-harness)**
* **[Codex plugin](/weave/guides/integrations/agents/codex-harness)**
* **[OpenClaw plugin](/weave/guides/integrations/agents/openclaw-harness)**
* **[Pi extension](/weave/guides/integrations/agents/pi-dev-harness)**

### Build your own

Use the Weave SDK directly to instrument custom agents, including any agent that emits OpenTelemetry spans. Weave accepts any OTel span and has special handling for [GenAI semantic-convention attributes](https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-agent-spans/) so your spans render correctly in the **Agents** view of the Weave UI.

See the the [Trace an agent quickstart](/weave/agents-quickstart) for information on how to trace custom agents.

## Trace LLM applications

If your application calls an LLM provider's API directly or uses an orchestration framework, Weave can automatically intercept traces (using autopatching) for many popular libraries and frameworks. By importing the Weave SDK into your code and initializing with `weave.init`, each request is recorded as a Weave **Call** with inputs, outputs, latency, token usage, and cost.

For libraries Weave doesn't autopatch, you can manually apply [Weave Ops](/weave/guides/tracking/create-call#2-tracking-of-custom-functions) to your code to capture traces.

### LLM providers

LLM providers are the vendors that offer access to large language models for generating predictions. Weave integrates with these providers to log and trace the interactions with their APIs:

* **[Serverless Inference Service](/inference)**
* **[Amazon Bedrock](/weave/guides/integrations/bedrock)**
* **[Anthropic](/weave/guides/integrations/anthropic)**
* **[Cerebras](/weave/guides/integrations/cerebras)**
* **[Cohere](/weave/guides/integrations/cohere)**
* **[Google](/weave/guides/integrations/google)**
* **[Groq](/weave/guides/integrations/groq)**
* **[Hugging Face Hub](/weave/guides/integrations/huggingface)**
* **[LiteLLM](/weave/guides/integrations/litellm)**
* **[Microsoft Azure](/weave/guides/integrations/azure)**
* **[MistralAI](/weave/guides/integrations/mistral)**
* **[NVIDIA NIM](/weave/guides/integrations/nvidia_nim)**
* **[OpenAI](/weave/guides/integrations/openai)**
* **[OpenRouter](/weave/guides/integrations/openrouter)**
* **[Together AI](/weave/guides/integrations/together_ai)**

**[Local Models](/weave/guides/integrations/local_models)**: For when you're running models on your own infrastructure.

### Frameworks

Frameworks help orchestrate the execution pipelines in AI applications. They provide tools and abstractions for building complex workflows. Weave integrates with these frameworks to trace the entire pipeline:

* **[OpenAI Agents SDK (call-level tracing)](/weave/guides/integrations/openai_agents)**
* **[Claude Agent SDK (call-level tracing)](/weave/guides/integrations/claude_agent)**
* **[Claude Code (call-level tracing)](/weave/guides/integrations/claude_code)**
* **[LangChain](/weave/guides/integrations/langchain)**
* **[LlamaIndex](/weave/guides/integrations/llamaindex)**
* **[Haystack](/weave/guides/integrations/haystack)**
* **[DSPy](/weave/guides/integrations/dspy)**
* **[Instructor](/weave/guides/integrations/instructor)**
* **[CrewAI](/weave/guides/integrations/crewai)**
* **[Smolagents](/weave/guides/integrations/smolagents)**
* **[PydanticAI](/weave/guides/integrations/pydantic_ai)**
* **[Google Agent Development Kit (ADK, call-level tracing)](/weave/guides/integrations/google_adk)**
* **[AutoGen](/weave/guides/integrations/autogen)**
* **[Verdict](/weave/guides/integrations/verdict)**
* **[TypeScript SDK](/weave/guides/integrations/js)**
* **[Vercel AI SDK](/weave/guides/integrations/vercel_ai_sdk)**
* **[Agno](/weave/guides/integrations/agno)**
* **[Koog](/weave/guides/integrations/koog)**

### RL Frameworks

* **[Verifiers](/weave/guides/integrations/verifiers)**

### Protocols

Weave integrates with standardized protocols that enable communication between AI applications and their supporting services:

* **[Model Context Protocol (MCP)](/weave/guides/integrations/mcp)**
