adding agent template