<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/architecture-in-the-ai-age-yirlm2azj" -->

---
title: Architecture in the AI age | daily.dev
description: AI coding agents are reshaping how mobile teams should think about architecture. While architecture has traditionally helped teams maintain consistency and...
canonical: https://daily.dev/posts/architecture-in-the-ai-age-yirlm2azj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Architecture in the AI age | daily.dev
og:description: AI coding agents are reshaping how mobile teams should think about architecture. While architecture has traditionally helped teams maintain consistency and...
og:url: https://daily.dev/posts/architecture-in-the-ai-age-yirlm2azj
og:image: https://api.daily.dev/og/posts/yIrLm2azj.png
og:image:alt: Architecture in the AI age
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Architecture in the AI age

**[Android Developers](https://daily.dev/sources/developwithandroid)** · [@mark_kazakov](https://daily.dev/mark_kazakov) · 3 min read · 167 upvotes · 31 comments

## Summary

AI coding agents are reshaping how mobile teams should think about architecture. While architecture has traditionally helped teams maintain consistency and testability, AI agents introduce new challenges: without clear structure, agents may produce working but fragile code that duplicates logic or introduces inconsistent patterns. At the same time, over-engineering remains a risk since agents make generating boilerplate cheap, but the cost of understanding and maintaining that complexity is unchanged. The author argues for a new architectural philosophy that respects core principles (DRY, KISS, SOLID) while being simple enough for agents to extend safely and clear enough for humans to trust and review.

## Content

For years, mobile engineering teams treated architecture as a core part of professional development. On Android, we debated MVC, MVP, MVVM, MVI, Clean Architecture, modularization, dependency injection, repositories, use cases, and feature modules. On iOS, we had similar debates around MVC, MVVM, VIPER, The Composable Architecture, coordinators, service layers, dependency containers, and state management.

The goal was always reasonable. Architecture helped teams build apps that were easier to understand, test, scale, and maintain. It gave developers a shared language. It helped new team members know where code should live. It reduced the risk that every feature would be implemented in a different style.

But AI coding agents are changing the development process.

When an AI agent can generate large parts of the implementation, refactor code, write tests, and connect multiple parts of a feature, we should ask a serious question: do we still need the same emphasis on architecture, or do we need a different kind of architecture?

One argument says architecture becomes even more important.

AI agents are powerful, but they need clear boundaries. Without structure, an agent may produce code that works locally but weakens the system over time. It may duplicate logic, bypass existing patterns, create unnecessary abstractions, or introduce a new style that does not match the rest of the app.

In that sense, architecture becomes a guide for the agent. It tells the system how decisions are made, where logic belongs, how data flows, how errors are handled, and what kind of change is acceptable. A clear architecture is not only for humans anymore. It becomes part of the working environment for AI.

There is also a strong argument in the other direction.

Mobile teams have sometimes overused architecture. We have all seen simple features become heavy because every small thing had to pass through too many layers. Sometimes architecture protects a product. Sometimes it only protects an idea of technical purity.

AI can make this worse. Since agents can generate boilerplate quickly, teams may accept more layers because the cost of writing them feels low. But the cost of understanding, reviewing, debugging, and evolving that code is still real. Generated complexity is still complexity.

In an era where the agent is the main coder, we need to adapt our architectural thinking accordingly.
As the speed of code generation is increasing exponentially, so does the speed at which a system can either improve or decay.

I believe we need new architectural approaches where the core principles of software engineering are still respected: DRY, KISS, SOLID, clear boundaries, testability, and maintainability. But the implementation also needs to be easy to follow, easy to review, and easy for both humans and agents to extend safely.

Maybe the next evolution of mobile architecture is not about adding more layers, maybe it's about creating systems that are simple enough for agents to work with, structured enough to prevent chaos, and clear enough for humans to trust.

That might be the real architectural challenge of the AI age.

What do you think?

## Community discussion

Top comments from developers on daily.dev.

**@amaruki** · 20 upvotes

> The architecture should be understandable by humans, even if the code and logic were generated by AI. AI does not understand human intent. In my opinion, AI is still just an assistant, depending on how we define AI consciousness.

**@kvinayagamoorthy** · 2 upvotes

> This is just awesome. This is exactly what we need to do with AI. I already add so many such guard rails while building. As of now I have strict instructions for AI to do 15 steps like static code analyisis, cyclomatic complexity, maintainability index check, cognitive complexity check, cohesion check, unit tests and component tests. This is primary and architecture is secondary.

**@wakeupmh** · 1 upvotes

> Archs should always be understandable to humans, because nowadays we can treat AI code in the same way we treat compilers, you know what I mean?

**@yaguel** · 1 upvotes

> It makes a lot of sense that we need to guide and use rigid structures in order for an AI model (or humans) to understand what we want. AI models might be fast at writing, but unless an AI is able to read your mind, it will always rely on communication in order to understand what it needs to do.
>
> A human could also never now what you want without communication. Therefore I personally believe communication will be (and probably already is) one of the most important and valued skills to master.
>
> Velocity should not be confused with capability; they are two entirely different concepts.

**@a\_meb\_a** · 1 upvotes

> AI , very weak tool for architecture.

## Similar posts on daily.dev

- [Five Ways To Use AI Coding Agents to Improve Your Software Architecture](https://daily.dev/posts/five-ways-to-use-ai-coding-agents-to-improve-your-software-architecture-1r7zawjlz) · InfoQ · 46 upvotes · 3 comments
- [AI Agents Don’t Fix Bad Architecture. They Accelerate It.](https://daily.dev/posts/ai-agents-don-t-fix-bad-architecture-they-accelerate-it--y0bkycqlx) · Medium · 1 upvotes · 0 comments
- [Using AI Doesn’t Mean You Can Slack on Architecture](https://daily.dev/posts/using-ai-doesn-t-mean-you-can-slack-on-architecture-nfp7cnw9k) · Atomic Spin · 52 upvotes · 3 comments
- [Using AI agents in long-lived software projects](https://daily.dev/posts/using-ai-agents-in-long-lived-software-projects-csq99vezx) · Ayende @ Rahien · 13 upvotes · 0 comments

---

Tags: [#mobile](https://daily.dev/tags/mobile), [#architecture](https://daily.dev/tags/architecture), [#ai-agents](https://daily.dev/tags/ai-agents), [#design-patterns](https://daily.dev/tags/design-patterns)

[View this post on daily.dev](https://daily.dev/posts/architecture-in-the-ai-age-yirlm2azj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/architecture-in-the-ai-age-yirlm2azj","headline":"Architecture in the AI age","text":"AI coding agents are reshaping how mobile teams should think about architecture. While architecture has traditionally helped teams maintain consistency and testability, AI agents introduce new challenges: without clear structure, agents may produce working but fragile code that duplicates logic or introduces inconsistent patterns. At the same time, over-engineering remains a risk since agents make generating boilerplate cheap, but the cost of understanding and maintaining that complexity is unchanged. The author argues for a new architectural philosophy that respects core principles (DRY, KISS, SOLID) while being simple enough for agents to extend safely and clear enough for humans to trust and review.","url":"https://daily.dev/posts/architecture-in-the-ai-age-yirlm2azj","datePublished":"2026-05-15T14:10:11.318Z","dateModified":"2026-05-15T14:10:35.228Z","author":{"@type":"Person","name":"Mark Kazakov","url":"https://daily.dev/mark_kazakov","image":"https://media.daily.dev/image/upload/s--xbUWQzIM--/f_auto/v1743106084/avatars/avatar_DXWhIjQxKsp3WABroh08k","description":"Principal Software Engineer","worksFor":{"@type":"Organization","name":"Autodesk","logo":"https://res.cloudinary.com/daily-now/image/upload/s--3OUjq2iT--/f_auto/v1725007505/companies/autodesk"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":2260}},"image":"https://media.daily.dev/image/upload/s--NULzrcmZ--/f_auto/v1778765192/posts/NrOdyeabG?_a=BAMAMiWQ0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":167},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":31}],"comment":[{"@type":"Comment","text":"The architecture should be understandable by humans, even if the code and logic were generated by AI. AI does not understand human intent. In my opinion, AI is still just an assistant, depending on how we define AI consciousness.","datePublished":"2026-05-15T19:09:47.943Z","url":"https://daily.dev/posts/yIrLm2azj#c-FhtJzHr9i","author":{"@type":"Person","name":"Amarulloh M K","url":"https://daily.dev/amaruki","image":"https://avatars.githubusercontent.com/u/67224207?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":20}},{"@type":"Comment","text":"This is just awesome. This is exactly what we need to do with AI. I already add so many such guard rails while building. As of now I have strict instructions for AI to do 15 steps like static code analyisis, cyclomatic complexity, maintainability index check, cognitive complexity check, cohesion check, unit tests and component tests. This is primary and architecture is secondary.","datePublished":"2026-05-15T23:22:24.177Z","url":"https://daily.dev/posts/yIrLm2azj#c-6K9jJjTT6","author":{"@type":"Person","name":"Vinayagamoorthy Kuppusamy","url":"https://daily.dev/kvinayagamoorthy","image":"https://lh3.googleusercontent.com/a/ACg8ocKNJdPnJBzllXOkGNx3HIWeYgv7qS5dmFv_5KR2EoqeUFooUEM9=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Archs should always be understandable to humans, because nowadays we can treat AI code in the same way we treat compilers, you know what I mean?","datePublished":"2026-05-16T12:04:47.420Z","url":"https://daily.dev/posts/yIrLm2azj#c-GXsC07Act","author":{"@type":"Person","name":"Marcos Henrique","url":"https://daily.dev/wakeupmh","image":"https://lh3.googleusercontent.com/a-/AFdZucpwxrCAeQApeejYQ7sMWsrRCQnVOon7YJJsFsaY=s100"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"It makes a lot of sense that we need to guide and use rigid structures in order for an AI model (or humans) to understand what we want. AI models might be fast at writing, but unless an AI is able to read your mind, it will always rely on communication in order to understand what it needs to do.\nA human could also never now what you want without communication. Therefore I personally believe communication will be (and probably already is) one of the most important and valued skills to master.\nVelocity should not be confused with capability; they are two entirely different concepts.","datePublished":"2026-05-16T05:53:45.230Z","dateModified":"2026-05-16T06:02:15.375Z","url":"https://daily.dev/posts/yIrLm2azj#c-olH3HrdCR","author":{"@type":"Person","name":"Yaguel","url":"https://daily.dev/yaguel","image":"https://lh3.googleusercontent.com/a/ACg8ocIjmR8j5NT-aYSNePQqkLrR9-QNW4liQYzlg7Rw7wHx9fo=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"AI , very weak tool for architecture.","datePublished":"2026-05-17T20:37:34.528Z","url":"https://daily.dev/posts/yIrLm2azj#c-e3Qrh0mBu","author":{"@type":"Person","name":"Phillippe Michel Weir","url":"https://daily.dev/a_meb_a","image":"https://media.daily.dev/image/upload/s--BwH-uTMq--/f_auto/v1740136991/avatars/avatar_N403VFK9lAHNRwlSAhl1h"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/developwithandroid","name":"Android Developers"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Android Developers","item":"https://daily.dev/squads/developwithandroid"},{"@type":"ListItem","position":3,"name":"Architecture in the AI age"}]}
```

