🤖 AI Summary
This work addresses the lack of systematic architectural descriptions for coding agents, which has hindered understanding and reproducibility in the field. To bridge this gap, we propose the first structured framework for describing coding agent architectures and instantiate it in Ark—a lightweight, open-source prototype—alongside ArkBench, a companion benchmark. Ark adopts a modular, decoupled design implemented with gpt-4o-mini and clearly delineates core components, their responsibilities, and interaction protocols. Evaluated on ten software maintenance and evolution tasks in ArkBench, Ark successfully completes eight while maintaining low token consumption, demonstrating both the effectiveness and practicality of the proposed architecture. This contribution establishes a clear, reproducible paradigm that supports both educational and research endeavors in coding agent development.
📝 Abstract
Coding agents have rapidly emerged as the primary interface for AI-assisted software development. However, despite their growing adoption, relatively little is known about their internal architecture, and no systematic architectural description comparable to those available for compilers or operating systems currently exists. This paper addresses this gap by documenting the main architectural components of coding agents, explaining their responsibilities, interactions, and execution flow. To support this effort, we also present Ark (Agent Research Kit), a minimal open-source coding agent designed for research and education that preserves the essential architectural mechanisms of modern coding agents while emphasizing simplicity and clarity. We also introduce ArkBench, a lightweight benchmark comprising ten representative software maintenance and evolution tasks. Using gpt-5.4-mini, Ark successfully solved 8 of the 10 tasks while requiring modest token consumption. Finally, we compare the architecture of Ark with those of state-of-the-art coding agents using a recently proposed architectural taxonomy. We hope that both Ark and ArkBench provide a practical foundation for teaching, research, and experimentation on coding agents.