A reprogrammable AI framework for the Spring Engine