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:Agent SDKs
Agent SDKs are libraries for building agents and multi-agent workflows in your own application code. Addweave.init("[YOUR-TEAM]/[YOUR-PROJECT]") to your script and Weave autopatches the 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 so spans render in the Agents view:- Quickstart: Manually instrument an agent — a walkthrough of a small multi-turn agent.
- Trace your agents — the full reference of agent helpers and concepts.