The Athletics and right-hander Trevor Cahill have agreed to terms on a multiyear deal, according to a source. The contract is pending a physical. Cahill was 18-8 last season and was an All-Star for the American League. He has a 29-21 career record with a 3.69 ERA.