Refine AI actions.