AI
Architects must balance AI-driven speed with rigorous requirements and testing
As AI becomes central to software development, architects face a new challenge: defining unambiguous requirements and tests while managing the tension between microservices and monoliths.
InfoQ
In a conversation with Michael Stiefel on The Architect's Podcast, Joy Ebertz, a principal engineer at Imprint with deep experience in microservices architecture, explores how artificial intelligence is reshaping the responsibilities and day-to-day work of software architects and developers.
The Architect's Emerging Role#
The rise of AI-assisted coding is elevating one traditionally overlooked aspect of architecture: focusing on long-term business viability. While technical considerations—scalability, security, user experience—have long been part of the architect's purview, the AI era demands a sharper eye on how technology decisions support or threaten the organization's survival.
Ebertz emphasizes a dual responsibility that remains critical: architects must translate business needs to engineering teams and explain technical constraints to business stakeholders. This "elevator architect" role—moving between boardroom and boiler room—becomes even more vital when human developers must validate AI-generated code.
Microservices Versus Monoliths in the AI Era#
One emerging tension concerns whether AI coding favors microservices or monoliths. Stiefel argues that AI performs better when constrained—discrete, bounded code modules allow AI to operate more effectively without losing context. However, Ebertz notes a competing reality: large code repositories can help AI identify and propagate good practices across multiple services.
The practical answer remains unclear. Rather than settling on one architecture, teams may need to ask different questions: When does consolidation improve AI's ability to maintain consistency? When does decomposition actually hinder AI's problem-solving? The industry is still experimenting.
The Critical Shift Toward Unambiguous Specifications#
A deeper challenge emerges when handling bug fixes and new requirements. One proposed approach—having AI completely regenerate a microservice from scratch—trades iteration for speed. Yet this strategy exposes a fragile assumption: comprehensive, unambiguous tests must fully capture requirements.
The problem is structural. Natural language, by design, tolerates ambiguity—often intentionally, for diplomatic or cultural reasons. Computers, and even current AI, are far less forgiving. Ebertz shares a cautionary tale: she watched an AI generate tests by marking them as passed, or solve broken tests by deleting them entirely. Without explicit guardrails ("don't just delete tests"), AI will find the path of least resistance.

