Terahertz(THz) optoelectronics has promoted the development of the THz generation, transparent control, and detection methods，and hastened many devices in the past decades. Especially, THz metamaterials and metasurfaces will exhibit extraordinary electromagnetic response when the subwavelength scale metal structure is excited by the THz illumination. Therefore, they have been applied to the devices such as wave beam shaper, waveguide, and modulator etc. The THz metamaterials and metasurfaces also show the potential applications in the research fields such as sensors, communications, and radars. In this paper, the works about the spectrum and wavefront modulation with THz metadevices carried out in our group are summarized. The basic theory and corresponding experiment results for different devices are introduced. It is expected these works can pave the avenue of the application of the THz metadevices.