Complex-Task Agent Evaluation: The Core Weaknesses That Matter Most

    Public evaluations of complex-task agents reveal a structural gap between answering questions and reliably delivering results. This article examines three recurring weak spots—multi-tool automation, evidence-heavy tasks, and open-ended coding—and connects them to shared root causes in search strategy, memory, verifiers, tool feedback, and training signals. It also outlines process metrics and layered regression suites that teams can use to drive more stable, auditable, and recoverable agent delivery.

    Complex-Task Agent Evaluation: The Core Weaknesses That Matter Most

    Evaluation Signals: From “Can Answer” to “Can Deliver”

    When reviewing public evaluations for complex tasks, the most important signal is not any single score. It is the structural difference between task types and pass rates. Single-turn question answering, short code completion, and simple information extraction often already reach relatively high levels. Once a task requires multi-step planning, cross-tool collaboration, persistent state maintenance, exception handling, and final delivery of a verifiable result, pass rates drop noticeably.

    This reveals a key shift: the central challenge for agents has moved from “whether the model has knowledge or language ability” to “whether it can reliably finish the job in a complex environment.” The former focuses on answer quality. The latter focuses on process reliability, state consistency, evidence traceability, failure recovery, and goal retention. For developers, this means paying less attention only to whether a model sounds right and more attention to whether the system has a complete engineering loop for long-chain tasks.

    From an engineering perspective, a complex-task agent should satisfy at least four conditions at the same time: first, it can decompose a goal and form an executable plan; second, it can select appropriate tools and correctly consume tool feedback; third, it can recover or replan when an intermediate step fails; fourth, it can use a verifier to confirm that the deliverable meets constraints. Any weak link will be amplified in long-chain tasks.

    Weakness 1: Multi-Tool Automation Still Struggles to Finish Reliably

    Low scores on multi-tool automation tasks show that the difficulty is not a single tool call but the full task lifecycle. Real tasks usually include requirement understanding, step planning, tool selection, parameter construction, state maintenance, exception handling, result validation, and final wrap-up. A successful single call does not mean task success. If an intermediate step returns a missing field, times out, lacks permission, or produces conflicting results, subsequent steps may collapse in sequence.

    Common failure modes include: plans that are too coarse, leaving later steps without necessary inputs; state that is not explicitly maintained, causing repeated calls or lost context; tool exceptions that are not classified and handled, with the agent moving directly to the next stage; and missing terminal checks, so a task appears to end while the deliverable is incomplete. These problems are not obvious in demo environments, but they accumulate quickly in multi-tool, multi-turn, long-chain scenarios.

    From an engineering standpoint, multi-tool automation should be treated as a state-machine problem, not a one-shot prompt problem. A practical pseudocode structure is:

    1. state = init_state(task)
    2. plan = make_plan(task, state)
    3. while not terminal(state):
    4. step = next_step(plan, state)
    5. action = select_tool(step, state)
    6. result = call_tool(action)
    7. state = update_state(state, result)
    8. if not verify_step(step, state):
    9. failure = classify_failure(result, state)
    10. plan = replan(task, state, failure)
    11. continue
    12. if verify_deliverable(state):
    13. break
    14. assert deliverable_complete(state)

    This pseudocode emphasizes three points: explicit state, step verification, and replanning after failure. Explicit state means writing task goals, collected evidence, executed actions, unmet constraints, and tool-return summaries into an inspectable structure. Step verification means every step has completion conditions. Failure classification determines whether to retry, switch tools, supplement parameters, or roll back. Only when “completion” is defined as a verifiable condition can an agent avoid appearing to make progress midway while ultimately failing to deliver.

    Weakness 2: Evidence-Heavy Tasks Struggle with Evidence Chains and Conflict Handling

    Low scores on evidence-heavy tasks reflect deeper challenges for retrieval-augmented and search-based agents. Such tasks require the model to find support in materials instead of answering directly from parametric memory. They also require handling missing information, conflicting materials, inaccurate citations, and insufficient evidence timeliness. For search agents and retrieval-augmented generation systems, the difficulty is not only “can it find something,” but “can it find the right thing, use it correctly, and cite it credibly.”

    The first issue is query planning. Complex questions often require multi-hop retrieval: first locate the concept, then find constraints, then check conflicting materials. If the query strategy is too narrow, the agent can go off track early. The second issue is evidence organization. The system should organize retrieval results into an evidence table that marks sources, supported conclusions, conflicts, and missing fields, rather than stuffing long text directly into context. The third issue is verification and refusal. When evidence is insufficient or conflicts cannot be resolved, the system should clearly state uncertainty instead of generating a fluent conclusion with inaccurate citations.

    A practical evidence-chain structure can include: conclusion, supporting evidence, counter-evidence or conflicting evidence, evidence gaps, and confidence notes. A verifier should check whether each key conclusion is supported by evidence, whether citations match the original text, and whether time and scope match. For tasks with missing information, “what materials need to be supplemented” should be part of the output. This improves auditability and reduces the risk of incorrect citations.

    Weakness 3: Open-Ended Coding Struggles with Long-Horizon Planning and Goal Retention

    Open-ended coding tasks remain difficult because they test requirement decomposition, multi-file coordination, long-horizon planning, and repeated testing at the same time. Unlike short tasks with clear boundaries, open-ended tasks often have no single correct path, requirements may be vague, the codebase has historical constraints, and changing one file may affect multiple modules. Agents are prone to goal drift, search deviation, premature code changes, and insufficient test coverage.

    From an engineering perspective, open-ended coding should be broken into a loop of “understand—plan—small change—verify—regress.” The understanding stage should produce a constraint list, including functional goals, behaviors that must not break, dependency boundaries, and acceptance conditions. The planning stage should mark the impact surface of changes. The execution stage should submit small changes, with targeted verification after each step. The regression stage should check whether existing behavior has been broken. The verifier should not only check whether code was generated, but whether tests pass, interfaces remain compatible, and exception paths are covered.

    Particular attention should be paid to “changing code too early.” Modifying code before the problem is sufficiently located contaminates subsequent evidence, making it hard for the agent to determine the cause of failure. A safer strategy is to establish a reproducible case first, then narrow the scope step by step, and finally modify and regress. For long-horizon tasks, checkpoints and rollback mechanisms are equally important. Without checkpoints, one wrong exploration can drag down the entire task.

    Common Root Causes: Search, Memory, Verifiers, Tool Feedback, and Training

    The three weaknesses above look different, but their root causes are highly consistent. The first is search strategy: how to decide what to search, how deep to search, and when to stop directly affects evidence quality and task efficiency. The second is memory mechanisms: short-term state, long-term experience, and task constraints need layered management; otherwise, goals are easily lost in long chains. The third is verifiers: without a verifier, an agent cannot determine whether a step is complete, evidence is sufficient, or a deliverable is qualified. The fourth is tool feedback: tool returns should not be plain text only; they should include structured state, error types, and recoverable suggestions. The fifth is training signal: complex tasks require process-level feedback, not only final answer correctness.

    Therefore, a direction worth investing in is not stacking more single-turn answering tricks, but building stability capabilities for complex environments: observable state management, verifiable evidence chains, recoverable tool calls, rollback-capable change processes, and reinforcement training based on process feedback. Baidu AI Cloud offers general object storage, logging, monitoring and alerting, and container platform capabilities that can be used to build evaluation and regression environments, but the core remains task abstraction, verification mechanisms, and failure classification.

    Implementation Advice: Drive Iteration with Process Metrics

    When evaluating complex-task agents, teams should record both outcome metrics and process metrics. Outcome metrics include task completion rate, deliverable qualification rate, and evidence citation accuracy. Process metrics include average number of steps, replanning count, tool error rate, invalid retrieval rate, state loss count, rollback count, and human takeover rate. Failure samples should be classified: planning error, tool error, state error, insufficient evidence, missing verification, or goal drift. Only when failure classification is stable does iteration have direction.

    Teams should also build layered regression suites: short tasks ensure basic capabilities do not regress, long tasks test state and recovery, evidence tasks test citation and conflict handling, and open-ended tasks test planning and regression. After each change to prompts, tool protocols, or verifiers, run the same regression suite and observe whether process metrics improve. The competitiveness of complex-task agents ultimately shows in whether they can deliver results in real environments in a stable, auditable, and recoverable way.