ai automation reasoning