Skip to main content
It depends on what you’re building:
  • If you’re running an off-the-shelf agent framework (such as Claude Code), install the corresponding Weave integration and tracing happens automatically to the Agents tab.
  • If you’re building your own agent with sessions and turns, use the Weave SDK for Agents (weave.start_session, weave.start_turn), which surfaces results in the Agents tab.
  • If you’re tracing individual functions or pipelines rather than agent conversations, use @weave.op, which surfaces results in the Traces tab.

Agents Tracing weave.op