Architects must shift to enablement roles to manage AI agent autonomy
Luca Mezzalira argues that software architects must evolve into enablement teams, using domain-driven design to calibrate AI oversight. He warns that AI accelerates code generation but risks junior developer skill retention if collaborative practices are abandoned.
Luca Mezzalira argues that the role of the software architect must shift from central design authority to an enablement team model, similar to security teams, to handle the scale of modern organizations. He advocates for decentralizing architectural decisions to developers while establishing guardrails, such as review committees composed of API consumers and experts, to validate designs. Mezzalira suggests using domain-driven design subdomains to determine the level of human-in-the-loop required for AI agents: core domains require heavy human oversight, while generic domains allow for greater AI delegation. He notes that AI agents currently lack security fundamentals, citing MCP without authentication and attacks on OpenSUSE packages, and warns that speed often trumped perfection in early agentic implementations.
Mezzalira addresses the challenge of training junior developers when AI handles routine coding tasks, noting that apprenticeship opportunities are diminishing. He cites a study showing that developers who used AI to understand code learned at the same pace as a control group but had significantly less retention. To counter this, he advocates for pair programming and mob programming, referencing Kent Beck’s view that these practices are more important than ever. He also mentions AWS’s proposal for an 'AI DLC' (AI Development Lifecycle), which challenges traditional human-centric practices like Scrum in favor of approaches tailored for AI agents. Mezzalira emphasizes that while AI can accelerate onboarding, developers must still engage in refactoring and deep problem-solving to master the craft.
Mezzalira defines architecture as a socio-technical discipline, where decisions are driven by organizational communication structures rather than just technical merit. He shares his experience at DAZN, where he led the migration to microservices, noting that 70% of the architect's role is being empathic with people and understanding organizational dynamics, while 30% is technical. He criticizes the misconception that architecture is solely about technical complexity, arguing that friction in systems often signals organizational misalignment rather than architectural failure. He highlights the importance of context, using the example of a team moving from microservices to a monolith due to a reduction in team size, illustrating that absolute statements about architectural patterns ignore specific business and social context.