ai deal structure