Subcontractors in agile

How to plan subcontractors in long period of time for agile - is contract the only option?