The Boston Red Sox have agreed to a two-year, $14 million deal with Enrique Hernandez, sources confirmed to ESPN's Jeff Passan on Friday.

Hernandez, originally acquired from the Miami Marlins as part of a seven-player trade in December 2014, was a key cog for the Los Angeles Dodgers over the past six years because of his infectious energy, defensive versatility and production against left-handed pitching.