Skip to content

Add Documentation for Tracing PydanticAI Agents with W&B Weave #1743

Closed
@parambharat

Description

@parambharat

Description

Hello PydanticAI team,

I’m a developer at Weights & Biases (W&B), and I’ve recently developed an integration that enables tracing of PydanticAI agents using W&B Weave. Given that both PydanticAI and Weave utilize OpenTelemetry (OTEL), this integration allows users to send trace data from PydanticAI applications to Weave for observability.

Currently, the Debugging and Monitoring section of the PydanticAI documentation guides integrating with Logfire. To offer users more flexibility and choices in observability tools, I propose adding a subsection detailing how to configure OTEL to send traces to Weave.

Including this information in both PydanticAI’s and W&B Weave’s documentation would benefit users of both libraries. Cross-referencing documentation enhances discoverability and provides a cohesive understanding of how the two tools can be integrated effectively.

I can contribute by raising a pull request to include this section in the PydanticAI documentation.

References

W&B Weave Documentation on PydanticAI Integration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions