adding agent template source file