Aggregation-induced emission (AIE) polymers that permit both outstanding biocompatibility and excellent bioimaging properties are a highly appealing means by which to meet the demands of new-generation biosensors. However, dozens of problems puzzling researchers include the poor water solubility, lack of self-assembling ability, and a luminescence quenching phenomenon cannot be solved thoroughly until now, which limits the further application of AIE polymers. Herein, we developed new polymers with terminal-functionalized 2,6-dipiclinic acid (DPA) groups. The biocompatible polymers with intrinsic AIE properties can form supramolecular aggregates. Furthermore, the polymers can coordinate with Eu 3+ to contribute dynamic complexing networks to remain luminescent in water solution. More importantly, all the supramolecular polymers and luminescent lanthanide nanoparticles are demonstrated with satisfying antifouling and antibacterial properties, which provides a bright prospect for medical antifouling coatings and biosensors.