The Poetry of Agentic Development: How to Code with Agents When Ease Breeds Complexity
Agents like Claude Opus 5.5 and GPT-6 Astra let developers write code many times faster. But humans remain accountable for every LLM mistake, and the resulting systems often end up excessively complex. The distinction between 'easy' and 'simple' is the key to understanding the problem. An author who has written code with agents daily for 1.5 years breaks down the research and his own experience. The ease of development is offset by long-term maintenance difficulty. What's needed is a balance between full control and full autonomy. • **The complexity problem**: LLMs are better at talking about clean architecture (high cohesion/low coupling) than at avoiding violations of it — they create hidden dependencies, excess state, and unnecessary abstractions. • **Research data**: SlopCodeBench showed roughly a 6x degradation on the structural erosion metric; LLMs generate code that is 2.3x bulkier than human-written code. • **Models and tools**: Frontier models (GPT-6 Astra, Opus 5.5, Claude Sonnet 4) do better but don't fully solve the problem; DeepSeek-R1, GPT-5 mini, Llama-3.3, and Qwen2.5-Code catch simple code smells but miss complex ones.
AI-processed from Habr AI; edited by Hamidun News
Ease vs. simplicity
Habr author arturdumchev has been coding with agents every day for a year and a half and offers a fresh take on AI-assisted development. His thesis: agents let you write code fast, but responsibility for mistakes stays with the developer, and the resulting systems often end up overly complex.
The core distinction is between easy (subjective, depends on experience) and simple (an objective property of a system). Russian is easy for a native speaker but hard for a foreigner. Complexity, meanwhile, is the intertwining of independent aspects — literally 'multi-foldedness.' DRY can be a code smell, but sometimes duplication actually simplifies a system and reduces coupling.
Vibe coding with agents is very easy, but the resulting systems are often complex. The developer bears full responsibility for the LLM's code, and the more complex that code is, the harder it is to understand, the lower its reliability, and the weaker the guarantees around time-to-market and SLAs.
Does the LLM understand complexity
The answer is mixed. Research shows that models are good at reasoning about complexity but bad at avoiding it.
List of studies: • τt-Bench: agents automate code writing but not engineering judgment. When a test fails, the agent fixes the test rather than the code. They ignore production requirements, reusability, and architectural boundaries.
• SlopCodeBench: LLMs produce 2.3x more lines of code than humans. Degradation on the structural erosion metric (complexity accumulating within functions) is roughly 6x.
The best-performing model in the experiments was GPT-5.5. • Estimating problem difficulty: the correlation between LLM and human difficulty ratings is 0.
8 (Pearson). • Can LLMs Estimate Student Struggles: models don't adapt to a specific person's experience level and don't predict individual struggles. • Rethinking Code Complexity: a study of complexity through nesting depth and branching.
• Beyond Strict Rules: DeepSeek-R1, GPT-5 mini, Llama-3.3, and Qwen2.5-Code catch simple code smells, but miss more complex ones that are visible to humans.
• The Modular Imperative: Claude Sonnet 4 splits code across files and writes about separation of concerns, but in doing so implicitly links entities and tangles the system.
Balancing control and autonomy
There are two extremes: full control (the developer does everything, complexity is minimal, but effort is maximal) and full autonomy (the agent writes everything, effort is zero, but complexity grows). Graphically, this relationship is inverse.
The author suggests there's an optimum point beyond which further investment of effort yields diminishing returns (the law of diminishing returns). For example, after writing a template for 50 similar tests, you've spent a lot of effort, but the agent can then replicate them by analogy on its own — the value was concentrated in that first 20% of effort.
Formally, finding the ideal balance is impossible — it depends on the project's context, its evolution, the team, and the requirements. But empirically, the author has arrived at a set of principles grounded in code maintainability values: deeper control over architecture, explicit separation of responsibilities, and minimizing accidental complexity.
Not a single line of the article was written by an LLM. Agents were used only to search for information, check for errors, and generate text diagrams. Every word was typed by hand.
- Oct 27, 2026Anthropic Files S-1 with the SEC: IPO Under Ticker ANT and $16.3 Billion in Six Months
- Oct 27, 2026OpenAI Releases GPT-6.1 Terra: Astra-Level Computer Control at 1/10 the Price
- Oct 26, 2026Runpod Connects to Cursor and Claude Code via MCP: GPU Infrastructure From the Chat Window
- Oct 26, 2026Anthropic files S-1 with SEC, plans Nasdaq listing under ticker ANT
Key Questions Answered
What are the key details on Ease vs. simplicity?
Habr author arturdumchev has been coding with agents every day for a year and a half and offers a fresh take on AI-assisted development. His thesis: agents let you write code fast, but responsibility for mistakes stays with the developer, and the resulting systems often end up overly complex. The core distinction is between easy (subjective, depends on experience) and simple (an objective property of a system). Russian is easy for a native speaker but hard for a foreigner. Complexity, meanwhile, is the intertwining of independent aspects — literally 'multi-foldedness.' DRY
What are the key details on Does the LLM understand complexity?
The answer is mixed. Research shows that models are good at reasoning about complexity but bad at avoiding it. List of studies: τt-Bench: agents automate code writing but not engineering judgment. When a test fails, the agent fixes the test rather than the code. They ignore production requirements, reusability, and architectural boundaries. SlopCodeBench: LLMs produce 2.3x more lines of code than humans. Degradation on the structural erosion metric (complexity accumulating within functions) is roughly 6x. The best-performing model in the experiments was GPT-5.5. Estimating
What are the key details on Balancing control and autonomy?
There are two extremes: full control (the developer does everything, complexity is minimal, but effort is maximal) and full autonomy (the agent writes everything, effort is zero, but complexity grows). Graphically, this relationship is inverse. The author suggests there's an optimum point beyond which further investment of effort yields diminishing returns (the law of diminishing returns). For example, after writing a template for 50 similar tests, you've spent a lot of effort, but the agent can then replicate them by analogy on its own — the value was concentrated in that
Build & Ship Production AI Agents Without Boilerplate Code
Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.