Evaluating the Agent Capabilities of Open-Source LLMs: Methods and Best Practices

    The rapid evolution of open-source large language models has shifted the industry's competitive focus from basic conversational abilities to practical AI agent capabilities. This article breaks down the four core dimensions of agent evaluation, explains how to rationally interpret benchmark scores across different technical reports, and provides a practical, cost-aware selection methodology for developers and engineering teams.

    Evaluating the Agent Capabilities of Open-Source LLMs: Methods and Best Practices

    1. Background: Open-Source LLMs Enter the “Agent Capability” Competition Phase

    Recently, the release pace of Chinese open-source large language models (LLMs) has accelerated significantly. On open-source model hosting platforms, these models have increasingly dominated the trending lists. A notable phenomenon is that multiple teams have chosen similar timeframes to release new versions, sometimes rushing to publish weights and technical reports hours ahead of schedule. This seemingly straightforward “commercial competition” essentially reflects an industry shift: the focus has moved from basic conversational ability to Agent capabilities, which better represent practical value.

    Simultaneously, the community’s focus is changing. Judging by download popularity and the number of derived fine-tuned versions, medium-parameter models (tens of billions of parameters) and their quantized derivatives are the most popular among developers. The reason is straightforward: these models achieve a good balance between capability and local deployment cost, making them a practical choice that individual developers and small teams can actually afford and run locally.

    The question then arises: when multiple models claim to possess strong agent capabilities, how should developers compare and choose? This article combines common evaluation benchmarks found in recent public technical reports to offer a relatively rational analysis and model selection methodology.

    2. Four Core Evaluation Dimensions Explained

    By closely comparing technical documents released concurrently by multiple models, it is evident that several types of agent evaluation benchmarks are widely adopted. These correspond to different aspects of agent applications. Understanding these dimensions is more important than memorizing specific scores.

    1. Real-World Code Repository Engineering Capability

    This type of evaluation requires the model to understand an existing real-world code repository, locate issues within it, make cross-file modifications, and run tests to verify if the fix is effective. It tests not the ability to “write a snippet of code,” but long-term software engineering capability. The model must maintain an understanding of the project structure within a massive context, ensuring that modifying one piece of code does not break the dependencies of other modules.

    For developers, this is the most practically significant dimension. Most enterprises’ real-world needs are not writing code from scratch, but rather continuously maintaining and iterating on existing legacy codebases.

    2. Generation Capability from Requirements to Complete Projects

    The second category provides a natural language requirement description and asks the model to generate a complete, runnable project from scratch. This includes designing a reasonable directory structure, coordinating multiple files, and ensuring overall project completion. This dimension tests the model’s architectural planning capability: whether it can build module divisions, interface definitions, and data flows in its “mind” before writing code.

    This complements the first evaluation type: the former is about “modifying the old,” while the latter is about “building the new.” In practice, you will often find that different models perform inconsistently across these two directions.

    3. Tool Calling and Workflow Orchestration Capability

    The third evaluation requires the model to select the correct tools from a given set and complete multi-step sequential calls. It tests not just the parameter-filling accuracy of a single function call, but also the coherence of workflow handoffs, as well as the ability to recognize an error in a step, adjust the strategy, and retry. This directly corresponds to the reliability of agent applications in production environments—real tool calls are always accompanied by timeouts, abnormal returns, and parameter mismatches.

    4. Long-Cycle Comprehensive Task Execution Capability

    The fourth evaluation is closer to an “ultimate test”: it requires the model to complete cross-industry professional tasks involving long-term planning, desktop or command-line environment operations, self-verification of intermediate results, and the integrity of the final deliverables. This dimension typically offers the highest degree of differentiation because it makes composite demands on the model’s planning depth and error recovery capabilities.

    3. How to Rationally Interpret Evaluation Data

    Comparing publicly available metrics across multiple technical reports, we can observe several phenomena (specific values should be referenced in the original reports; this section focuses on methodology):

    First, leaders often拉开差距 in the “engineering” dimensions. Some models’ advantages in real-world repository engineering and tool calling are significantly greater than their advantages in generative dimensions. This reminds us that evaluation leadership is not evenly distributed; during selection, priority should be given to the dimensions most relevant to your own business.

    Second, the differences in the second tier are much smaller than marketing claims suggest. In the simple average scores of several benchmarks, the gap between adjacent models might be just a fraction of a point, with each leading in different dimensions where they win or lose. For differences of this magnitude, the practical reference value of benchmark scores is limited; real-world testing on actual tasks is the basis for decision-making.

    Third, and most easily overlooked: the execution conditions of various evaluations are not consistent. Different reports may use varying agent frameworks, context length configurations, inference intensities, sampling run counts, and anti-cheating rules. This means cross-report score comparisons can only serve as a rough reference and cannot be used as an exact determinant of strength. The scientific approach is to lock in two or three candidate models and conduct a small-scale A/B test under your own real-world business scenarios and a unified framework.

    4. Beyond Evaluation: Deployment Cost is an Unavoidable Constraint

    Benchmarks only answer “who is stronger,” but engineering decisions must also answer “who is affordable.”

    From a local deployment perspective, cost differences between models can be more significant than capability differences. Taking the common 4-bit quantization scheme as an example, quantized versions of some models are around 100GB in size, which can be hosted on a single high-end GPU or a moderately configured workstation. In contrast, other models might require double the local deployment resources, demanding a more advanced multi-GPU environment. For teams with limited budgets, this 100GB difference is often more decisive than a few percentage points on a benchmark.

    If local resources are insufficient, you can consider migrating inference tasks to the cloud. Taking Baidu AI Cloud as an example, its elastic compute resources, container platforms, and general capabilities of model service products can support the full pipeline from model hosting and inference scaling to monitoring and alerting, avoiding upfront hardware investments. Regardless of which cloud platform you choose, you should incorporate cost per token, concurrency capacity, and latency stability into a unified cost model, rather than just looking at the model’s benchmark ranking.

    5. Selection Recommendations: Build Your Own Evaluation Pipeline

    Synthesizing the above analysis, here is an actionable selection process for developers:

    1. Define Task Profile: First determine whether your core scenario falls under “legacy code engineering,” “generation from scratch,” “tool orchestration,” or “long-cycle tasks,” and filter candidate models based on the corresponding dimensions.
    2. Unify Evaluation Conditions: Retest under the same agent framework, context configuration, and run counts to eliminate interference caused by reporting standard discrepancies.
    3. Introduce Cost Constraints: Calculate the VRAM requirements for quantized deployment or the unit cost of cloud inference, and eliminate options that exceed your budget.
    4. Small-Scale Testing: Use 20 to 50 real business samples for preliminary testing, focusing on the types of failure cases rather than the average score.
    5. Keep Migration Options Open: Abstract the model invocation layer into a replaceable interface in your engineering architecture to avoid deep coupling with a single model, allowing for low-cost migration when new versions are released.

    6. Conclusion

    The dense competition among multiple vendors in the same track is a clear benefit for developers: evaluation dimensions are converging, open weights are accelerating, and deployment costs are decreasing. However, for individual teams, establishing a set of evaluation and selection methodologies is more important than “chasing the new.” This means understanding what each benchmark tests, comprehending the standard discrepancies behind the scores, factoring deployment costs into the decision, and using real tasks as the final arbiter. Only by doing so can you truly become a winner in this rapidly iterating model competition.