Implementing AI Contract