A subcontractor agreement is an important legal document defining the terms of a business-related agreement between a contractor and a subcontractor.