How do you find an error in a chain of several AI agents?
Through the end-to-end task log: it shows which agent received what, what it decided and what it passed on. A wrong result is analysed link by link, the place where things went wrong is found, and the case is added to that agent's test examples so the error does not repeat.
More in the guide to multi-agent systems.