This document discusses urban superorganisms and the SAPERE project. It describes how future cities could become superorganisms through tight coupling of humans and ICT that enables collective participation and action. The SAPERE project aims to define and implement a framework for adaptive service ecosystems in cities using nature-inspired and spatially-situated approaches. It proposes basic eco-laws and self-organization patterns to program applications and steer behaviors in this environment. There are still open challenges around engineering and programming tools, patterns of self-organization, and balancing top-down and bottom-up approaches.