The Los Angeles Dodgers, perpetually in search of depth for their star-studded rotation, have agreed to a deal with four-time All-Star Cole Hamels, sources confirmed to ESPN on Wednesday.

Hamels, who auditioned for teams during a workout last month in Texas, passed his physical on Wednesday morning. The Dodgers will guarantee him a prorated $1 million for the rest of this season and will tack on $200,000 in incentives for each start, a source told ESPN's Buster Olney.