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.
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.
- Dec 2, 2026Ai2 Releases MolmoWeb2 Web Agents: 27B Model Solves 75.3% of Tasks
- Dec 2, 202650 AI Models Beat 62 Teams at 'Zakovat': 48.3% Correct Answers vs 39.8%
- Dec 2, 2026Claude Fable 5.2 ran 1,000 agents for eight days and built an operating system
- Dec 2, 2026Amazon Releases Ergo Open Weights for Coding: 1.1 Trillion Parameters and 2,200 Tokens per Second
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.
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.
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).
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
