it is illegal to keep other people's passport. You better demand your agent to give the passport back to you and check whether your maid has the work visa. Simply tell the agent that you need to bring your maid to travel and need the passport to apply for the visa.