
- Run your agent on a set of similar queries
- Record the number of steps taken for each
- Calculate the convergence score:
avg(minimum steps taken / steps taken for this run)

Google Colab
colab.research.google.com
When your agents take multiple steps to get to an answer or resolution, it’s important to evaluate the pathway it took to get there. You want most of your runs to be consistent and not take unnecessarily frivolous or wrong actions.

avg(minimum steps taken / steps taken for this run)