Distributed control for Agile Manufacturing Systems (AMSs) is an active research field. Many efforts are focused on the IEC 61499 standard, although there is still work to be done for its adoption by the industry. A part of this work is related to solve its semantic ambiguities derived from implementation-dependent issues. This paper presents the COSME platform, which uses an adapted component model, a specific execution model and a set of communication types for the distributed control of communicating machine tools in the context of Agile Manufacturing Systems. These models can be expressed in IEC 61499 terms. This adaptation facilitates application designing and implementation.