How to Evaluate Agentic Coding: A Practical Test of Chinese Large Models

    A practical guide to evaluating large language models for agentic coding. It explains how agentic coding differs from code completion, interprets major benchmarks such as SWE-bench and Terminal Bench, and presents two hands-on tests—SVG generation and an animated weather card—to compare instruction following, spatial reasoning, frontend quality, and engineering reliability.

    1. From “Writing Code” to “Delivering Tasks”: What Agentic Coding Means

    Chinese large models have been updated rapidly in recent months, and many vendors are positioning their latest flagship models around agentic coding. The term may sound abstract, but the core change is straightforward: the interaction model is moving from completing code snippets to accepting complete tasks and delivering working results autonomously.

    With a traditional coding assistant, you select a section of code and ask the model to complete it, fix a bug, or write a function. In an agentic workflow, you provide a complete requirement—for example, “Build a weather card with animated effects.” The model then breaks down the task, chooses an implementation approach, organizes files, writes the code, and may even invoke terminal commands or use a browser to verify the result before delivering a runnable product.

    This workflow depends on three foundational capabilities:

    1. A long context window: Task decomposition and multi-file operations generate substantial intermediate state. Leading models commonly offer context windows in the 200K-token range, along with considerable maximum output lengths. This is essential for preventing long-running tasks from losing context.
    2. Tool use: The model must reliably invoke external tools such as terminals, file systems, and browsers, and correctly process the results.
    3. Thinking modes: For complex tasks, allowing the model to reason and plan before execution can significantly reduce the risk of heading in the wrong direction from the start.

    2. How to Read Model Scores: The Meaning and Limits of Common Benchmarks

    The industry has developed a relatively established set of benchmarks for evaluating coding capabilities. Understanding what they measure is the first step toward interpreting model comparison presentations.

    • SWE-bench: This benchmark uses bugs and feature requests from real open-source repositories. Models must locate problems in complete codebases and submit patches. A resolution rate above 70% is generally considered first-tier performance. The multilingual version evaluates how well a model generalizes to projects written in languages other than English. Improvements on this metric can be especially informative when assessing performance in real-world engineering environments.
    • Terminal Bench: This benchmark measures a model’s ability to operate in a terminal environment, including executing commands correctly, parsing output, and recovering from errors. It is one of the core indicators of agentic capability.
    • Tool-use and browser-task benchmarks: These evaluate whether a model can call APIs according to specifications and complete multi-step web interactions. They directly affect the usability of agentic products.
    • General knowledge benchmarks: Broad academic or examination-style evaluations do not measure coding directly, but a model’s breadth of knowledge can affect its ability to understand requirements in different business domains.

    One important caveat is that benchmark scores are only an entry ticket; hands-on experience should drive the final decision. Differences in task distribution and the flexibility of evaluation harnesses can create a gap between benchmark results and real-world performance. For this reason, teams should always run blind tests using tasks from their own business environment before making a technology choice.

    3. A Practical Testing Methodology: Two High-Signal Tasks

    The following two tasks are widely used and offer strong differentiation between models. Their shared characteristics are simple prompts, clear evaluation criteria, and little room for error, making them suitable for comparing multiple models side by side.

    3.1 SVG Generation: Testing Spatial Understanding and Structural Accuracy

    A typical prompt is:

    “Create an SVG illustration of a pelican riding a bicycle, making it as beautiful as possible.”

    Although this may sound like a children’s drawing exercise, it is surprisingly difficult:

    • Structural correctness: A pelican should have a head, neck, body, wings, and two legs. A bicycle should have a frame, two wheels, pedals, and handlebars. Missing any of these elements—for example, giving the pelican one leg or leaving out the pedals—is an obvious structural error.
    • Spatial relationships: The legs need to connect naturally to the pedals, the wings need to be positioned on the body, and the wheels need to align with the ends of the frame. Coordinate calculations must be correct.
    • Visual quality: Coordinated colors, ground shadows, and other details reveal the model’s visual judgment.

    Hands-on comparisons across multiple models often reveal a clear pattern: models can produce dramatically different visual styles. Some favor flat illustrations, while others attempt a complete scene with blue skies and clouds. Some fail at the structural level altogether. Structural completeness should be treated as a pass-or-fail requirement; aesthetic quality comes second. Running the same prompt against at least three to five models usually makes the differences immediately visible.

    3.2 Weather Card: Testing Frontend Taste and Engineering Quality

    The second task is to generate a frontend weather card with four switchable weather states and animated transitions. The key is to guide the model’s aesthetic direction through the prompt:

    1. Do not create the typical gradient blue-sky-and-clouds design that feels like a
    2. free app from an app store.
    3. Use the visual language of a high-end watch face: precise, restrained, and refined.
    4. Requirements:
    5. - Four weather states that users can switch between
    6. - Smooth transition animations when switching states
    7. - A consistent and restrained color palette
    8. - Careful attention to visual details, such as subtle shadows, whitespace,
    9. and typographic hierarchy

    This task evaluates three layers of capability:

    1. Instruction following: Can the model resist its default design preferences instead of producing another generic gradient card?
    2. Animation implementation: Are the easing functions and transition durations thoughtfully implemented rather than replaced with abrupt state changes?
    3. Code quality: Is state management clear, and is the structure maintainable?

    A useful evaluation technique is to ask the model to generate the result once, without any follow-up revisions, and then assess the first version. This provides a better view of the model’s actual ceiling. Many models can produce a reasonable result after several rounds of fixes, but in practical workflows, the quality of the first output has a major impact on human–AI collaboration efficiency.

    4. Model Selection Advice for Developers and Enterprises

    Based on the analysis above, the following evaluation process is practical and repeatable:

    1. Start with hard capabilities: Check context length, maximum output length, support for thinking modes, and whether tool use is comparable to leading open-source or commercial models.
    2. Run a small blind test: Use the SVG and weather-card tasks described above, together with two or three real requirements from your own business. Compare candidate models anonymously and have team members vote on the results.
    3. Consider openness and compliance: A permissive open-source license, such as an MIT-style license, may allow private deployment and further fine-tuning. This can be particularly important for enterprises with strict data-security requirements. Organizations that do not want to build and operate their own inference infrastructure can also use hosted services from cloud providers, such as open-source models hosted on Baidu AI Cloud and accessed through APIs, reducing deployment and maintenance overhead.
    4. Calculate the total cost: Model capability is only the starting point. Also evaluate inference costs, concurrency and reliability, and the maturity of the surrounding tools and ecosystem.

    5. Final Thoughts

    The shift from “writing code” to “delivering tasks” represents a real and noticeable improvement in the capabilities of today’s coding models. However, no model dominates every dimension. Some are structurally precise but aesthetically conservative, while others produce impressive visuals but fail on important details.

    Benchmarks help eliminate unsuitable candidates, but blind testing determines the final choice. This straightforward methodology is more reliable than chasing any single leaderboard.

    The same testing approach can help you make a faster, more grounded decision the next time your team evaluates a new model.