Search papers, labs, and topics across Lattice.
This paper systematically documents the internal architecture of coding agents, addressing a significant gap in understanding their design and functionality. By introducing Ark, an open-source coding agent prototype, and ArkBench, a benchmark for evaluating coding tasks, the authors demonstrate that Ark can effectively solve 8 out of 10 software maintenance tasks with minimal token usage. The comparative analysis of Ark's architecture against state-of-the-art coding agents highlights its unique components and interactions, paving the way for future research in this domain.
Ark, an open-source coding agent, solves 80% of software maintenance tasks while offering a clear architectural framework that could redefine how we study coding agents.
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.