A physical or chemical agent capable of producing a heritable change in the DNA sequence of an organism.