pH-stimuli-responsive near-infrared optical imaging nanoprobes are designed and synthesized in this study in a facile one-step synthesis process based on the use of the biocompatible and biodegradable polymer poly(γ-glutamic acid) (γ-PGA)/poly(β-amino ester) (PBAE). PBAE has good transfection efficiency and promotes degradation properties under acidic conditions. This pH-responsive degradability can be used for the effective release of encapsulating materials after cellular uptake. As an optical imaging probe, indocyanine green (ICG) is an FDA-approved near-infrared fluorescent dye with a quenching property at a high concentration. In this regard, we focus here on the rapid degradation of PBAE in an acidic environment, in which the nanoparticles are disassembled. This allows the ICG dyes to show enhanced fluorescence signals after being releasing from the particles. We demonstrated this principle in cellular uptake experiments. We expect that the developed pH-stimuli-responsive smart nanoprobes can be applied in intracellular delivery signaling applications.