A person familiar with the negotiations tells The Associated Press that catcher J.T. Realmuto has agreed to a $45 million, three-year contract to stay with the Philadelphia Phillies.