SAN FRANCISCO Second baseman Joe Panik has reached agreement on a $3.45 million, one-year contract with the San Francisco Giants to avoid salary arbitration.