Agentscore
Typical agent failure modes
Loops, wrong tools, hallucinated arguments, lost goals, injected instructions and runaway cost.
What it is and why it exists
The recurring list: infinite or repetitive loops; picking the wrong tool; inventing arguments (IDs that don’t exist); ignoring tool errors; forgetting the goal after long contexts; following instructions found in tool output; duplicating side effects on retry; and costs that explode on hard inputs.
Quick prototype
Notice them in a demo.
In production, at scale
Each failure gets a guard: budgets and loop detection, argument validation, errors as observations, compaction and goal restatement, injection-resistant designs, idempotency keys, and trace-based error analysis to find the next failure class.
Vendors and tools
| LangSmith / Langfuse / Arize Phoenix | Trace review to find failure patterns |
|---|
How it fails
- Treating failures as one-off bugs instead of classes with guards
What the interviewer asks next
“This agent loops forever on some inputs.” How do you debug it?
Pull traces of looping runs, find the repeated call and the observation that triggers it (often an unhelpful error), fix the tool’s error message or arguments, add loop detection and a budget, and add those inputs to the eval set.