RQ2 (Agent-Time / LLM-Share Breakdown)
This folder contains the analysis artifacts for RQ2: how overall agent runtime is distributed across LLM calls vs. tool/external time, and how this differs across frameworks (A2A / H_A2A / MCP) and models.
What’s inside
Per-task subfolders (e.g.,
BookWriter-*,SQLAssistant-*,LandingPageGenerator-*)agent_map.md/FRAMEWORK_map.yaml: agent/tool mapping used for classification.agent_llm_tool_breakdown_by_model.csv: per-model time/token breakdowns used by the plots.analyze_performance_breakdown*.py: task-specific aggregation scripts.
Aggregated outputs (repo-level for RQ2)
llm_share_summary.csv: consolidated LLM-share summary table.llm_share_heatmap.pdf: heatmap visualization of LLM share.model_overhead_bars_a2a.pdf,model_overhead_bars_mix.pdf: model-level overhead bar charts.framework_overhead_ratio_mix_vs_a2a.pdf: framework overhead ratio comparison.
Plotting scripts
aggregate_llm_share.py: merges per-task outputs intollm_share_summary.csv.plot_llm_share_heatmap.py: generatesllm_share_heatmap.pdf.plot_model_overhead_bars_a2a.py,plot_model_overhead_bars_mix.py: bar charts.plot_framework_overhead_ratio_mix_vs_a2a.py: ratio comparison plot.plot_agent_time_share_bars_unified_y_by_series.py: unified-y time-share plots.plot_total_classified_ecdf.py: ECDF plots for classified time.
Batch plot outputs
z_Agent-Time-UnifiedY/: exported PDFs for time-share plots.z_ECDF/: exported PDFs for ECDF plots.
How to reproduce (typical)
Run from the repository root (or with RQ2/ as your working directory):
python aggregate_llm_share.py
python plot_llm_share_heatmap.py
python plot_model_overhead_bars_a2a.py
python plot_model_overhead_bars_mix.py
python plot_framework_overhead_ratio_mix_vs_a2a.py
python plot_agent_time_share_bars_unified_y_by_series.py
python plot_total_classified_ecdf.py
Notes
- Some scripts expect the per-task CSVs to already exist inside each task folder.
- All PDFs/CSVs in this directory are treated as generated analysis artifacts for RQ2.