With the constant evolution of markets, new paradigms have emerged. Those new paradigms require solutions more versatile and able to cope with the unexpected changes. The world of manufacturing involves many risks and in order to reduce initial investments it is frequent to use virtual environments like simulators. This document presents a functional architecture of integration between a generic simulator and a multi-agent system, in order to meet the requirements of evolutions in manufacturing and the demand for customized products. One implementation case and results are presented as well.