Langtrace Now Supports OpenAI's Agents SDK with Full OTEL Compatibility

Karthik Kalyanaraman

Cofounder and CTO

Mar 12, 2025

Introduction

We’re thrilled to announce that Langtrace now offers Day 1 support for tracing OpenAI’s latest Agents SDK. This integration comes with OpenTelemetry (OTEL) compatibility by default, giving you the power to capture richer traces with more detailed metadata than ever before.

Why Does This Matter?

  • OpenTelemetry (OTEL) Compatibility: Out of the box, Langtrace ensures that traces are OTEL-compatible, enabling a richer, more insightful view into the behavior of your AI agents. This added richness of metadata provides more context for debugging, optimization, and understanding how your agents interact with their environment.

  • Quick and Easy Integration: For new users, adding Langtrace to your OpenAI Agent SDK integration is a breeze — just two lines of code and you’re ready to start capturing valuable trace data.

  • No Vendor Lock-in: Langtrace is designed with flexibility in mind. With OTEL compatibility, you’re not tied to any specific observability platform. You can easily send traces to any vendor that supports OTEL, such as Elastic APM, Grafana Labs, Datadog, and more, without being locked into a single vendor’s ecosystem.

This release marks a big step forward in empowering teams to track and monitor OpenAI agents with ease and depth, while giving you the flexibility to choose your preferred observability tools.

Get started today and experience how Langtrace can elevate your OpenAI agent workflows!

Additional Resources

Ready to try Langtrace?

Try out the Langtrace SDK with just 2 lines of code.

Ready to deploy?

Try out the Langtrace SDK with just 2 lines of code.

Want to learn more?

Check out our documentation to learn more about how langtrace works

Join the Community

Check out our Discord community to ask questions and meet customers