1 Introduction

Biofilms, the microbial aggregations enclosed in slippery and sticky extracellular matrix, represent the most common growth mode of bacteria in nature [1]. Generally, biofilms are formed as follows: bacteria adhere to suitable biotic or abiotic surfaces first and then secrete extracellular polymer substances (EPS, containing polysaccharides, proteins and DNA, etc.) to wrap themselves, forming a heterogeneous three-dimensional biofilm structure [2]. The formation of biofilms established the protection for bacteria against antibiotics and host immune attack. Consequently, bacteria inside biofilms are 10–1000-fold more resistant to antibiotics than their planktonic counterparts, and these pathogens cause about 80% infections clinically, including notorious cystic fibrosis, native valve endocarditis, otitis media, periodontitis, implant relevant infections, etc. [3,4,5]. The traditional therapies for biofilm infections have focused on indwelling medical devices, using physical–mechanical approaches to disrupt biofilms or surface-coating/eluting substrates releasing antibiotics to prevent bacteria adhesion [6]. However, most therapies have entailed conventional antibiotics for high concentration and long incubation, which would lead to long and expensive treatment and would easily increase the risk of adverse outcomes, such as high toxicity and drug resistance [6,7,8]. Thus, it is of great necessity to develop innovative therapeutics for biofilm infections.

Nanomaterials arise as promising tools to combat biofilm infections in recent years, which can act as therapeutics themselves or as drug delivery systems carrying various antibiotics or bactericidal agents to biofilms [9,10,11,12]. The flexible tunability in their size, shape, surface hydrophobicity/hydrophilicity and charge facilitates the penetration into biofilms and circulation safely in bloodstream. For example, the nanoscale size corresponds to the dimensions of water-filled channels in biofilm structures, and the negatively charged extracellular matrix has high affinity with positively charged materials. Also, the high surface-to-volume ratios of nanomaterials benefit modification of specific functional groups for practical applications, such as targeting to infection sites and releasing drugs upon stimulations [9, 13]. Choosing right nanocarriers with proper interior characteristics enables the loading of desired drugs and thus removes the barriers in their physiological applications [14]. Moreover, the smart responsiveness, namely the stimuli responsiveness, endows nanocarriers with the ability to release drugs on demand, which enhances the accumulation of bactericidal agents in biofilms sites, lowers the toxicity toward surrounding tissue and thus improves the drug efficiency [15, 16]. Because of the rapid advances in nanotechnology, it is not difficult to construct stimuli-responsive nanocarriers for effectively combating biofilms infections.

It has been fully validated that the microenvironment of biofilms is markedly different from the normal tissue around the infection sites [17]. First, the extracellular and intracellular substances produced by bacteria and accumulated in the biofilms are able to act as triggers of responsive nanocarriers. For example, specific enzymes such as lipase, hyaluronidase (HAS), glutamyl endonuclease are suitable to activate the responses due to their enzymolysis [15, 16, 18]. According to the different substrate characteristics of enzyme degradation, nanocarriers with corresponding structures can be built to satisfy the need of practical applications. Besides, glutathione (GSH), the most abundant thiols in many bacterial cells (ranges from 0.1 to 10.0 mmol·L−1), can also stimulate the conversion of nanocarriers to activated states or [19]. The additional advantage of using GSH as stimulus is that the consumption of this protective substance can increase the sensitivity of bacteria to other damages, thus enhancing the bactericidal effects. Second, other substances with high concentration or easy to be converted into stimuli are also popular in designing responsive nanocarriers. H2O2 in biofilm is also abundant, which is well known as a host antibacterial chemical, but recently proved to come from bacteria as well [20, 21]. This metabolic byproduct of aerobic bacteria will be decomposed into water and oxygen under specific nanocarriers’ catalysis, to improve the efficiency of photodynamic therapy (PDT) [22]. Moreover, it is usually hypoxic in the interior of biofilms because outer layers consumed oxygen preferentially, which compels the inner layer cells to ferment and produce acidic metabolic products [16]. The acidic metabolic products from all bacteria would make the microenvironmental pH lower than 7.4, both inside and around biofilms [23, 24]. Various pH-responsive drug delivery nanosystems can be established based on this characteristic, such as charge switchable and acid degradable nanocarriers. Finally, many external stimuli provide the strategy to construct responsive drug delivery nanosystems, such as light, heat, microwaves and magnetic field [25]. These artificially controllable stimuli offer a drastically different perspective to design nanocarriers.

In this review, we summarized recent advances in stimuli-responsive drug nanocarriers used for biofilm treatment and focused on the construction of responsive nanocarriers and their responses to various triggers. There are tremendous numbers of relative works in this field, and only a few representative ones were introduced here. The dual- or multi-responsive nanocarriers are very prevailing, so some nanocarriers can be classified into two or more categories, but they would be introduced once in this review to avoid repetition.

2 Nanocarriers responsive to bacterial products

2.1 Enzyme-responsive nanocarriers

2.1.1 HAS-responsive nanocarriers

Bacterial HAS are classes of enzymes that degrade predominately hyaluronic acid (HA) and also capable to degrade chondroitin and chondroitin sulfates [26]. HAS is mainly produced by gram-positive bacteria to initiate their infections on host skin or mucosal surfaces [27]. For gram-negative bacteria, HAS is often periplasmic rather than extracellular, so they are less likely to function in pathogenesis [27]. In the design of HAS-responsive nanocarriers, HA is often used as capping agent to guard the drugs inside.

Using HA to coat graphene-mesoporous silica nanosheet (GS), Qu et al. constructed a targeted “on-demand” drug delivery nanosystem to treat bacterial infections [28]. Ascorbic acid (AA), a non-toxic prodrug of H2O2, and HA-dopamine conjugates (HA-DA) were encapsulated in GS, followed by modification of the GS surface by peroxidase-like ferromagnetic nanoparticles (MNPs, Fe3O4) loading vancomycin (Van) (Fig. 1a). The nanocarriers AA@GS@HA-MNPs were capable to target bacteria and accumulate at infection sites, where the HA-DA was decomposed by bacterial HAS and led the AA out. Under catalysis of MNPs, AA generated hydroxyl radical (·OH) to damage biofilm components and bacteria structures without inducing drug resistance. Meanwhile, the graphene in GS had excellent photothermal properties, also contributing to the elimination of biofilms.

Fig. 1
figure 1

Reproduced with permission from Ref. [26]. Copyright 2016, Wiley. b MNPs@Ag@HA penetrate into biofilms and release drugs. Reproduced with permission from Ref. [28]. Copyright 2018, American Chemical Society

a Schematic illustration of AA@GS@HA-MNPs and its response to enzymes.

Later, Liu et al. [29] constructed a similar HAS-responsive nanosystem, using mesoporous Ru nanoparticles (Ru NPs) to load AA and act as photothermal agents and then coated NPs with HA. The ciprofloxacin-loading MoS2 with peroxide-like ability was further immobilized on the surface, which would catalyze AA to ·OH after drug release triggered by HAS. The constituted AA@Ru@HA-MoS2 for chemo-photothermal therapy showed remarkable bactericidal properties. Compared with AA@GS@HA-MNPs, AA@Ru@HA-MoS2 exhibited broader antibacterial activity toward multi-drug-resistant bacterial infections.

HAS responsiveness can also be integrated with other responsiveness to obtain dual- or multi-responsive nanocarrier. For example, Xing et al. used MNPs as cores and coated them with multilayer films containing antibiotic gentamicin (Gen), tannic acid and silver nanoparticles and finally capped with HA as responsive shells [30]. Under the acidic microenvironment of biofilm with overexpressed HAS, Gen and Ag+ were rapidly released from the nanocarriers MNPs@Ag@HA, exhibiting broad-spectrum antibacterial capability. Intriguingly, this work employed magnetism rather than catalytic properties of MNP to guide the MNPs@Ag@HA penetration within the biofilm upon magnetic field navigation, which greatly facilitated the biofilm elimination (Fig. 1b).

2.1.2 Lipase-responsive nanocarriers

Lipases are enzymes able to catalyze the hydrolysis and synthesis of esters, whose major substrates are carboxyl ester bonds in acylglycerols. They are widely distributed throughout bacteria, and some pathogenic bacteria secrete lipases during colonization in hosts, such as Staphylococcus aureus (S. aureus) and Pseudomonas aeruginosa (P. aeruginosa) [31, 32]. As a result, the extracellular lipases are often used as triggers of nanocarriers containing carboxyl ester bonds.

The combination of pH and lipase responsiveness is very prevalent in this field. For example, Shi et al. reported mixed-shell-polymeric-micelles (MSPM) composed of hydrophilic poly(ethylene glycol) (PEG) and lipase-degradable, pH-responsive poly(β-amino ester) (PAE) [33]. After entering acidic pathological sites, the PAE block was protonated and switched into positive, and thus enhanced the accumulation of nanocarriers, as well as the penetration of Triclosan, a hydrophobic antibiotic loaded in PAE cores. Once the micelles reached the internal of biofilm, the lipase secreted by bacteria decomposed the PAE cores and released the antibiotics loaded. This method for drug delivery and release provided novel ideas for improving commercial hydrophobic antibiotics therapies (Fig. 2a). Later, they further applied this strategy in the treatment of oral biofilms, using PEG-PAE with ester-linked Triclosan to build up self-assembled micelles [34]. Similarly, the micelles turned positive after entering the acidic microenvironment of biofilm, and the Triclosan was released under the catalyzation of lipase (Fig. 2b). The antibiofilm efficiency was fully demonstrated in a multi-drug-resistant S. aureus infection mice model and multi-species oral biofilms collected from orthodontic patients. The comprehensive research showed a promising prospective of this stimuli-responsive nanocarriers for clinical application.

Fig. 2
figure 2

Reproduced with permission from Ref. [33]. Copyright 2016, American Chemical Society. b Self-assemble micelles for oral biofilm treatment. Reproduced with permission from Ref. [34]. Copyright 2018, Elsevier

a Conversion of triclosan-loaded MSPM in biofilm microenvironment.

Similar idea was embodied in the work of Li et al., who designed size/surface charge adaptive micelles for drug delivery [35]. Antibiotic azithromycin was conjugated with block copolymers composed of PEG and poly (aspartamide) (PAsp), which self-assembled into micelles with positively charged surfaces. Subsequently, cis-aconityl-D-tyrosine (CA-Tyr) was anchored on the surface via electrostatic interaction, ultimately endowing nanocarriers DOEAz@Tyr with negative charges. In the acidic biofilms, the cis-aconityl linker was broken down and D-Tyr was released to disperse biofilm matrix first, leaving the positive charged micelles. The micelles further shrunk into smaller size to penetrate into biofilm better, where the azithromycin was released through lipase degradation. The antibiofilm efficiency was demonstrated both in vitro and in vivo using a catheter implantation model. More significantly, the pharmacokinetics of free drugs and micelles in rats were investigated, and the results indicated that DOEAz@Tyr had longer blood circulation time than free azithromycin, due to the enhanced accumulation at infection sites.

Cationic polymers with antibacterial property have also been proved promising for combating pathogenic bacteria, which could be further combined with enzyme-responsive polymers for preparation of many intriguing polymer nanomaterials [36, 37]. By using poly (ε-caprolactone (PCL) and quaternary as corresponding enzyme degradable shell and bactericidal core, a series of reverse polymer micelles (RMs) were synthesized by Xu et al. [38]. The PCL blocks in RMs were efficiently hydrolyzed in the presence of bacterial lipases, leading to the release of quaternary biocidal agents (QBAs). To exploit their application, the RMs were impregnated into commercial gelatin sponge (GS) (Fig. 3). Owing to the difference in bacterial outer membrane, the RM-coated GS showed better antibacterial properties toward gram-positive S. aureus and Bacillus subtilis than gram-negative P. aeruginosa.

Fig. 3
figure 3

Reproduced with permission from Ref. [38]. Copyright 2021, Wiley

Construction and self-sterilization of RMs-coated GS in infection site.

2.1.3 Other enzyme-responsive nanocarriers

Except the common HAS and lipases, other bacteria-secreted certain enzymes can also act as stimuli.

Gelatinases are extracellular proteases produced by bacteria, which are able to hydrolyze or decompose gelatin and are often associated with pathogenesis [39]. According to this, gelatinase-sensitive gelatin nanoparticles (GNPs) encapsulating chloramphenicol (CAM) were loaded into the matrix of microneedles patches, which was designed to treat Vibrio vulnificus biofilms [40]. During use process, the microneedles initially penetrated EPS and disrupt biofilm physically, and then the GNPs were degraded by gelatinase to leak CAM out (Fig. 4a). With this interesting microscopic structure to deliver antibiotic, the therapeutic performance of chloramphenicol was notably improved, and the off-target toxicity was reduced at the same time. This microneedle patch-assisted antibiofilm strategy shows great potential in treating skin superficial infections.

Fig. 4
figure 4

Reproduced with permission from Ref. [40]. Copyright 2019, American Chemical Society. b V8 enzyme induced release of Ag NPs and consequent death of S. aureus. Reproduced with permission from Ref. [41]. Copyright 2019, Royal Society of Chemistry

a Microneedles penetrate biofilms and release antibiotics in response to gelatinase.

Glutamyl endonuclease (V8) is an extracellular virulence factor of S. aureus, which can break down amid linkages. Based on this, Cai et al. established V8 enzyme-responsive nanoplatform using poly-L-glutamic acid (PG) as degradable motif [41]. The mesoporous silica loading Ag (Ag@MSN) was coated with PG and polyallylamine hydrochloride (PAH) through layer-by-layer assembly and deposited on the surface of Ti substrate, which is often used as orthopedic implants materials. Once the biofilm formed on the Ti implant, decomposition of PG led to the release of MSN-Ag, which could further continuously generate silver ions to kill bacteria (Fig. 4b). The highlight of this work is that PG has the potential for accelerating tissue regeneration, consistent with the practical application of the material. This ingenious design utilizes the two important functions of one component to precisely match the application scenario rather than simply combines two kinds of components with different functions together, obviously reducing the complexity of synthesis process.

Nowadays, bacterial drug resistance has become a serious problem all over the world. One of the major mechanisms of drug resistance is that bacteria produce enzymes to destroy conventional antibiotics. For example, β-lactamases are enzymes usually produced by bacteria to resist β-lactam antibiotics, such as penicillin and cephalosporin. β-lactamase from gram-negative bacteria can hydrolyze the amide bond in four-membered β-lactam [42]. Another similar enzyme related to bacterial resistance is penicillin G amidase (PGA), which catalyzes the hydrolysis of penicillin as its name implied [43]. As a consequence, selective drug release can be achieved using nanocarriers specifically degradable by these enzymes. Liu et al. developed the bacterial strain-selective nanocarriers for drug delivery to kill resistant bacteria [44], which was based on the amphiphilic diblock copolymers with enzyme-responsive property. Then, they self-assembled into micelles and loaded the antimicrobial agents into either hydrophobic bilayers or aqueous interiors. The antimicrobial agents were released by bacterial enzyme-cleavable self-immolative side linkages, rather than the degradation of the main chain. This design could avoid wide variation of micelles in degradation kinetics and release properties caused by the diversity of enzymes. The micelles were proved to be capable of carrying not only multiple antibiotics, but also large molecules such as proteins. Under the catalysis of enzymes, the terminal groups on the side chains of PEG-b-PP and PEG-b-PC were uncapped and spontaneously rearranged, resulting in morphological transition of micelles to release cargos. The degradation process of nanocarriers was investigated in detail in this work, revealing more mechanisms about enzyme-cleavage nanocarriers and providing valuable information for following research works.

By summarizing recent researches about enzyme-responsive nanocarriers, it can be concluded that most nanocarriers achieved responsive drug release through enzyme-degradable motifs, and many of them chose the commonly bacteria-secreted enzymes as stimuli, namely HAS and lipases, to realize broad-spectrum antibacterial purpose. However, the existing challenge is how to prove that the nanocarriers were decomposed by enzymes inside biofilms as they were supposed to be, rather by enzymes outside biofilms, because the surrounding normal tissue also had opportunities to trigger drug release by host enzymes with similar functions. Besides, with the discovery of the importance of probiotics, more attentions have been paid on selectively killing of pathogenic bacteria over probiotics, and therefore more intelligent and more targeted nanocarriers need to be constructed by rational choice of enzymes.

2.2 Other factors-responsive nanocarriers

GSH, a tripeptide present in many prokaryotic cells, is a water-soluble thiol performing important functions in bacteria, for example, protecting bacteria against environmental stresses, such as osmotic shock, toxins, acidity and oxidative stress [45, 46]. The concentration of GSH ranges from 0.1 to 10.0 mmol·L−1 in bacteria, so it can apparently be a stimulus for drug release [19]. Ji et al. developed a GSH-responsive antibiofilm nanosystem with gas and PDT synergistic therapy capacities [47]. α-cyclodextrin (α-CD) conjugated nitric oxide (NO) prodrug (α-CD-NO) and chlorin e6 (Ce6) prodrug (α-CD-Ce6) were integrated with pH-sensitive poly (ethylene glycol) (PEG) block polypeptide copolymers (PEG-(KLAKLAK)2-DA) through host–guest interaction, forming a supramolecular nanocarrier α-CD-Ce6-NO-DA. The negative charged nanocarriers could switch into positive charged ones under acidic microenvironment of biofilms, followed by the NO release under the stimulus of GSH in biofilms. NO can either destroy bacteria and biofilm structures by forming reactive nitrogen species (RNS) or induce biofilm dispersion by quorum signaling (Fig. 5). In addition, NO consumed GSH to increase the sensitivity of bacteria to oxidative damages of PDT and simultaneously generated RNS in the reaction with reactive oxygen species (ROS) from PDT. Owing to the combined therapy efficacy, the nanocarrier showed significant antibiofilm performances in vivo.

Fig. 5
figure 5

Reproduced with permission from Ref. [47]. Copyright 2020, American Chemical Society

Supramolecular nanocarrier α-CD-Ce6-NO-DA response to low pH and GSH and cascade reactions.

Some interesting nanocarriers were constructed based on chelation between bacterial products and the materials. Calcium phosphate (CaP) is reported to interact with cell walls of S. aureus, which may be caused by chelation of phosphate with the major endogenous metals in the cell walls of gram-positive bacteria. Therefore, CaP can be used as a nanocarrier modifier for targeting and responding to bacteria. Besides, liposomal carriers, which are frequently used in nanomedicine, release cargos once adhere on and fuse with peptidoglycan in gram-positive bacteria cell walls, greatly promoting the intracellular accumulation of drugs because release sites were very close to cytoplasm. Combining these two components together, 1,2-dioleoyl-snglycero-3-phosphate (DOPA) liposomes coated with CaP had the ability to target and adhere to S. aureus biofilms and release drugs near bacterial membranes [48]. The dispersion of the loaded drugs in liposomes and surrounding media was investigated using fluorescent drugs, acridine orange (AO) or 5,10,15,20-Tetrakis (1-methyl-4-pyridinio) porphyrin (TMP). The results demonstrated that the interactions between liposomes and bacteria could break down the CaP shells, thus causing the drugs release. It is therefore more accurate to say that the nanocarriers respond to the structural components of bacteria, rather than what they secreted. Although the antibacterial activity of nanocarriers was not investigated and authors did not develop particular application, this work expanded existing research scope of responsive nanocarriers.

Metal–organic frameworks (MOFs) are hybrid materials composed of metal ions or clusters and organic ligands, which are widely used in industrial and biomedicene fields, including catalysis, gas storage, nanomachine, biosensing and drug delivery [49]. MOFs with iron clusters are likely to degrade in the presence of bacterial siderophores, which scavenge iron extracellularly for bacteria, so iron-based MOFs have potential to become responsive nanocarriers as well [50, 51]. De Vos et al. compared the antibiofilm performances of MIL-88B(Fe) and its hydrophobic variant MIL-88B(Fe)PA, both loading antibacterial agent 5-(4-Chlorophenyl)-N-(2-isobutyl)-2-aminoimidazole (IMI) [52]. The results showed that MIL-88B(Fe) was stable in water and partially degradable in the presence of external iron chelators. The abilities to inhibit biofilm growth of both MOFs were examined. Upon the chelation by bacteria, MIL-88B(Fe) showed better biofilm inhibition than the hydrophobic MIL-88B(Fe)PA, while the latter was only effective with additional chelating agent. This was mainly because that MIL-88(Fe)PA had higher affinity with IMI and was more difficult to release IMI. Although these two MOF materials did not show significant antibiofilm performances, this work provided a new perspective about responsive nanocarriers and reminded researchers that higher drug loading capability is not equal to better performance.

3 Nanocarriers responsive to environmental factors

3.1 pH-responsive nanocarriers

Similar to tumors, the microenvironment of biofilm is also acidic due to the anaerobic fermentation caused by hypoxia in the interior of biofilms [23]. This characteristic motivates the development of lots of pH-responsive nanocarriers for biofilm treatments. Based on their mechanism, the responsive nanoparticles can be mainly classified into two categories: (1) protonable nanoparticles that undergo changes of physicochemical properties when surrounding pH varies; (2) acid degradable nanoparticles containing acid sensitive linkages in the structures. It is noteworthy that pH responsiveness often combines with other stimuli responsiveness and only a few of representative works are introduced here.

In both cancer and infections therapies, acid-induced protonation and charge reversal polymers are very common materials in the construction of pH-responsive nanocarriers. By properly designing, pH responsiveness can be achieved by surface modification of pre-prepared nanocarriers loading drugs or micelles formed from pH-sensitive polymers. The negative charge of nanoparticles before response is conductive to their circulation in the body fluid and reduces the nonspecific adhesion to proteins. When stimulated by the acidic environment of biofilm, the surfaces of the nanoparticles become positively charged, which facilitates their accumulation and penetration. This intelligent response improves the biocompatibility and accumulation at pathological sites of nanoparticles.

For example, Shi et al. designed hydrophilic mixed shell polymeric micelles (MSPMs) composed of copolymer poly (ethylene glycol)-block-poly(ε-caprolactone) (PEG-b-PCL) and poly(ε-caprolactone)-block-poly (β-amino ester) (PCL-b-PAE). MSPMs were proved to rapidly and completely changed their charges from negative to positive when pH dropped from neutral to slightly acidic [53]. Using this property, photosensitizer protoporphyrin IX (PpIX) was specifically delivered to the interior of biofilms. The results of in vitro and in vivo experiments showed that the surface charge adaptive nanocarriers were superior in the permeation and subsequent functioning of loaded drugs, as compared with the single shell polymeric micelles without pH responsiveness. It is worth mentioning that Van was used as a contrast to illustrate the effectiveness of the constructed nanocarriers in eradiating vancomycin-resistant Staphylococcal biofilms, further highlighting the advantages of nanomaterials over clinical available therapies. Another outstanding point is the preliminary study on the circulation and metabolism of drug-carrying micelles in murine model, which made a small but tangible contribution to the transformation of nanomaterials to clinical application.

The use of protonable polymers can not only be used for constructing charge reversal nanocarriers, but also for preparing nanocarriers that can be disassemble in acidic environment due to charge changes. For example, Ling et al. reported pH-responsive nanoantibiotics (rAgNAs) via self-assembly of acid-sensitive poly(ethylene glycol)-poly(aminopropyl imidazole-aspartate)-polyalanine (PEG-PSB-PALA) and silver nanoclusters [54]. The negative charges endowed rAgNAs with high colloidal stability, which is beneficial for its long circulation in the body and enhanced accumulation at the biofilm infection sites. In acidic microenvironment, the protonated imidazole groups of PEG-PSB-PALA increased the electrostatic repulsion between polymers, resulting in the nanocarriers disassembly with the release of silver nanoclusters (Fig. 6a). Moreover, in acidic medium, leaching of silver ions from nanobiotics was fast enough to achieve local bactericidal concentration. The biofilm eliminating functions of nanoparticles and free Van were also compared in this work in vitro and in vivo. The methicillin-resistant S. aureus (MRSA) was used as a model bacterium to highlight the superiority of nanoparticles over Van.

Fig. 6
figure 6

Reproduced with permission from Ref. [54]. Copyright 2019, American Chemical Society. b Preparation and antibiofilm mechanism of Ag@QAS@CM. Reproduced with permission from Ref. [55]. Copyright 2020, Elsevier

a pH-responsive nanoantibiotics rAgNAs disassemble and release silver clusters under low pH.

Nanocarriers that release drugs through decomposition in acidic environments generally have acid-unstable chemical bonds, for example, β-thiopropionate bonds. In the work of Zhang et al. [55], quaternary ammonium salt (QAS) containing polymers self-assembled into nanoparticles and cross-linked, introducing large amount of β-thiopropionate bonds. Thereafter, Ag NPs were encapsulated into pre-prepared nanoparticles to form micelles Ag@QAS@CM. The micelles could penetrate into the biofilm via electrostatic interaction between positively charged surface and negatively charged bacteria, followed by the release of Ag NPs and QAS fragments as bactericidal ingredients (Fig. 6b). The authors also used a commercial antibiotic for comparison, polyvinyl pyrrolidone protected AgNPs (P-AgNPs), and the results showed that Ag@QAS@CM had lower hemolysis rate and cytotoxicity than P-Ag NPs, but higher biofilm elimination efficiency than P-Ag NPs. Additionally, authors also proposed the existing problem in the future application of Ag NPs based on experimental phenomena, that is, the uncontrollable aggregation of Ag NPs.

In addition to structurally variable polymers, metal–organic materials can also be used as pH-responsive nanocarriers. Zeolitic imidazolate framework-8 (ZIF-8), an acid-labile MOF, has recently been widely explored as pH-responsive nanocarriers for therapy of cancers and bacterial infections, because of its simple synthesis and complete decomposition in acidic mediums [56, 57]. Besides, it can easily load a variety of drugs, including hydrophilic or hydrophobic small molecules, proteins, DNA and other biological macromolecules [58]. For instance, pH-responsive ZIF-8 nanocarriers for endophthalmitis were constructed with incorporated polyacrylic acid (PAA), ZIF-8-PAA [59], which further loaded ammonium methylbenzene blue (MB) as photosensitizer, and were decorated with Ag NPs and Van/NH2-PEG on the surface (Fig. 7a). The complex nanocarriers were demonstrated to degrade in the acidic biofilms as hypothesized and showed efficient antibiofilm abilities in endophthamitis animal model. The combination of powerful antimicrobial agents is similar to the cocktail of therapies used for HIV, which had excellent results unsurprisingly. However, the convoluted synthesis process and the tangled unknown interactions between each component may interfere with the translation into clinical application.

Fig. 7
figure 7

Reproduced with permission from Ref. [59]. Copyright 2019, Wiley. b Dual-responsive ZIF-8 nanocarriers for synergistic photothermal/pharmacological therapy. Reproduced with permission from Ref. [60]. Copyright 2021, Elsevier

a ZIF-8 based ZPMAVP applied for endophthalmitis treatment.

Another pH-responsive ZIF-8-based nanocarrier (Van@ZIF-8@PDA) was fabricated using similar strategy, loading Van as antibiotic and polydopamine (PDA) as photothermal agent [60]. The PDA was coated on the surface to improve the stability, dispersion and biocompatibility of ZIF-8 nanoparticles and the Van was encapsulated inside ZIF-8 in situ simply and rapidly (Fig. 7b). The nanocarriers possessed a dual responsiveness toward acidic environment and NIR-induced hyperthermia. Under both triggers, Van@ZIF-8@PDA showed effective antibiofilm ability in vitro and in vivo. Although ZIF-8 has many advantages, such as the ability to carry multiple drugs, modifiable sites on surface and the facile synthesis, it also has inherent disadvantage of easy degradation in phosphate buffer saline media and other common mediums in biological experiments, which raises questions about whether it is stable in vivo to realize multiple functions as it functions in vitro [61, 62]. Up to now, not enough research has been done to shed light on this question.

3.2 ROS-responsive nanocarriers

In addition to its well-known acidic properties, biofilm infection sites also have higher ROS level than surrounding tissue, mainly because mammalian phagocytes kill invading microorganisms by producing ROS, including superoxide, hydrogen peroxide, singlet oxygen, etc. [20]. Besides, recent researches demonstrated that bacteria also produce H2O2 to inhibit inflammasomes for their colonization in hosts [21]. These ROS can undertake various functions in stimuli-responsive nanocarriers. For example, Qu et al. constructed a nanoplatform containing the porphyrin-based MOF dots and MnO2 [22]. MnO2 component could be degraded by H+ and H2O2 in biofilm and catalyze the production of oxygen, alleviating hypoxia and facilitating PDT effect. Meanwhile, H2O2 served as trigger, as well as the auxiliary of PDT.

Additionally, H2O2 can also contribute to the release of drugs, as reported by Gong et al. [63]. They developed a dual-responsive nanoparticle to treat multi-drug-resistant (MDR) bacterial infections, using dextran as hydrophilic shell and poly(β-amino ester)-guanidine-phenylboronic acid (PBAE-G-B) polymer as hydrophobic core to encapsulate hydrophobic drug, rifampicin (Fig. 8). The dextran possessed strong affinity with lectins expressed in bacteria and macrophage, making nanoparticles accumulated at infection sites. Subsequently, the phenylboronic ester could be decomposed into 4-hydroxybenzyl alcohol and boric acid/ester due to the oxidation of B-C bond by ROS, and the hydrophilic PBAE-G-B polymer converted into hydrophilic PBAE-G polymer under low pH, leading to the fast drug release. The NPs showed significant biofilm and intracellular bacteria elimination performance, as well as excellent therapeutic effects in P. aeruginosa pneumonia and peritonitis caused by MRSA.

Fig. 8
figure 8

Reproduced with permission from Ref. [63]. Copyright 2021, Wiley

Composition and antibacterial mechanism of dual-responsive nanocarrier loading rifampicin.

4 Nanocarriers responsive to external stimuli

In addition to the substances produced inside or around biofilm infection sites, various exogenous energy can also trigger the drug release from rational designed nanocarriers. In these circumstances, the responsive behavior of nanocarriers is more controllable and precise because external stimuli are applied artificially.

4.1 Light or thermo-responsive nanocarriers

As a relatively inexpensive and convenient external stimulus, light is extensively used for controllable drug release from responsive nanocarriers with high spatial and temporal precision [64]. Particularly, light in near-infrared (NIR) region is suitable for treatment of biofilm infections as the longer wavelength has deeper tissue penetration and almost negligible harm to living organisms. Besides, NIR light can be transformed into heat by photothermal agents, thus can also act as a thermal trigger. This conversion is frequently used in light responsive materials because light is much easier to control than heat. In the work of Li et al., NIR-responsive liposomes loading antibiotics and NIR photothermal agent (cypate) were formed by thermos-sensitive phospholipid, distearoyl phosphatidylcholine (DSPC) and quaternized cholesterol [65]. The liposomes were stable at normal physiological temperature and could penetrate into biofilms via electrostatic interaction and deliver antibiotics to the inside (Fig. 9). Subsequently, the liposomes underwent the phase transition from gel to liquid due to the photothermal effect of cypate under the NIR laser irradiation, leading to the release of drug. Besides, the heat from cypate enhanced the permeability of bacterial cell membranes and further promoted the bactericidal activity of antibiotics. The experimental results verified that synergistic therapy eliminated pathogenic biofilms effectively both in vitro and in vivo.

Fig. 9
figure 9

Reproduced with permission from Ref. [65]. Copyright 2018, American Chemical Society

Liposomes for killing bacteria in biofilm by release of antibiotic tobromycin under NIR irradiation.

In addition to cypate, carbon quantum dots (CQDs) can transform NIR optical energy into heat as well. Besides, CQDs have been proved to possess significant drug loading ability, due to their large specific surface areas and the relatively stable interaction with various molecules. Based on these useful properties, Wan et al. incorporated azithromycin and tobramycin into CQDs and encapsulated CQDs into poly lactic-coglycolic acid (PLGA) [66]. The CQD-PLGA hybrid nanoparticles possessed high drug loading capacity and excellent photothermal performance. Temperature of hybrid nanoparticles could be raised to the glass transition temperature of PLGA under NIR laser irradiation for rapid drug release. However, the antibiotics were not released all at once, and the rest could be used for long-term therapeutics. Likewise, the increase in temperature facilitated the entry of drugs into bacteria. The antibiofilm ability of hybrid nanoparticles was demonstrated in vitro.

As mentioned above, NO has been widely regarded as an emerging antibacterial gas molecule. Up to now, many novel nanomaterials have been developed to deliver NO. For example, a multifunctional Fe3O4@PDA@PAMAM@NONOate nanocomposite, containing magnetic Fe3O4 clusters, photothermal agent PDA, cationic poly(amidoamine) dendrimers PAMAM and NO donor N-diazeniumdiolate (NONOate), was reported by Xue et al. [67]. Under 808-nm laser irradiation, Fe3O4 clusters and PDA generated heat to raise local temperature, which caused NO release from NONOate. The release of NO could be triggered on demand through intermittent laser irradiation, but weak spontaneous NO leakage was still inevitable (Fig. 10a). With synergistic therapeutic effects of photothermal and NO, the nanocomposites showed effective biofilm eradiation. Another novel feature of this work is that the strong electrostatic interaction between nanoparticles and bacteria was utilized to realize the highly efficient separation of bacteria under external magnetic fields, which was conductive to remove nanomaterials and bacterial debris from biological environment to reduce their potential toxicity.

Fig. 10
figure 10

Reproduced with permission from Ref. [67]. Copyright 2018, Wiley. b ICG released from MPDA and NO generated for synergistic antibacterial therapy. Reproduced with permission from Ref. [68]. Copyright 2020, American Chemical Society

a Synthetic route of Fe3O4@PDA@PAMAM@NONOate and its bacteria capture process.

As another NO producer, L-arginine (L-Arg) can produce NO upon ROS catalysis. Besides, ROS reacts with NO to generate highly harmful RNS, contributing to the bactericidal efficacy. It is predictable that the combination of PDT and NO therapy would result in enhanced biofilm elimination with mutual promotion. In the work of Cai et al., mesoporous polydopamine (MPDA) was modified with L-Arg and further loaded the photosensitizer indocyanine green (ICG) via π–π stacking [68]. Under NIR irradiation, the increased local temperature triggered the release of ICG from MPDA due to the disruption of thermo-sensitive noncovalent interaction between aromatic structures. ICG was then stimulated by NIR irradiation for ROS generation, destroying the biofilm components and making bacteria vulnerable to hyperthermia (Fig. 10b). Meanwhile, RNS was produced to enhance the therapeutic effect of PDT. Therefore, the bacteria within biofilms were synergistically and thoroughly killed by ROS, RNS and low-temperature (< 45 °C) photothermal therapy (PTT), which markedly reduced the potential thermal damage to surrounding tissues. This all-in-one phototherapeutic nanoplatform achieved multiple functions upon single NIR irradiation, presenting a safe, compact efficient strategy for biofilm treatment.

In some cases, UV light is also used to trigger the response of nanoparticles. For example, by anchoring azobenzene motif on two antibacterial amphiphilic tripeptides (Ala-Gly-Gly-OH and Gly-Gly-Ala-OH), two kinds of supramolecular peptide systems responsive to UV light were constructed [69]. The hydrophobic azobenzene changed into cis-form under UV irradiation, making the tripeptides more hydrophilic via the increased dipole moment. The photoisomerization led to the disassembly of supramolecular systems and thus released free peptides to combat bacteria and biofilms. Interestingly, after 2-h visible light irradiation, the cis-form azobenzene returned into its trans-form, and the structures of supramolecular systems were also recovered. The supramolecular assemblies formed by tripeptides and β-cyclodextrin were in dynamic equilibrium between assembly and disassembly, which would be destroyed by adamantine through host–guest interaction, namely the competitive replacement of β-cyclodextrin. The supramolecular assemblies showed antibacterial and antibiofilm abilities in vitro.

Additionally, UV light can also act as the first stimuli to trigger a series of reactions. 2-nitrobenzaldehyde (o-NBA), a pH-jump reagent, would generate acid in situ under the irradiation of UV light, converting light stimulus into pH stimulus. According to this, Han et al. encapsulated o-NBA and antibiotic rifampicin into ZIF-8, successfully turning the acid-decomposed ZIF-8 into light-triggered nanocarriers for rifampicin release [70]. The nanocarriers showed good bactericidal activity and biofilm eradication performance. This ingenious conception exploited more application of pH-responsive nanocarriers, broadening the mind of researchers significantly. Although the abovementioned works provided inspiration on developing new light-responsive nanocarriers, the usage of UV light is problematic for some practical applications, due to its shortcomings, e.g., limited penetration depth in tissue and undesired damage to human bodies. Of course, the potential medical applications of these strategies would be more extensive, if the UV light can be replaced by light with longer wavelengths.

4.2 Magnetic field and microwave-responsive nanocarriers

Formidable magnetic fields are able to penetrate into the whole human body, and according to this property, magnetic fields are widely used in modern medicine, for example, magnetic resonance imaging (MRI), which is universally used in the diagnosis of various diseases. Therefore, magnetic nanoparticles have the potential to target specific biofilm infection sites and further permeate protective biofilm matrix aided by the energy from external magnetic fields. Besides, they have been proved to cause local hyperthermia and/or mechanical forces, which have the potential to disrupt polymer materials and lead to drug release.

Zink et al. constructed a drug-delivery supramolecular nanocarrier H-MEL + G-OFL that could response to alternative magnetic fields (AMF), heat and bacteria [71]. In the presence of P. aeruginosa, heating and AMF, the nanocarriers released most of antimicrobial peptide melittin and antibiotic ofloxacin rapidly, while in the absence of these stimuli, only negligible leakage of cargos was observed during 7-days incubation, which indicated the stability of nanocarriers (Fig. 11). The nanoplatform showed high efficiency of biofilm elimination both in vitro and in vivo using an implantation model. This work offered a novel idea for construction of responsive nanocarriers for co-delivery of drugs with different distinct physical and chemical properties. Regrettably, the synthesis process was complicated, which may obstacle its clinical application.

Fig. 11
figure 11

Reproduced with permission from Ref. [71]. Copyright 2020, American Chemical Society

Preparation of H-MEL + G-OFL and its drug release in response to alternative magnetic fields.

Superparamagnetic iron oxide nanoparticles (SPIONs) have been proven to have antibacterial capability and regarded as a potential magnetically localizable therapy agent. The smaller the SPIONs are, the easier they can penetrate into biofilms, but the magnetic field positioning is also weakened. Additionally, the inherent hydrophobic SPIONs are difficult to disperse homogeneously in aqueous physiological media, greatly limiting the clinical application. To address these issues, Webster et al. encapsulated the hydrophobic SPIONs and hydrophilic methicillin into the cavity of polymersomes (iron oxide encapsulating polymersomes, IOP) [72]. In the treatment of methicillin-resistant Staphylococcus epidermidis biofilms, IOP with methicillin exhibited obviously enhanced penetration depth with the help of external magnetic field, thus giving rise to efficient biofilm elimination, as compared to free SPIONs and methicillin. This work improved existing magnetically localizable therapy for biofilms and weakened the resistance of biofilm to antibiotics via increasing drug penetration. However, the drawback was that the process of SPIONs and methicillin release from the nanocarriers was not further explored.

Additionally, the magnetic loss of iron oxide NPs is large enough to enable them to produce huge magnetico calor when excited by microwave (MV) via converting the MV energy to heat, which has been widely used for microwave caloric therapy (MCT). Combining the magnetic targeting and MCT, Wu et al. constructed a dual-targeting and MV-responsive nanocarriers for precise and synergistic therapy for combating MRSA-induced osteomyelitis (Fig. 12) [73]. Briefly, mesoporous iron oxide NPs were modified with dielectric carbon nanotubes (CNTs) with good MV absorption ability to obtain neural-network-like Fe3O4/CNT. Antibiotic gentamicin (Gent) was then encapsulated into nanocomposites Fe3O4/CNT for synergistic chemotherapy, and further integrated with 1-tetradecanol, a phase change material to control Gent release. The synthesized Fe3O4/CNT/Gent had selective and effective bacteria-capturing ability due to the strong interaction between nanocomposites and the amino groups on the bacteria surfaces. Upon external MV stimulation, Fe3O4/CNT/Gent increased local temperature to kill bacteria and induced the melting of 1-tetradecanol to release Gent, which greatly assisted the elimination of MRSA infection in deep tibial plateau efficiently. Moreover, the application of external magnetic field also concentrated pathogenic bacteria at the infection sites, largely avoiding the spreading of MRSA via blood and the consequent sepsis, as well as organ infections. This work utilized MV as a novel responsive trigger and demonstrated attractive results for treating deep tissue infections, showing inimitable superiorities and provided an encouraging alternative to visible light or NIR light-based phototherapy in clinical settings.

Fig. 12
figure 12

Reproduced with permission from Ref. [73]. Copyright 2020, Springer Nature

Bacterial capture and antibacterial mechanism of Fe3O4/CNT/Gent under microwave and external magnetic field.

In another example, Wu et al. further developed a Prussian blue (PB) MOF as a MV-responsive material, aiming at rapid therapy of osteomyelitis [74]. PB is a representative mesoporous MOF with excellent abilities to convert MV energy into heat and release iron ions. Because of the insertion of Na+, the release of Fe(II) and Fe(III) ions from PB was accelerated and the spin state of iron ions became irreversible. This resulted in the enhanced permeability of bacterial membranes to iron ions, which further activated the Fenton reaction to induce the bacterial death via the generation of highly harmful ·OH. The bactericidal mechanism of PB MOF was thoroughly investigated and illustrated. It is not surprising that synergy of MV, hyperthermia and oxidative damages showed remarkable antibacterial capability, offering a fast, noninvasive therapeutic method for deep tissue infections.

In general, external magnetic fields or microwave with strong penetration abilities have great potential to replace light in the treatment of deep tissue infections. For external magnetic field stimulus, it may guide the nanocarriers to precise location and concentrate them in the pathological sites, especially in vivo. However, due to its weak bactericidal capacity, synergistic therapies, such as chemotherapy, PDT or PTT, are often needed. In addition, another prominent feature of magneto-responsive nanocarrier is that they can capture and separate bacteria, reducing the adverse effects of bacterial debris and the risk of bacterial spread. For external microwave stimulus, MCT is often used to kill bacteria by heat, during which progress the potential side effects can also be minimized by synergy therapies. With rational design, these two stimuli can be united harmoniously for optimized biofilm treatments.

5 Summary and outlook

To date, nanomaterials have been widely developed and applied in biofilm infection treatments. Among them, stimuli-responsive nanocarriers have aroused mounting interests as they may solve the universal problems of conventional antibiotics or novel bactericidal agents, such as poor solubility or dispersity in water, difficulty in penetration into biofilms and low concentration in infection sites. Despite significant advances in this area, many challenges still remain for the development of stimuli-responsive nanocarriers. (1) The behaviors of most nanocarriers in physiological environments, especially in real infection sites, are not clear, mainly because the in-depth investigation is restricted by the lack of suitable instruments and characterization methods. Consequently, the effectiveness, safety and biocompatibility of many nanocarriers need to be demonstrated more deeply. (2) The responsive processes are mostly studied in the conditions with definite and tunable parameters in vitro, which is much different from the real and complex pathological conditions. Therefore, although the experiments in vitro and in vivo showed consistent efficient therapeutic results, the responsive processes in vivo need to be proved and illustrated substantially. (3) The intelligence and stability of stimuli-responsive nanocarriers should be further improved for targeting bacteria or biofilm infection microenvironments, with higher sensitivity and selectivity and lower drug leakages before the response. (4) The ingenious nanocarriers with multiple functions, such as diagnosing and imaging, are emerging as another rosy strategy for biofilm treatment, which need full utilization of characteristics of bacteria and biofilms. (5) Last but not least, the construction of nanocarriers should be largely simplified as possible for clinical translation and application.

Overall, the future of stimuli-responsive nanocarriers is undoubtedly promising for their great variety in potential properties and functions and irreplaceable advantages over conventional therapies. Also, we believe that the collaborative efforts from academic research, physicians and industrial production will foster the real-life clinical infection applications of stimuli-responsive nanocarriers in the near future.