Evaluating Thinking Agents: Capability Evolution and Benchmarking Methods

    This article explains how to evaluate thinking agents, a new class of large language models that interleave internal reasoning with tool calls to complete multi-step tasks. It covers the shift from single-turn text generation to task execution, what Mixture-of-Experts (MoE) architecture and native tool use mean in practice, and a benchmarking framework built around accuracy by task domain, response latency, token consumption, cost per thousand successful calls, and a regression checklist for capability drops. It also offers guidance on reading evaluation reports and on running controllable agent services in the cloud.

    1. Background: From Answering Questions to Getting Work Done

    Over the past year, the center of gravity for large language models has shifted from single-turn text generation toward multi-step task execution. The industry often describes this new form as the “thinking agent”: before producing a final answer, the model performs internal reasoning and proactively issues tool calls along the way. It retrieves documents, runs calculations, queries structured data, and then continues reasoning based on the returned content until the task converges. Compared with the traditional “generate first, call later” pipeline, the key difference is that the reasoning chain and the tool chain are interleaved rather than stitched together sequentially.

    This design brings benefits as well as new engineering problems. On the benefit side, completion rates for complex tasks improve noticeably. On the problem side, latency and token consumption for a single request become unpredictable, creating clear tension between cost and user experience. As a result, evaluating this kind of model cannot rely on a single aggregate score; it requires a multi-dimensional evaluation perspective.

    2. Architecture Perspective: What MoE and “Native Tool Use” Mean

    Thinking agents commonly adopt a Mixture-of-Experts (MoE) architecture, which has a very large total parameter count but activates only a subset of parameters on each forward pass. This “sparse activation” has two direct consequences: first, per-inference cost stays relatively controllable; second, the activation path varies with the input distribution, which amplifies performance differences across tasks. If evaluation looks only at the average score, it can easily hide this structural variance.

    The engineering meaning of “natively mastering thinking while using tools” is that the model was exposed to a large number of “reason-call-observe-reason again” trajectories during training, so it does not need external prompt stitching or hard-coded workflow orchestration. In implementation, this typically appears as the model emitting a structured call intent, a runtime framework parsing and executing it, and the result being written back into the context. A minimal interaction skeleton looks like this:

    1. # Pseudocode: minimal execution loop for a thinking agent
    2. messages = [{"role": "user", "content": task}]
    3. for step in range(MAX_STEPS):
    4. resp = model.generate(messages, tools=tool_schema)
    5. messages.append(resp.message)
    6. if resp.tool_calls:
    7. for call in resp.tool_calls:
    8. result = dispatch(call.name, call.arguments) # retrieval/calculation/database query
    9. messages.append({"role": "tool", "content": result})
    10. continue # keep thinking with the observation
    11. return resp.content # no tool call, treated as convergence

    This loop reveals where evaluation complexity comes from: the number of steps is not fixed, each step may generate additional tokens, and total latency is the sum of all steps. If any one of these gets out of control, it directly affects both user experience and the bill.

    3. Evaluation Framework: Four Dimensions and One Diagnostic Dimension

    To objectively evaluate a thinking agent, it is advisable to cover at least the following dimensions.

    Accuracy and task distribution. The overall score is only the entry point; what is truly valuable is the per-domain score. In practice, thinking mode delivers the largest gains on two categories: “reasoning and mathematical calculation” and “agentic tool use,” because these tasks depend precisely on long-chain inference and external information supplementation. In domains that rely mainly on memory and language intuition, such as “knowledge question answering” and “text understanding,” a slight regression may occur. Common causes of regression are three: the reasoning process introduces unnecessary branches, noise in tool returns pollutes the context, and the output format is more likely to drift after long reasoning.

    Response latency. First-token latency and end-to-end latency should be distinguished. End-to-end latency for thinking agents is typically on the order of hundreds of seconds, which is a hard constraint for interactive scenarios. Practical mitigations include: setting a maximum number of reasoning steps and a timeout budget, running tool calls concurrently and caching them, and turning long tasks into asynchronous tasks with callbacks.

    Token consumption. Input, output, and tool-result write-back need to be counted together. The raw text returned by tools is often the largest hidden cost source, so result truncation, structured summarization, and field pruning are essential optimizations.

    Overall cost. Cost should not be judged by unit price alone; it should be converted into “cost per thousand successful calls,” with failed retries counted in the denominator. Only then can it be aligned with business value.

    Diagnostic dimension: regression checklist. It is recommended to maintain a fixed regression test set and rerun it after every model or prompt-strategy change, focusing specifically on domains that previously regressed, so that an overall score increase does not mask local degradation.

    4. Interpreting Results: How to Read an Evaluation Report

    A typical evaluation report provides: test set size, overall accuracy and ranking, average time, average tokens, cost per thousand calls, and output-side unit price. Three points deserve attention when reading it.

    First, a jump in ranking often comes from simultaneous improvements in reasoning and tool capability rather than a balanced improvement across the board. Second, a percentage-point gain in accuracy must be read together with the cost increase; if cost doubles while accuracy improves only slightly, cost-effectiveness may actually decline. Third, the sample size must be large enough; only tens of thousands of questions make per-domain conclusions statistically meaningful, and a domain regression on a small sample may just be noise.

    5. Engineering Practice: Building a Controllable Agent Service in the Cloud

    To turn evaluation conclusions into a production system, it is advisable to split components by responsibility on Baidu AI Cloud: use a container platform to host the stateless runtime loop, use object storage to hold task artifacts and intermediate trajectories, use a message queue to make long tasks asynchronous and to smooth out peaks, and use logging and monitoring with alerting to build dashboards and threshold alerts for steps, latency, tokens, and failure rate. For cost control, a tiered policy can be applied to model calls: simple requests go through a lightweight configuration, and only complex requests enable the full reasoning chain.

    1. # Illustrative policy configuration
    2. limits:
    3. max_steps: 8
    4. timeout_seconds: 300
    5. tool_result_max_chars: 2000
    6. routing:
    7. simple_task: lightweight
    8. complex_task: thinking_agent
    9. observability:
    10. metrics: [latency, tokens_in, tokens_out, tool_calls, fail_rate]

    6. Conclusion

    Evaluating a thinking agent is essentially evaluating “task completion capability per unit cost.” For the overall score, look at ranking and per-domain results; for experience, look at end-to-end latency; for the bill, look at cost per thousand successful calls; for long-term health, look at the regression checklist. Solidifying this framework into automated regression and an observability system is what enables rational technology selection amid rapid capability iteration.