The Boston Red Sox are in agreement on a two-year, $17.5 million deal with right-handed reliever Chris Martin, sources familiar with the deal told ESPN's Jeff Passan on Friday.

The contract is pending a physical, sources said.