"Swarm" is a science fiction novelette by Bruce Sterling, and his first magazine sale (his previous publications were either novels or anthology contributions). It was first published in The Magazine of Fantasy & Science Fiction in 1982, and later republished in the Sterling's 1989 collection Crystal Express as well as in numerous anthologies. "Swarm" was nominated for the Nebula, Hugo and Locus Awards. "Swarm" is the first published work in Sterling's Shaper/Mechanist universe. In 2022, "Swarm" was adapted as an animated short in Netflix's anthology Love, Death & Robots (vol III, episode 6).