Free-agent reliever Derek Law and the Arizona Diamondbacks are in agreement on a minor-league contract that includes an invite to spring training, sources say.