Design The AI Control Framework For AP/AR