1) Humans should be an integral part of interactions in the Internet of Things, not just observers. Mobile agents can enable thing-to-thing, human-to-thing, and human-to-human interactions in a decentralized way. 2) The document proposes using mobile agents and near field communication to build a system where users are in control of tasks and interactions between devices, sensors, and other users. 3) A prototype was implemented to demonstrate the feasibility of using mobile agents encapsulated in messages to facilitate interactions between various components in the Internet of Things.