refs 6518 rename Patron model to Agent