For a risk neutral principal, the authors identify the conditions under which a principal contracts with a risk-neutral, risk-averse, or risk-seeking agent and derive the principal's optimal offer together with the agent's optimal service capacity response.