Abstract. A mobile agent system for organizing multiple mobile agents is presented. It provides two unique two mechanisms for dynamically organizing mobile agents, which may be running on single or multiple computers. The first enables a mobile agent to contain other mobile agents inside it and migrate to another mobile agent or computer with its inner agents. It provides an approach to composing large-scale mobile software from a collection of mobile agents and using mobile agents as deployable software components. The second enables a mobile agent to be deployed at computers according to the movements of other mobile agents. It can move a federation of agents running on different computers, over a distributed system. It can build and aggregate distributed applications from one or more mobile components that can be dynamically deployed at mobile or stationary computers during the execution of the application. This paper also presents a prototype implementation of the system and its a...