RunResult 之后运行。它们检查 trajectory、metrics、errors、latency、model output 和 tool calls,并把诊断结果写入 analysis_result.<AnalyzerId>。
当 benchmark score 告诉你“失败了”,但没有告诉你“为什么失败”时,就需要 analyzers。
Analyzers 负责什么
Badcase detection
标记 exception、truncation、JSON error、repetition、empty output、latency spike 和 terminal misuse。
Statistics
统计 step counts、tool-call counts、duration、token length、value counts 和 numeric summaries。
Qualitative diagnosis
使用 LLM-backed analyzer 标注 trajectory phase、总结行为并渲染报告。
Aggregation
聚合 analyzer output 到
analysis_summary.json 和 analysis_summary.md。核心接口
随 Evaluation 运行
对已有结果重新分析
analysis 会把输入 run 复制到新的 timestamp sibling。使用 --output 指定复制目标,或在明确要原地修改时使用 --override。
选择规则
支持的 Analyzer 家族
当前agentcompass list analyzer 输出包含 25 个 analyzer:
输出形状
per-task details 中 analyzer output 位于:- analyzed task total;
- badcase count 和 badcase ratio;
- analyzer 提供时的 average score;
- value-count distributions;
- numeric min、max、mean 和 p95 stats。
