In this paper, a flexible laboratory automation system based on a distributed framework that is aiming for autonomous scientific experiments is described. The system is also based on the autonomous experiment loop consisting of sample production, evaluation, and parameter exploration. As an example of applying the system, an implementation for the press process in the development of polymer materials was presented. The system utilizes robot manipulation for sample production, evaluation of the sample, and experimental parameter exploration by Bayesian optimization. The experiment loop was enabled to be conducted using the system.