Selecting and Composing Agent Design Patterns: Industrial Case Evidence and Controlled Reference-System Experiments
Jia Huang, Bingsheng Ru, Bo Liang, Yuke Xiong, Haiyan Fan, Joey Tianyi Zhou
Abstract
Agent pattern catalogs describe architectural alternatives, but engineers also need evidence for selecting and composing them. We extend a cognitive-function--execution-topology framework with an evidence-driven selection procedure and explicit composition contracts. The study combines two industrial case accounts, a contributor's collaboration design, seven practitioner workshops, and executable fault-injection experiments. Three local reference systems use SQLite state, shared artifact files, and a file-backed map-publication surrogate. A 2 x 2 ablation separates function-specific contracts from execution controls across 36 scenario families, with ten input variants per family. Under equal family weighting, composition correctly completes or safely refuses 11 of 12 families in each system, compared with 2, 2, and 1 for the simple baselines. These are constructed challenge-suite results, not production success rates. Recovery without consumer-side verification increases false-success cases in the map surrogate. All composed systems still fail a boundary case in which trusted evidence is wrong. An audit of a frozen six-arm language-model pilot reproduces its scores but confirms an evaluator-dependent ranking reversal. The contribution connects industrial failure, pattern selection, executable treatment, external acceptance, and revision. Selection is demonstrated rather than evaluated against an alternative procedure; catalog admission rests on separate criteria. The results support bounded composition mechanisms, not a claim that the framework improves engineers' design decisions over an equally informative conventional method.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- 15 pages, 2 figures, 5 tables
Related papers
Automating Feature Flag Cleanup at Scale with Multi-Agent LLM Systems: An Industrial Experience at DoorDash
Shared title terminologycs.SEAtharv Chandratre, Jai Datar
Agentic Architecture of Information Systems. The AAM/5C Model: A Reference Model for Distributed Autonomy
Shared title terminologycs.SELaurent Goujon
DVBench: End-to-End Benchmark for Real-World UVM Design Verification Agents
Shared title terminologycs.SEJiaru Qian, Jiawei Li, Xiaolong Hu et al.
Mind the Gap: A Deployed Multi-Agent System for Documentation Maintenance
Shared title terminologycs.SELorenzo Masoero
Agent Trajectories as Evidence for Software Quality Assurance
Shared title terminologycs.SEJonathan Ullrich, Julien Siebert, Michael Kläs et al.
Beyond Leaderboard Ranks: Selecting Software Engineering Agents Under Budget Constraints
Shared title terminologycs.SESrinath Srinivasan, Tim Menzies