Do you have to upgrade Junos software whenever AI-Scripts is upgraded?
No, unless stated otherwise in the AI-Scripts Release Notes located at Advanced Insight Scripts (AI-Scripts) Documentation.