A frequency agile gyrotron for use in combination with an NMR system is disclosed. The frequency agile gyrotron combined with EPR-NMR magic angle spinning resonators and cryogenic sample cooling may increase the sensitivity of solid state NMR with DNP.