Building first template agent