If the agent insures the quality and is contractually bound to pay all expenses for repair and maintenance, that could avoid a major chunk of the principal-agent problem.
It might be possible to materially minimize the probability of error to have 2 agents, one that checks the others’ work. But that also will get costly.