Haystack is a flexible framework for building production-ready AI agents. AgentOps makes monitoring your Haystack agents seamless.
Installation
We currently only support Haystack 2.x.
Setting Up API Keys
You’ll need API keys for AgentOps and whatever model provider you use with Haystack (e.g. OpenAI):
Set these as environment variables or in a .env file.
Then load them in your Python code:
Usage
Integrating AgentOps with Haystack only takes a few lines:
Run your script and visit the AgentOps Dashboard to monitor the trace.
Examples