The present application relates to vertically integrated assemblies including a MEMS-based optomechanical architecture. In some embodiments, the assembly includes a MEMS/optoelectronic module, an emitter module, and a detector module, where these modules are vertically integrated. Methods of fabricating such assemblies are also described herein.