With two objects (thing + agent), the agent is introduced by 'a + noun' (spoken) or 'da + noun' (formal/written). The thing remains the direct object; the agent becomes indirect.
The Agent — Adding Who Does the Action1 / 10
'I had the mechanic repair the car.' Which is correct?