# Multi Agent Latency Eval

> Evaluates the end-to-end latency, success rate, and cost-efficiency of a multi-agent LLM tutoring system under varying concurrency levels across different cloud inference throughput tiers. It isolates the impact of shared vs. priority vs. provisioned inference pools on response time variance and system reliability. Use when the user wants to benchmark on ITAS Student Query Corpus, or asks about evaluating this task. Reports end-to-end latency.

- Skill: `qhjqhj00/multi-agent-latency-eval` (Agent Skill)
- Install (CLI): `npx skillmds add qhjqhj00/multi-agent-latency-eval`
- Raw SKILL.md: https://api.skillmd.com/api/skills/qhjqhj00/multi-agent-latency-eval/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: qhjqhj00 (https://skillmd.com/u/qhjqhj00)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/qhjqhj00/multi-agent-latency-eval

---


# multi-agent-latency-eval

> Latency and Cost of Multi-Agent Intelligent Tutoring at Scale — Elhaimeur et al. (2026) (arXiv:2604.24110, 2026)

## What this evaluates

Evaluates the end-to-end latency, success rate, and cost-efficiency of a multi-agent LLM tutoring system under varying concurrency levels across different cloud inference throughput tiers. It isolates the impact of shared vs. priority vs. provisioned inference pools on response time variance and system reliability.

## Datasets

- **ITAS Student Query Corpus** — total 100; splits: test (100)

## Metrics

- `end-to-end latency` **(primary)** — range: seconds
  - Time elapsed from request submission to final response delivery. The paper emphasizes the maximum-of-parallel latency distribution and its variance under sustained concurrency.
- `success_rate` — range: percent
  - Percentage of requests that complete without an HTTP 500 Internal Server Error from the Vertex AI inference endpoint.

## Input / output format

**Input**: Real student interactions from a graduate STEM seminar, including chat messages and associated code context, replayed under controlled concurrency levels.

**Output**: End-to-end latency, per-agent latency, parallel phase duration, token counts, bottleneck agent identification, success/failure status, and traffic type confirmation.

## Scoring recipe

```python
def compute_metrics(predictions, gold):
    latencies = [p['end_to_end_latency'] for p in predictions 
                 if p['concurrency'] == gold['target_concurrency'] and p['tier'] == gold['target_tier']]
    if not latencies: return {}
    mean_lat = sum(latencies) / len(latencies)
    var_lat = sum((x - mean_lat)**2 for x in latencies) / len(latencies)
    success_rate = sum(1 for p in predictions if p['status'] == 'success') / len(predictions)
    return {'mean_latency': mean_lat, 'latency_variance': var_lat, 'success_rate': success_rate}
```

## Common pitfalls

- Confusing regional endpoint differences (us-east1 vs global vs us-central1) with tier performance, as baseline latencies vary by geography but scaling behavior is tier-dependent.
- Assuming standard batch-wave concurrency models apply; the benchmark uses a semaphore-based constant-concurrency model to simulate sustained classroom load.
- Overlooking that all agents ran in 'thinking-disabled mode' (thinking_budget=0), which substantially reduces latency compared to default LLM configurations.

## Evidence (verbatim from paper)

> Each request captures end-to-end latency, per-agent latency (video, code, guidance, synthesizer), parallel phase duration, per-agent input and output token counts, bottleneck agent identification, success/failure status, and traffic type confirmation (verifying which throughput tier actually served the request).

## Citation

```bibtex
@misc{elhaimeur2026latency,
  title={Latency and Cost of Multi-Agent Intelligent Tutoring at Scale},
  author={Elhaimeur et al. (2026)},
  year={2026},
  note={arXiv:2604.24110}
}
```

- arXiv: 2604.24110

