ai loading framework