Mastering Agent Goal Decomposition in AI Systems