This study presents a real-time methodology for chemical layer detection and closed-loop control during femtosecond (fs) laser micromachining of multilayer metallic substrates using Laser-Induced Breakdown Spectroscopy (LIBS). The objective is to instantly identify transitions between metallic layers (Aluminum, Copper, Stainless Steel) during ablation, enabling automatic process interruption. An experimental setup was developed integrating a high-repetition-rate fs laser and a spectrometer for continuous plasma emission monitoring. The acquired spectra are streamed in real time to a Python-based processing pipeline implementing a Partial Least Squares Discriminant Analysis (PLS-DA) model for material classification. Upon detecting a layer transition, the system communicates directly with the laser controller, issuing an immediate stop command. This closed-loop LIBS-assisted approach achieved reliable layer discrimination and process stoppage within 14 ± 2 ms, limiting substrate damage without compromising process efficiency. These results demonstrate the feasibility of integrating fs-LIBS with real-time feedback control for intelligent micromachining and precision material removal processes in multilayer systems.