Artificial Agents and the Contracting Problem: A Solution Via an Agency Analysis · Study