In this paper we present our solution that brings artificial agents into the world of wireless sensor networks. Architecture of agent platform, which is implemented on individual nodes of such network, is also introduced and its functionality on the conceptual level is described. Important part of the platform is a module for an agent control language interpretation. Such language is an original low level control language called Agent Low Level Language (ALLL). Other modules are responsible for data logging, agent migration and for general control of the platform execution cycle.