Either way, you're paying someone (the agency or the nanny).
You are paying either the agency or the nanny.