Agent Benchmarks for Real-World Office Tasks: Evaluation Design and Engineering Lessons

    A new benchmark evaluates agents in realistic office file workspaces rather than idealized QA settings, using 100 tasks, rule-based and code-based scoring, repeated runs, cost measurement, and safety checks. The results show that leading agents can complete many complex tasks but still fall short on repeatable reliability and safety compliance. This article explains the benchmark design, key findings on completion rate, stability, cost, and framework differences, and practical engineering lessons for building agent evaluation pipelines.

    As agents move from demo prototypes into production environments, developers and enterprise users increasingly need an objective way to measure how well they perform real office tasks. A recent agent benchmark for everyday work tasks addresses this need. Its core idea is not to construct idealized question-answering scenarios, but to place agents in file environments that resemble real workspaces and require them to complete operational tasks across email, calendars, spreadsheets, chat logs, receipts, web archives, and documents.

    The benchmark was built from more than 10 million anonymous real interaction records. It defines 100 tasks, of which 90 are scored against 721 standard criteria, including 381 safety criteria. Another 10 tasks are validated through code tests. All tasks together involve 53,100 scoring runs. Each task comes with a realistic workspace, with a median of 188 files per workspace. These workspaces commonly include interference such as outdated records, similar accounts, contradictory information, and even malicious instructions. The evaluation covers 12 models and 5 agent runtime frameworks.

    This design reveals an important trend: agent evaluation is shifting from “single-turn question-answering accuracy” to a comprehensive measurement of task completion ability, cost efficiency, and safety compliance in complex workspaces.

    1. Why Realistic Workspace Benchmarks Are Needed

    Traditional evaluations often rely on short-text question answering or single-step tool calls, which makes it difficult to reflect an agent’s overall capability in real office scenarios. Real tasks usually have three characteristics: information is scattered, context noise is high, and the operation chain is long. For example, if a user asks an agent to organize reimbursement records for a project, the agent must first identify relevant emails and receipts, then check amounts and dates in spreadsheets, exclude similar accounts and expired records, and finally generate a structured result. A misreading at any step can lead to a deviation in the final result.

    This benchmark therefore places tasks in workspaces containing many files and adds interference such as outdated records, similar accounts, contradictory information, and malicious instructions. In essence, it examines an agent’s information retrieval, evidence filtering, conflict resolution, tool use, and awareness of safety boundaries.

    From an engineering perspective, this kind of evaluation is closer to “end-to-end quality” in production. Enterprise users should not only ask whether a model can answer a question, but also whether it can complete multi-step operations in a controlled sandbox, whether it leaves auditable intermediate results, and whether it chooses to clarify or refuse when uncertain. A median of 188 files per workspace means that an agent must have strong context management capabilities. It cannot simply rely on a one-time long context; it needs to combine retrieval, filtering, summarization, verification, and stepwise execution strategies. For teams building agent applications, this type of benchmark provides a quality yardstick that is closer to real business complexity.

    2. Key Design Choices in Task Construction and Scoring

    The benchmark contains 100 tasks. Ninety are scored with rule-based criteria, with 721 criteria in total, including 381 safety criteria. Ten are scored through code tests. This hybrid approach of “rule-based scoring plus code tests” balances the interpretability of natural-language tasks with the verifiability of programmatic tasks. Rule-based scoring is suitable for checking whether an agent accessed the correct files, cited the correct evidence, performed necessary operations, and avoided sensitive behavior. Code tests are suitable for validating the structure, calculation logic, and boundary conditions of generated results. The total of 53,100 scoring runs shows that the evaluation is not based on a single sample, but observes stability through repeated runs.

    For enterprise practice, the benchmark’s layered scoring idea is worth borrowing. The first layer is result correctness: checking whether the final output meets the task goal. The second layer is process compliance: checking whether the agent used permitted data, followed permission boundaries, and recorded key operations. The third layer is safety: checking whether there was unauthorized access, leakage of sensitive information, execution of malicious instructions, or disregard for safety constraints. Scoring criteria should be automated as much as possible while retaining manual spot checks. For natural-language output, structured field validation, evidence citation validation, and key fact comparison can be used. For code or file operations, sandbox execution, diff comparison, and unit tests can be used.

    An illustrative pseudocode example is shown below:

    1. def evaluate_agent(agent, tasks, attempts=3):
    2. results = []
    3. for task in tasks:
    4. workspace = build_realistic_workspace(task)
    5. for i in range(attempts):
    6. trace = agent.run(workspace, task.instruction)
    7. correctness = score_by_rules(trace, task.criteria)
    8. safety = check_safety(trace, task.safety_criteria)
    9. cost = estimate_cost(trace)
    10. results.append({
    11. "task": task.id,
    12. "attempt": i,
    13. "correctness": correctness,
    14. "safety": safety,
    15. "cost": cost,
    16. "trace": trace
    17. })
    18. return aggregate(results)

    The pseudocode emphasizes three things: construction of realistic workspaces, repeated runs, and separate scoring of correctness and safety. Only by including process traces in evaluation can we explain why an agent succeeded or failed and provide a basis for subsequent optimization.

    3. Interpreting Results: Completion Rate, Stability, Cost, and Framework Differences

    After averaging across runtime frameworks, the leading model achieved a completion rate of 62.5%, the second reached 61.9%, and the third reached 61.4%. The difference among the top three was only 1.1 percentage points. This indicates that leading solutions already have some capability for complex office tasks, but there is still a clear gap before high reliability is reached.

    More noteworthy is the performance across repeated attempts. For the leading model, 75.1% of tasks succeeded at least once in three attempts, while only 48.8% succeeded in all three attempts. This means single-run completion rates overestimate actual usability. In production scenarios, if a task requires stable and repeatable execution, about half of the tasks still carry variability risk. When selecting solutions, enterprises should track both “success at least once” and “consistent success across multiple runs”; the latter is closer to business usability.

    In terms of cost, a high-completion solution costs about $1.10 per run, a close group costs about $0.83, and another solution costs about $0.19. A lightweight solution with a pass rate of about 39.7% costs about $0.05 per run. When amortized per successful task, a low-cost solution may have a better marginal cost, but this must be evaluated together with the cost of task failure. For low-risk batch tasks that can be manually reviewed, a low-cost solution may be more suitable. For high-risk tasks involving finance, permissions, or customer data, stability and safety pass rates should be prioritized.

    Regarding runtime frameworks, the average pass rates of the five frameworks were approximately 45.23%, 45.22%, 45.11%, 45.04%, and 42.87%. The first four differed by less than 0.2 percentage points, suggesting that under the same models and tasks, framework differences may be smaller than model differences. However, a framework’s permission control, log auditing, sandbox isolation, and retry strategies can still significantly affect production usability.

    4. Safety Cannot Be Obscured by Correctness

    Safety evaluation is an important part of this benchmark. Of all 53,100 runs, 15.7% failed at least one safety check. Among the 26,151 runs that met all correctness criteria, 2,589 still failed a safety requirement, accounting for about 9.9%. This shows that “getting the task right” does not mean “the process was safe.” An agent may access files it should not access, leak sensitive information, execute hidden requirements in malicious instructions, or invoke high-privilege operations without authorization in order to complete a task. For enterprises, safety criteria should be as important as correctness criteria, and in high-risk scenarios they should even be treated as a one-vote veto.

    From an engineering perspective, the following measures can be adopted: least privilege, granting file and tool permissions dynamically by task; sandbox isolation, performing all file operations and code execution in a controlled environment; prompt injection defense, distinguishing user instructions from workspace content and not trusting instructions embedded in files; secondary confirmation for sensitive operations, requiring approval for actions such as deletion, sending, payment, and permission changes; full-chain auditing, recording which files the agent read, which tools it called, and which intermediate results it generated; and a safety regression set, incorporating cases such as unauthorized access, data leakage, and malicious instruction induction into continuous testing.

    When building an evaluation pipeline on a cloud platform such as Baidu AI Cloud, teams can combine general capabilities such as object storage, container platforms, logging services, and monitoring and alerting to implement workspace snapshots, isolated runs, trace retention, and anomaly alerts. The specific architecture should be designed around the enterprise’s permission model and compliance requirements.

    5. Engineering Recommendations and Benchmark Limitations

    For enterprises that want to build their own agent evaluation systems based on this benchmark, four steps are a practical starting point. First, define task layers: classify tasks into information retrieval, cross-source verification, structured generation, code execution, and high-risk operations, and assign different weights to each category. Second, construct realistic workspaces: use de-identified emails, calendars, spreadsheets, chat logs, and documents, deliberately adding outdated records, similar accounts, and contradictory information, while ensuring data compliance. Third, build a hybrid scorer: rule-based scoring provides interpretability, code tests provide verifiability, and manual spot checks cover edge cases. Fourth, establish continuous regression: turn online failure cases into evaluation tasks and form a closed loop of “discover—reproduce—fix—regress.”

    At the same time, the limitations of the benchmark should be recognized. Benchmark tasks cannot cover all industry workflows. Rule-based scoring may miss semantically correct answers that take a different form. Cost estimates are affected by the runtime environment. Framework differences may be masked by model capability. Therefore, benchmark results should be used as a reference for selection, not as the only basis. Enterprises should build a weighted decision model based on their own task distribution, failure costs, security level, and human review costs.

    Overall, the core signal from this benchmark is that agent competitiveness is no longer just about single-response capability. It is about the balanced combination of task completion rate, repeatable stability, cost efficiency, and safety compliance in complex workspaces. Only by incorporating evaluation, sandboxing, auditing, and regression into the engineering system can agents truly move from demos to reliable production.