Integrating Agno with LangWatch
LangWatch provides a robust platform for tracing and monitoring AI model calls. By integrating Agno with LangWatch, you can utilize OpenInference instrumentation to send traces and gain insights into your agent’s performance.Prerequisites
-
Install Dependencies
Ensure you have the necessary packages installed:
-
Setup LangWatch Account
- Sign up for an account at LangWatch.
- Obtain your API key from the LangWatch dashboard.
-
Set Environment Variables
Configure your environment with the LangWatch API key:
Sending Traces to LangWatch
-
Example: Using LangWatch with OpenInference
AgnoInstrumentor automatically captures all Agno agent activity. All traces will be sent to your LangWatch dashboard without requiring manual OpenTelemetry configuration.
Notes
- Environment Variables: Ensure your environment variables are correctly set for the API key.
- Automatic Instrumentation: The LangWatch SDK handles OpenTelemetry configuration automatically when you use
langwatch.setup(). - Additional Features: LangWatch supports capturing RAG data, metadata, attributes, evaluations, and guardrails. Visit the LangWatch documentation for more information.