Diagnose a slow agent without opening LangSmith UI
Когда использовать: An agent that used to be snappy is now slow; you want root cause.
Поток
-
Ask Claude to diagnoseWhy is my agent <name> slow? Pull the last 20 traces from LangSmith and find the hotspot.✓ Скопировано→ Skill fetches traces; reports latency by step
-
Drill inFocus on trace <id> — break down tool-call times.✓ Скопировано→ Per-tool latency with the outlier called out
Итог: A specific step to optimize, not a hunch.
Подводные камни
- Optimizing the average when tail latency is the problem — Ask for p95/p99 specifically