The Cubs are in a agreement on a one-year deal with former Pirates right-hander Trevor Williams, sources told ESPN.