NEW YORK — Reliever Mike Adams and the Philadelphia Phillies have agreed to a $12 million, two-year contract.

The Associated Press, CSNPhilly.com and Philly.com all reported on the deal.

The deal includes an option for 2015 that could become guaranteed and would make the deal worth $18 million to $18.5 million, depending on appearances.

Adams will take a physical next week before the deal can be finalized, the person said Saturday.

The Phillies have also signed starter left-handed pitcher John Lannan to a one-year, $2.5 million deal, according to CSNPhilly.com, CBSSports.com and Todd Zolecki of MLB.com.

Lannan, 28, was 4-1 with a 4.13 ERA in only six games last season for the Washington Nationals. He spent most of the season in Triple-A. He was 10-13 with a 3.70 ERA in 2011.

Adams, 34, is recovering from surgery for a nerve disorder, Thoracic Outlet Syndrome, but is expected to make a full recovery and be ready for spring training.

He was 5-3 with a 3.27 ERA in 2012 with the Texas Rangers.

Adams leads all set-up men in baseball in holds over the last three seasons with 97. And his 2.06 ERA in that period is second to Atlanta's Eric O'Flaherty, among relievers who worked at least 175 innings.