Diagnose a slow agent without opening LangSmith UI
Quando usar: An agent that used to be snappy is now slow; you want root cause.
Fluxo
-
Ask Claude to diagnoseWhy is my agent <name> slow? Pull the last 20 traces from LangSmith and find the hotspot.✓ Copiado→ Skill fetches traces; reports latency by step
-
Drill inFocus on trace <id> — break down tool-call times.✓ Copiado→ Per-tool latency with the outlier called out
Resultado: A specific step to optimize, not a hunch.
Armadilhas
- Optimizing the average when tail latency is the problem — Ask for p95/p99 specifically