Added

Catch agents stuck in a loop with trajectory monitors

Trajectory monitors have a new repeats condition that detects when an agent calls the same tool with the same input and output over and over within a single run.

  • Set the threshold as "more than" or "exactly" a number of consecutive matching calls
  • Results show which tool repeated and how many calls in a row matched

Because it only matches identical calls, it catches loops that waste tokens and slow down answers, without flagging legitimate multi-step work.

Learn more here: Agent trajectory monitors | Trajectory monitors as code