Location awareness and mobility are main factors in pervasive computing. There is a lot of work focusing on develop location aware applications. Generalizing from location awareness is the notion of mobile virtual communities which users enter or leave, analogous to pushing or popping items on or off a stack. The multiagent paradigm is suitable for modeling distributed systems and can help reduce the complexity of system design. In this paper, we introduce a prototype for the community stack concept that is based on the multiagent paradigm.