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