Free agent left-hander Carlos Rodon has agreed to terms on a $44 million, two-year contract with the San Francisco Giants, according to a person with direct knowledge of the negotiations.