{"slug": "coding-agents-as-developer-tool-or-tool-front-end", "title": "Coding agents as developer tool or tool front end?", "summary": "Coding agents DeepSeek Flash, Claude Sonnet 5.5 and GPT-6.1 Sol performed poorly at mass-patching Linux device drivers when compared with the Coccinelle tool in a study by Yang, Liu, Kharlamova, Alqasimi, Zhang, Ismail, Sun and Xue, arXiv paper 2611.24269, \"Keeping Up with the Kernel: Can LLMs Adapt Linux Drivers to Interface Changes?\" The paper examined collateral evolution — coordinated driver updates when a kernel interface changes — a task Coccinelle has handled since the 2007 SmPL work, and found applying the same patch across many files is likely underrepresented in coding-agent training data. The author of the Shape of Code post argues using agents to patch thousands of files wastes resources and that agents should instead drive Coccinelle, noting C is the only language with a tool as effective as Coccinelle and a Java port appears abandoned.", "body_md": "[Home](https://shape-of-code.com/)>\n\n[Uncategorized](https://shape-of-code.com/category/uncategorized/)> Coding agents as developer tool or tool front end?\n\n## Coding agents as developer tool or tool front end?\n\nWill the use of coding agents become so pervasive that most existing developer tools fade away?\n\nThe Linux kernel has motivated the creation of many developer tools, [some of which have been adopted](https://www.kernel.org/doc/html/v4.16/dev-tools/index.html) by the kernel developers.  One such is [Coccinelle](https://shape-of-code.com/2009/01/08/semantic-pattern-matching-coccinelle/), which is used to apply automated patches to many files, e.g., changing the name of a function or adding/removing arguments, when an api is changed.\n\nThe plot below shows the growth in the number of source files in the device driver directory [between 2011 (kernel version 3.0) and 2026](https://en.wikipedia.org/wiki/Linux_kernel_version_history) (version 7.0; [code+data](https://www.shape-of-code.com/code-data/2611.24269.tgz)):\n\nThe term *collateral evolution* originated with the 2006 paper [Understanding Collateral Evolution in Linux Device Drivers](https://dl.acm.org/doi/pdf/10.1145/1217935.1217942), which investigated the coordinated update of device drivers when a kernel interface changed.  The 2007 paper [SmPL: A Domain-Specific Language for Specifying Collateral Evolutions in Linux Device Drivers](https://www.sciencedirect.com/science/article/pii/S1571066106005287/pdf?md5=ef7e6c41a1f1c167484259f4e7b2f3a4&pid=1-s2.0-S1571066106005287-main.pdf) showed how Coccinelle was an effective tool for mass updating of C source files.\n\nDespite 20 years of active use, if coding agents can do a comparable job to Coccinelle, then future kernel maintainers may switch to applying the tool they use most of the time, i.e., a coding agent. They might instruct a coding agent to drive Coccinelle to make the changes, or instruct the agent to make the changes directly.\n\nThe recent paper [Keeping Up with the Kernel: Can LLMs Adapt Linux Drivers to Interface Changes?](https://arxiv.org/abs/2611.24269), by Yang, Liu, Kharlamova, Alqasimi, Zhang, Ismail, Sun, and Xue, compared the performance of coding agents against Coccinelle.\n\nThe coding agents (DeepSeek Flash, Claude Sonnet 5.5, and GPT-6.1 Sol) did not perform very well. Applying the same patch to many files is probably not a common activity in the training data of coding agent. We will have to wait and how much coding agents improve on this important niche activity.\n\nC is the only language that has a tool as effective as Coccinelle (thanks to the long term work of [Julia Lawall](https://en.wikipedia.org/wiki/Julia_Lawall); a [Java implementation](https://github.com/kanghj/coccinelle/tree/java) appears abandoned).  There has been talk of supporting C++ version, but the size of the language has deterred implementers.  Many IDEs support global refactorings, but I don’t know how well they would handle the optional feature support used in the kernel sources.\n\nUsing coding agents to patch thousands of files is not an efficient use of resources. Having an agent use Coccinelle to do the work make sense. This is not to say that this is how things will be done. Using coding agents to create a Coccinelle for another language (Python?) is now on my list of things to do (don’t hold your breath).\n\nWriting new code is the high status activity that attracts developers, while maintenance is the lower status activity that occupies most developer time. Will the developer/manager of a coding agent writing new code be considered as higher status than using a coding agent to do maintenance? Management’s strong preference for maintenance is driven by cost and the desire to minimise the likelihood of introducing coding mistakes by minimising the changes made. Now that coding agents have removed the implementation cost hurdle, managers will have to keep close tabs on what developers to ensure they are only doing the high status activity when necessary.", "url": "https://wpnews.pro/news/coding-agents-as-developer-tool-or-tool-front-end", "canonical_source": "https://shape-of-code.com/2026/11/22/coding-agents-as-developer-tool-or-tool-front-end/", "published_at": "2026-11-22 23:18:06+00:00", "updated_at": "2026-11-22 23:45:17.712360+00:00", "lang": "en", "topics": ["ai-agents", "ai-research", "large-language-models", "developer-tools"], "entities": ["Coccinelle", "Linux kernel", "DeepSeek Flash", "Claude Sonnet 5.5", "GPT-6.1 Sol", "Julia Lawall", "arXiv", "Shape of Code"], "also_reported_by": [], "takeaway": "Coding agents DeepSeek Flash, Claude Sonnet 5.5 and GPT-6.1 Sol underperformed Coccinelle at applying the same patch across many Linux driver files, suggesting mass collateral-evolution edits are better delegated to a domain-specific tool the agent drives.", "recommendation": {"advice": "For repetitive mass edits across many files, have the coding agent invoke a domain-specific transformation tool like Coccinelle rather than editing each file directly, since the tested agents performed poorly on that task.", "playbook": "coding-agents", "playbook_url": "https://wpnews.pro/playbooks/coding-agents"}, "alternates": {"html": "https://wpnews.pro/news/coding-agents-as-developer-tool-or-tool-front-end", "markdown": "https://wpnews.pro/news/coding-agents-as-developer-tool-or-tool-front-end.md", "text": "https://wpnews.pro/news/coding-agents-as-developer-tool-or-tool-front-end.txt", "jsonld": "https://wpnews.pro/news/coding-agents-as-developer-tool-or-tool-front-end.jsonld"}}