Skip to main content
Post-execution failure detection, statistics, latency checks, and qualitative trajectory diagnosis. agentcompass analysis re-runs analyzers on an existing AgentCompass result directory without re-running the agent:
Analyzers inspect trajectories, metrics, errors, latency, model output, and tool calls, then attach output under analysis_result.<analyzer-family>. See Task Results for the field structure. Use analyzers when a benchmark score tells you what failed but not why it failed.

What Analyzers Do

Failure detection

Flag exceptions, truncation, JSON errors, repetition, empty outputs, latency spikes, and terminal misuse.

Statistics

Compute step counts, tool-call counts, durations, token lengths, value counts, and numeric summaries.

Qualitative diagnosis

Use LLM-backed analyzers to annotate trajectory phases, summarize behavior, and render reports.

Aggregation

Aggregate analyzer output into analysis_summary.json and analysis_summary.md.
Analyzers do not rerun agents or rescore benchmark correctness. They read completed task results.

Run With Evaluation

Use this path when you know which analyzers should run as part of the evaluation.

Re-run on Existing Results

By default, analysis copies the input run into a new timestamped sibling. Use --output to choose the copy destination or --override when you intentionally want in-place mutation.

Options

The default copy protects the measured run from accidental mutation. Use --override only when replacing its existing analysis data is intentional and no immutable archive depends on that directory.

Selection Rules

Supported Families

Use agentcompass list analyzer to inspect the analyzers registered by the installed revision. Common families include:

Output Shape

Per-task details keep analyzer output under:
The key may be an analyzer’s own ID or a family ID shared by several implementations. Aggregated summaries group output by category and analyzer family and render:
  • total analyzed tasks;
  • number and proportion of detected failures;
  • average score when provided;
  • value-count distributions;
  • numeric count, min, mean, p50, p90, p95, and max statistics.
See Task Results for per-task fields and Summary and Analysis Results for the complete structure of both aggregate files.