Skip to main content
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 for new multi-turn agent work, or Trace LLM applications for existing LLM-call workflows.

Trace agents

For agent SDKs, harnesses, and custom instrumentation that render in the Agents view, see Trace agent integrations.

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 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: 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:

RL Frameworks

Protocols

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