Major AI logic write