Search papers, labs, and topics across Lattice.
The paper analyzes the impact of LLM-based agents on software engineering, arguing that current human-centric conventions are suboptimal for agentic development. They propose semantic density optimization, prioritizing tokens with high semantic value for LLMs. Through experiments on log format token economy, they found that aggressive compression, while reducing input tokens, increased overall session cost due to increased reasoning demands on the model.
Counterintuitively, aggressive compression of code for LLM agents can increase overall cost by shifting the interpretive burden to the model's reasoning phase, even with fewer input tokens.
For six decades, software engineering principles have been optimized for a single consumer: the human developer. The rise of agentic AI development, where LLM-based agents autonomously read, write, navigate, and debug codebases, introduces a new primary consumer with fundamentally different constraints. This paper presents a systematic analysis of human-centric conventions under agentic pressure and proposes a key design principle: semantic density optimization, eliminating tokens that carry zero information while preserving tokens that carry high semantic value. We validate this principle through a controlled experiment on log format token economy across four conditions (human-readable, structured, compressed, and tool-assisted compressed), demonstrating a counterintuitive finding: aggressive compression increased total session cost by 67% despite reducing input tokens by 17%, because it shifted interpretive burden to the model's reasoning phase. We extend this principle to propose the rehabilitation of classical anti-patterns, introduce the program skeleton concept for agentic code navigation, and argue for a fundamental decoupling of semantic intent from human-readable representation.