While micromachines with tailored functionalities enable therapeutic applications in biological environments, their controlled motion and targeted drug delivery in biological media require sophisticated designs for practical applications. Covalent organic frameworks (COFs), a new generation of crystalline and nanoporous polymers, offer new perspectives for light-driven microswimmers in heterogeneous biological environments including intraocular fluids, thus setting the stage for biomedical applications such as retinal drug delivery. Two different types of COFs, uniformly spherical TABP-PDA-COF sub-micrometer particles and texturally nanoporous, micrometer-sized TpAzo-COF particles are described and compared as light-driven microrobots. They can be used as highly efficient visible-light-driven drug carriers in aqueous ionic and cellular media. Their absorption ranging down to red light enables phototaxis even in deeper and viscous biological media, while the organic nature of COFs ensures their biocompatibility. Their inherently porous structures with ≈2.6 and ≈3.4 nm pores, and large surface areas allow for targeted and efficient drug loading even for insoluble drugs, which can be released on demand. Additionally, indocyanine green (ICG) dye loading in the pores enables photoacoustic imaging, optical coherence tomography, and hyperthermia in operando conditions. This real-time visualization of the drug-loaded COF microswimmers enables unique insights into the action of photoactive porous drug carriers for therapeutic applications.