Agentic Coding with Chinese LLMs: Hands-On Evaluation and Engineering Practices
This article examines how flagship Chinese large language models are shifting from code completion to Agentic Coding, where the model handles requirement breakdown, file planning, implementation, execution, and delivery. It explains why long context windows and long output limits matter, how to read public benchmarks without relying on a single score, and why permissive open-source licensing enables private deployment for compliance-sensitive industries. Two hands-on tests are included: single-turn SVG generation and a four-state weather dial UI component, along with reusable scoring criteria, prompt structure, and a practical checklist covering task templates, two-stage generation, automated validation, failure regression sets, and deployment choices.
1. From Code Completion to Task Delivery: The Leap to Agentic Coding
Over the past two years, the core interaction of AI coding tools has been completion: the developer writes half, and the model finishes the rest. The new generation of flagship models has repositioned itself as Agentic Coding — you provide a complete task description, and the model handles requirement breakdown, file planning, code writing, execution-based verification, and result delivery on its own. This is not marketing language but a shift in the interaction paradigm: the human role moves from “directing line by line” to “defining goals and acceptance criteria.”
The prerequisite for this paradigm is long context and long output. A context window on the order of 200K tokens means multiple source files, interface definitions, log snippets, and requirement documents can be loaded at once. A maximum output on the order of 128K tokens means the model does not have to release code in dribbles across multiple turns and can produce a complete module in a single pass. Combined with a “thinking mode” (reason first, then answer), the model shows noticeably better stability on complex refactoring and cross-file changes.
Three engineering points deserve attention:
- Longer context is not always better. Irrelevant content dilutes attention, so load content by priority: entry files + interface contracts + failure logs.
- Long output must be paired with verifiable goals. A “one-shot large patch” without tests and type checking carries more risk than benefit.
- Thinking mode has a cost. Turn it off for simple changes and on for complex design problems.
2. How to Read Public Benchmarks: Don’t Look at a Single Score
Common industry evaluation dimensions can be abstracted into four categories, and understanding them matters more than memorizing any specific number:
- Repository-level bug fixing (measures cross-file understanding and patch correctness);
- Fixing ability across multiple languages (measures coverage of non-mainstream ecosystems);
- Terminal and command-line operation (measures whether it can actually run, install dependencies, and read errors);
- Tool calling and browser task ability (measures reliability when interacting with external systems).
There are also high-difficulty, exam-style benchmarks aimed at general knowledge. When reading this kind of data, three principles are worth sticking to: first, check whether the setup is open-source and reproducible; second, check whether the relative improvement over the previous generation is given; third, check whether it matches the distribution of your own repositories. Leading on a single leaderboard does not mean leading on your tech stack — you still have to return to your own regression cases.
The significance of the open-source license also deserves emphasis: a flagship model under a permissive open-source license allows enterprises to deploy it privately, run offline inference, and fine-tune it a second time. For compliance-sensitive industries (finance, government, healthcare), this is decisive.
3. Hands-On Test 1: Single-Turn SVG Generation and Structural Integrity
Test prompt (delivered in one shot, with no follow-up corrections):
Create code for an SVG of a pelican riding a bicycle as nicely as you can.
This case looks like “just drawing for fun,” but it is an excellent stress test: it simultaneously demands correct geometric structure, reasonable occlusion (legs in front of and behind the frame), coordinated color, and runnable code. The general conclusion from horizontal comparisons is that some models produce gorgeous visuals with broken structure (drifting wheel positions, missing limbs), while others are stylistically restrained but structurally self-consistent.
A reusable scoring table:
| Dimension | Checkpoint |
|---|---|
| Structural correctness | Are limbs, wheels, and frame complete and sensibly connected? |
| Occlusion and layering | Do front/back relationships match physical intuition? |
| Color and texture | Is it consistent, with no muddy colors? |
| Code quality | Semantic naming, parameterizable, no redundant nodes? |
Practical advice: turn this kind of case into a fixed CI check as a smoke test for “generative UI code,” to guard against capability regressions after a model upgrade.
4. Hands-On Test 2: Front-End Aesthetics and Motion, Testing “Restrained Texture”
The second case is closer to real business: a display component with four weather states, requiring motion and texture, while explicitly rejecting the look of “cheap gradient blue sky and white clouds” and pursuing the precision and restraint of a high-end mechanical watch dial.
A high-quality prompt should contain five elements:
[Role] You are a senior front-end engineer and visual designer[Goal] Implement a four-state weather dial component with transition animations[Constraints] No large-area gradients; limit primary colors to no more than 3; use monospaced digits;animation duration 200~400ms with unified easing; respect prefers-reduced-motion[Deliverable] A single self-contained file, no external dependencies, with comments on key CSS variables[Acceptance] No first-paint jank, no flicker on switching, 60fps
The two items “respect reduced-motion preferences” and “no external dependencies” are what turn a toy-level demo into a production-ready component; limiting the color palette and easing curves is an effective way to prevent the model from outputting that “free app from an app store” feel.
5. A Practical Engineering Checklist
- Templatize tasks: write “role / goal / constraints / deliverable / acceptance” into the team prompt library to reduce wasted back-and-forth.
- Two-stage generation: first have the model output interfaces and data structures, confirm them, then generate the implementation to reduce rework.
- Automated validation loop: wire type checking, unit tests, static scanning, and visual screenshot comparison into the pipeline.
- Feed failure samples back: accumulate broken cases into a regression set, and when the model iterates, first check whether they are fixed rather than only looking at the overall score.
- Deployment choice: prefer private deployment for compliance-sensitive scenarios; for elastic peak scenarios, rely on cloud container platforms and elastic compute, with object storage to archive artifacts, plus log services and monitoring alerts for full-chain observability.
6. Conclusion
To judge an Agentic coding model, don’t look at whether it can write a pretty snippet; look at whether it can keep the goal from drifting within a long context, keep the structure from collapsing within a long output, and keep failures recoverable during tool calls. Upgrading evaluation from “watching demos” to “building regression” is the path that truly converts model capability into delivery efficiency.
