We have developed an inverse synthesis algorithm for chemical reaction path planning using reaction template data sourced from the USPTO-50k dataset. Our reinforcement learning inverse synthesis algorithm draws inspiration from prior works. This reinforcement learning-based retrosynthetic model, utilizing the reaction template database, incorporates molecular fingerprints and information on the purchasability of molecules for synthetic path planning.