Brandon Crawford, who has played more games for the franchise at shortstop than any other player, has agreed to a two-year, $32 million extension, the team announced.