We study production networks where firms' products can be described by a set of input and output characteristics, and links are formed only if the output characteristics of a seller match the input characteristics of a customer. We introduce a fully endogenous network formation model with...