How-to guides
Monitor AI workflow in production
How to find failures in production in your RAG agentic workflows
Get your Maihem API key and install the SDK before you start.
1
Add target agent (if you haven't already)
2
Add a decorator to each step of your workflow
This is an example of a basic RAG workflow. Add a decorator to each step of the workflow as shown below.
See a full list of supported evaluators and metrics and their required input and output maps.
Example agent workflow in Python
3
Monitor workflow in Maihem UI
Go to your Maihem account, where you can analyze failures that occurred in your workflow in production.
