In the title compound, C(8)H(12)N(4)OS, an intra-molecular N-H⋯O hydrogen bond links the imine N atom to the oxo O atom. In the crystal, mol-ecules are linked by inter-molecular N-H⋯O and N-H⋯S hydrogen bonds, forming a two-dimensional framework.