Wireless Sensor Networks (WSN) are nowadays applied to a wide set of domains (e.g., security, health). WSN are networks of spatially distributed, radio-communicating, battery-powered, autonomous sensor nodes. WSN are characterized by scarcity of resources, hence an application running on them should carefully manage its resources. Applications running on WSN (namely, WSN App) and using sensors, must be adaptable to modify their behavior at run-time to respond to changes in the environment they run, to changes of the users' requirements or to changes occurring in the system itself. This talk will present a bio-inspired paradigm that mimics the cell lifecycle and uses the concept of membrane to define the border of a system adaptation. The adaptation is specifies by PROTEUS a language for reconfiguration plans. The talk will show the application of such a paradigm to WSN domain through the MAIA framework (FraMework for Adaptaptive wIreless sensor network Applications). MAIA provides components i) to model and analysis quality attributes (e.g., timing, performance and energy consumption) of AGILLA agents, ii) to generate AGILLA code from the provided models and to dynamically delivery the generated code on WSN. MAIA supports DevOps process for WSN App.