Haystack
Monitor your Haystack agents with AgentOps
AgentOps makes monitoring your Haystack agents seamless. Haystack, much like AutoGen, is a flexible framework that supports multiple models. For detailed installation instructions and feature overviews, refer to the Haystack documentation.
Integrating AgentOps with Haystack
Install the AgentOps SDK
Install Haystack
We currently only support Haystack 2.x.
Configure your environment
Set your API key as an .env
variable for easy access.
Read more about environment variables in Advanced Configuration
Add 3 lines of code
Make sure to call agentops.init
before calling any openai
, cohere
, crew
, etc models.
Run your agent
Execute your script and then visit app.agentops.ai/drilldown to monitor your Haystack agent in action. šµļø
After execution, AgentOps outputs a clickable URL in the console that links directly to your session in the Dashboard.
Clickable link to session
Full Examples
You can refer to the following examples -