LangSmith offers a comprehensive platform for tracing and monitoring AI model calls. By integrating Agno with LangSmith, you can utilize OpenInference to send traces and gain insights into your agent’s performance.
Set Environment VariablesConfigure your environment with the LangSmith API key and other necessary settings:
Copy
Ask AI
export LANGSMITH_API_KEY=<your-key>export LANGSMITH_TRACING=trueexport LANGSMITH_ENDPOINT=https://eu.api.smith.langchain.com # or https://api.smith.langchain.com for USexport LANGSMITH_PROJECT=<your-project-name>
Install DependenciesEnsure you have the necessary packages installed: