Reliever Jeremy Affeldt became the first of 171 free agents to agree to a contract, signing a two-year deal Monday with the Giants, according to an Associated Press report.