Bubbles, jets, and clouds in active galactic nuclei