adding agent module from learningpuppet