A wafer assembly that includes a wafer substrate. A plurality of micro-optomechanical or micro-optoelectrical devices are positioned on a surface of the wafer substrate. Each micro-optomechanical or micro-optoelectrical device has a seal surface. A plurality of seal caps are coupled to the micro-optomechanical or micro-optoelectrical devices. Each seal cap has a seal ring. The seal cap seal ring is coupled to a seal surface of the micro-optomechanical or micro-optoelectrical device to form a hermetic seal.