The CoreWeave Forge Python SDK (coreweave) records agent conversations, turns, LLM calls, tool calls, and sub-agents as OpenTelemetry spans and exports them to Agent Lens. This reference covers version 0.1.0b0 of the SDK.
Install
The SDK requires Python 3.10 or later.
To trace a provider SDK automatically, install the matching extra:
Import and initialize
Import the tracing module, then call init with your project in entity/project form. init reads your API key from the WANDB_API_KEY environment variable unless you pass api_key.
Reference pages
Setup
Spans
Batch logging
Messages
Provider integrations
Last modified on September 30, 2026