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

# Trace agent integrations

> Connect W&B Weave to agent SDKs, agent harnesses, and custom agents so conversations appear in the Agents view.

W\&B Weave can trace multi-turn agentic applications without hand-instrumenting every turn. For supported agent SDKs and harnesses, call `weave.init()` and Weave autopatches the framework. Weave captures conversations, turns, LLM calls, and tool calls, then renders them in the **Agents** view. This page links to integration guides for three categories: agent harnesses, agent SDKs, and custom agents (including those that emit OpenTelemetry spans).

## Agent harnesses

Agent harnesses are end-user agent runtimes, such as coding agents and developer tools. Install the plugin or extension, then start a session in the harness to begin tracing:

* [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)

## Agent SDKs

Agent SDKs are libraries for building agents and multi-agent workflows in your own application code. Add `weave.init("[YOUR-TEAM]/[YOUR-PROJECT]")` to your script and Weave autopatches the SDK:

* [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)

## Custom agents and OpenTelemetry

If your agent isn't built with one of the SDKs above, or it already emits OpenTelemetry spans, use the Weave SDK directly. Weave accepts any OTel span and gives special handling to [GenAI semantic-convention attributes](https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-agent-spans/) so spans render in the **Agents** view:

* [Quickstart: Manually instrument an agent](/weave/custom-agents-quickstart) — a walkthrough of a small multi-turn agent.
* [Trace your agents](/weave/guides/tracking/trace-agents) — the full reference of agent helpers and concepts.
