Mobile software agents are increasingly identified as suitable for developing pervasive applications. This paper presents a novel approach to compose adaptive mobile agents. The proposed agents are context-driven, adaptive, component-based and are able to exchange their capabilities with peer agents. The approach requires a flexible, lightweight and standardized component model. We describe the proposed agent system, issues related to selection of a component model, implementation and future research issues.