Start with the training example, then prepare your own notes or connect an agent. Detailed contracts and library design are listed below.