The San Francisco 49ers agreed to a one-year contract with former New York Giants running back Brandon Jacobs, a league source said Wednesday.