The San Francisco Giants have agreed to a one-year deal with lefty Tyler Anderson.

The agreement came one day after the Giants declined to tender Anderson a contract and made him a free agent.

San Francisco claimed Anderson off waivers from the Colorado Rockies on Oct. 30.

He is expected to compete for a spot in the Giants' rotation.