Guidewire has agreed to buy insurance software firm hyperexponential for up to 2.1 billion dollars. The deal will bring automated artificial intelligence underwriting and pricing tools to commercial property and casualty insurers worldwide.