Anthropic has teamed up with Palantir and AWS to sell its AI family of models called Claude to defense customers.