Skip to main content

Prerequisites

  1. Install Dependencies
  2. Create a Langwatch Account
    • Sign up or log in to your LangWatch dashboard.
    • Obtain your API key from your project settings.
  3. Set Environment Variables

Sending Traces to LangWatch

This example demonstrates how to instrument your Agno agent and send traces to LangWatch

Notes

  • No OpenTelemetry Setup Needed: You do not need to set any OpenTelemetry environment variables or configure exporters manually—langwatch.setup() handles everything.
  • Troubleshooting: If you see no traces in LangWatch, ensure your LANGWATCH_API_KEY is set and that the instrumentor is included in langwatch.setup().
  • For advanced configuration (custom attributes, endpoint, etc.), see the LangWatch Python integration guide.
By following these steps, you can effectively integrate Agno with LangWatch, enabling comprehensive observability and monitoring of your AI agents.