Context Complex landscapes with high resource availability can support more diverse natural enemy communities and better natural pest control by providing resources and facilitating organism dispersal. Moreover, in agricultural landscapes, local agroecosystem management can support biodiversity maintenance and pest control by adding resources in less complex landscapes with fewer resources. However, we lack an understanding of how local and landscape factors interact to affect natural enemy communities and their site fidelity to agroecosystems in urban landscapes (i.e., cityscapes). Objective To better understand how local and landscape factors influence natural enemies in urban agroecosystems, we used urban community gardens as a model system to test if and how local resource manipulation and differences in cityscape quality affect natural enemy (ladybird beetles, parasitoid wasps) communities and their fidelity to urban habitats. Methods We performed two manipulations. First, we added local floral resources in 6 of 12 gardens situated in different cityscapes to measure differences in natural enemy biodiversity. Second, in those 12 gardens, with and without resource additions, we manipulated populations of a common natural enemy, Hippodamia convergens, to assess fidelity to the gardens. Results Floral resource additions increased parasitoid abundance and changed community composition, but had little effect on ladybeetle abundance, richness or site fidelity. Rather, ladybeetle fidelity to gardens was lower in gardens in low quality cityscapes with high impervious cover. Conclusions Cityscape quality influences natural enemies in and fidelity to gardens. Landscape-moderated biodiversity patterns observed in rural landscapes likely differ from urban contexts with implications for pest control.