Palantir gained ground after announcing a collaboration with Knox Systems. The company operates a federal cloud and compliance platform that helps companies deploy software and artificial intelligence (AI) technology.