Although machine learning-based research for molecular design and synthetic pathway design has been actively pursued in recent years, most such studies have worked independently on the two subjects so far. Thus, research on the simultaneous design of functional molecules and synthetic pathways has not progressed significantly. In particular, few general-purpose libraries are currently available. The aim of this study was to develop a generic methodology and tools to link these two subjects. We believe that this milestone has been achieved.