AI Agent Benchmark Design: From Task Construction to Safety Validation

    Reliable AI agent evaluation requires more than testing coding or reasoning skills. This article examines a benchmark built around realistic workplace tasks, covering anonymized interaction logs, complex workspaces, rubric-based and code-based scoring, repeated trials, cost comparisons, and independent safety checks. It also outlines a practical approach for building an enterprise evaluation pipeline that measures both task completion and operational reliability.

    1. Why Everyday Tasks Are the Real Test for AI Agents

    Over the past two years, AI agent evaluation has focused largely on code generation, mathematical reasoning, and competition-style problems. These tasks have clear boundaries and typically a single correct answer, making automated scoring straightforward. However, they differ substantially from real workplace activities.

    In practice, work rarely arrives as a well-defined problem statement. Relevant information is scattered across emails, calendar exports, spreadsheets, chat logs, receipts, and archived web pages. It may also include outdated records, similarly named accounts, and contradictory statements.

    A benchmark jointly released by several research institutions and cloud providers was designed to address this gap. Rather than asking whether a model can solve a problem, it tests whether an agent can complete an ambiguous everyday task within a realistic workspace. Its findings are sobering: the best-performing model achieved an average completion rate of approximately 62.5%, leaving nearly four in ten tasks without reliable delivery.

    This suggests that the main bottleneck for agents has shifted from single-step reasoning toward long-horizon execution, environment understanding, and resistance to interference.

    2. Building the Benchmark: From Interaction Logs to Scorable Tasks

    2.1 Data Sources and Anonymization

    The benchmark draws on more than 10 million anonymized records of real agent interactions. The engineering value of this foundation is easy to underestimate: real logs capture the natural long tail of user tasks and the ways people actually phrase their requests.

    Directly reusing these logs would introduce privacy and compliance risks. Entities therefore need to be de-identified, accounts generalized, and content replaced, retaining only the underlying task structure and sequence of operations.

    2.2 Task Coverage and Scoring

    The resulting benchmark contains 100 tasks, evaluated through two scoring methods:

    • 90 tasks use rubric-based scoring, with 721 criteria in total, including 381 safety criteria.
    • 10 tasks use code-based tests, with validation scripts asserting properties of the final workspace state.

    The evaluation involved 53,100 scoring runs. Rubrics and code tests serve complementary purposes. Rubrics capture semantic requirements, such as whether the agent overlooked an email requiring a reply. Code tests precisely validate file contents, field formats, and calculated results.

    2.3 Realistic Workspaces and Deliberate Distractors

    Each task has an independent workspace containing a median of 188 files. These are not empty directories: they contain a mixture of emails, calendar exports, spreadsheets, chat logs, receipts, web pages, and PDFs.

    The workspaces also deliberately include four types of interference:

    • Outdated records: Old and new versions of information about the same issue.
    • Similar accounts: Contacts with similar names but different identities or affiliations.
    • Conflicting information: Sources that disagree about a time or amount.
    • Malicious instructions: Prompt injections embedded in documents that attempt to induce unauthorized actions.

    These distractors move the evaluation beyond retrieval and generation toward discrimination, conflict resolution, and prompt-injection resistance. They also explain why safety criteria account for more than half of the rubric items: 381 out of 721.

    3. Running the Evaluation: Repeated Trials and Reporting Metrics

    A single run can be strongly affected by randomness. The evaluation therefore repeats tasks and distinguishes three measures:

    • Average completion rate: The mean pass rate across agent execution frameworks.
    • At-least-once success: Whether a task succeeds in any of three attempts, similar to a pass@3 metric.
    • Consistent success: Whether a task succeeds in all three attempts.

    The results illustrate why these distinctions matter. The leading model achieved an average completion rate of 62.5%. Its at-least-once success rate rose to 75.1%, while its all-three-attempts success rate fell to 48.8%.

    The highest and lowest measures differ by more than 25 percentage points. That gap highlights the difference between being able to complete a task and completing it consistently. Enterprises selecting agents based on pass@3 may find that production performance falls well short of their expectations.

    The following code illustrates the aggregation logic:

    1. def summarize(runs, task):
    2. results = [run.passed for run in runs if run.task_id == task.id]
    3. return {
    4. "task_id": task.id,
    5. "avg_pass": sum(results) / len(results),
    6. "pass_any": any(results),
    7. "pass_all": all(results),
    8. "safety_violation": any(run.safety_failed for run in runs),
    9. }

    4. Interpreting the Results: Completion, Consistency, and Cost

    The evaluation covered 12 models and five agent execution frameworks. The top three models had very similar completion rates:

    Rank Average completion rate Estimated cost per run
    1 62.5% Approximately $1.10
    2 61.9% Approximately $0.83
    3 61.4% Approximately $0.19

    Only 1.1 percentage points separate first and third place, yet their costs differ by nearly sixfold. A lightweight model provides another reference point: a 39.7% completion rate at approximately $0.05 per run.

    Together, these results suggest a typical cost–performance curve: steep improvements at the lower end, followed by a much flatter region. From an engineering perspective, the rational choice is often a configuration near the curve’s knee rather than the leaderboard winner. Achieving 61.4% completion for $0.19 per run offers substantially better value than spending $1.10 for an additional 1.1 percentage points.

    At the same time, the gap of more than 20 percentage points between 39.7% and 62.5% indicates that current lightweight models are not yet sufficient to handle open-ended office tasks independently. They are better suited to the first tier of a model-routing strategy.

    5. The Gap Between Open-Source and Proprietary Frameworks Is Narrowing

    Across execution frameworks, the open-source options achieved average pass rates of approximately 45.23%, 45.22%, 45.11%, and 45.04%, compared with approximately 42.87% for the proprietary option.

    The open-source frameworks performed slightly better overall, with very little variation among them. These results suggest that framework-level differences are smaller than model-level differences.

    The practical implication is that framework selection need not dominate the decision process. More attention should go toward tool permissions, context management, and failure-retry mechanisms. Enterprises can build an execution layer on an open-source framework and concentrate their budgets on model routing and evaluation infrastructure.

    6. Safety: Correct Does Not Necessarily Mean Safe

    Two findings are particularly easy to overlook:

    • Across all 53,100 runs, 15.7% failed at least one safety check.
    • Among the 26,151 runs that satisfied every correctness criterion, 2,589 still failed a safety requirement, or approximately 9.9%.

    In other words, roughly one in ten runs that completed the task correctly also involved a safety failure, such as an unauthorized action, an incorrect deletion, information leakage, or compliance with an injected instruction.

    An evaluation that measures correctness alone would miss these risks entirely. Safety criteria should therefore carry the same weight as correctness criteria in the overall assessment, while also acting as an independent gate: any safety failure should make the entire run fail. High scores elsewhere must not compensate for a safety violation.

    7. How Enterprises Can Build a Similar Evaluation

    A practical implementation can follow six steps:

    1. Construct the task set. Sample internal support tickets and operation logs, then anonymize and generalize them into 50–100 tasks covering frequent workflows and long-tail requests.

    2. Generate workspaces. Prepare an isolated directory for each task, with roughly a hundred files. Use a 7:2:1 ratio of ordinary files, distractor files, and prompt-injection samples.

    3. Implement scoring. Use rubric checklists for semantic requirements and assertion scripts for workspace-state requirements, then combine the results.

    4. Run repeated trials. Execute each task at least three times, recording average completion rate, pass_any, pass_all, and cost.

    5. Enforce a safety gate. Mark a run as failed whenever a safety criterion fails, and report the safety failure rate separately.

    6. Maintain continuous regression testing. Rerun the full evaluation after model or framework upgrades. Use monitoring, alerts, and logging services to retain comparable results from each evaluation. Workspaces and task sets can be hosted in object storage, with evaluation pipelines running on a container platform to support reproducible environments.

    An illustrative configuration is shown below:

    1. eval:
    2. tasks: 100
    3. repeats: 3
    4. workspace: object_storage://agent-eval/workspaces
    5. scoring:
    6. rubric_items: 721
    7. code_tests: 10
    8. gate:
    9. fail_on_safety_violation: true
    10. report: [avg_pass, pass_any, pass_all, cost_per_run, safety_fail_rate]

    8. Three Common Evaluation Mistakes

    • Looking only at average completion rate. Ignoring variability can lead to overestimating production reliability.
    • Testing only correctness. Approximately one in ten otherwise successful runs in this evaluation still violated a safety requirement.
    • Comparing models without comparing costs. First and third place differed by only 1.1 percentage points in completion rate, but by nearly sixfold in cost.

    9. Conclusion

    The benchmark’s main contribution is not the headline completion rate of 62.5%. It is a reusable evaluation methodology: derive task distributions from real interaction logs, reproduce workplace complexity through dense workspaces, combine rubrics with code-based validation, use repeated trials to distinguish capability from consistency, and enforce safety through an independent gate.

    For enterprises, adopting this methodology is more valuable than chasing leaderboard positions. The goal is to build an internal evaluation asset that supports continuous regression testing as models and execution frameworks evolve.