I am trying to gain insight into why agents failed. This feature will be helpful. I can open a PR for it.