AI without spaghetti: Clean architecture in the age of AI by Lutske de Leeuw and Maarten Vandeperre @DevoxxForever
AI without spaghetti: Clean architecture in the age of AI by Lutske de Leeuw and Maarten Vandeperre  @DevoxxForever
Uploaded April 2026 | Updated September 2026, 2 weeks ago
Sorry for the bad audio quality of this video due to a technical issue.
Sorry Lutske and Maarten
------------------------

Is your shiny new AI feature already tangled in a plate of spaghetti code, with helper classes sticking out like rogue meatballs and surprise side effects splattering everywhere? In this session, we follow a short story of a small chatbot named Leo that grows into a full‑blown platform, showing how careless choices turn neat experiments into costly traps. We then flip the script and refactor the same product into a scalable, enterprise-ready architecture using Clean Architecture. Drawing clear lines between domain, application, and infrastructure so that models can change without breaking everything else. By the end, you will see that good structure is not a luxury, but the only way to keep your AI moving fast without regrets.

What we cover

- The hidden cost of “just ship it” when models, data pipelines, and prompts keep changing
- Where Clean Architecture fits in a modern AI stack: domain, ports, adapters, and model gateways
- Demo: Route simple queries to a local LLM and advanced ones to the cloud, in minutes, not days.
- Pitfalls we hit in real projects and the patterns that saved us

What you will learn

- How to spot early signs of architectural decay in AI projects
- A step‑by‑step guide to isolating AI concerns from business rules
- Practical tips for introducing structure into an existing “AI spaghetti” codebase
AI without spaghetti: Clean architecture in the age of AI by Lutske de Leeuw and Maarten VandeperreLearning modern Java the playful way by Marit van Dijk, Piotr PrzybyłUnderstanding Prompt Injection   Techniques, Challenges, and Advanced Escalation by Brian VermeerTracing Java Performance Bottlenecks by Victor RenteaWhy Security Matters: The Risks of Agentic AI and How to Mitigate Them by Christoph BühlerSecure By Design: Architecting cloud and AI workloads from the perspective of infosec by N. GodecData Integrity 2.0. The biggest advancement in data quality in 30 years! by Connor McDonaldThe Ultimate Guide to Browser-Based AI: Privacy-First, Offline-Ready and Future-Proof by M. SalnikovHow to trace a Java Memory Leak by Victor Rentea[VDBUH2026] Sander Hoogendoorn  - Keynote: Seven Habits of a (Mostly) Successful TeamSecure Java Applications against Quantum Threats by Ana-Maria Mihalceanu10 Things I Hate About Java by  Adele Carpenter
Devoxx |

AI without spaghetti: Clean architecture in the age of AI by Lutske de Leeuw and Maarten Vandeperre

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER