Weave is Weights & Biases' Python toolkit for tracing and evaluating LLM apps and agents. Adding @weave.op to a function logs its calls, and weave.init() turns on automatic tracing for integrations including the OpenAI Agents SDK, Claude Agent SDK and Google ADK.
For custom agent loops, context managers such as start_conversation, start_turn and start_llm record the structure, and the web UI shows conversations, turns and tool calls in an Agents tab and individual calls in a Calls tab. It also supports evaluations of your app.
Install with pip install weave (Python 3.10+), then call weave.init("<team>/<project>") with your W&B API key in WANDB_API_KEY. The library is Apache-2.0 licensed.