A development framework for AGI