This paper presents a two-leveled mobile agent system for electronic commerce. It is based on mobile agents as mediators and uses the publish/subscribe paradigm for registration and transaction processing. In the system we present, suppliers can connect, register or unregister to the system at any time, thus preserving the dynamic nature of the system. To reduce network load and the flow of unnecessary information in the product brokering part of the buying process, a rule based subscription methodology is used for necessary filtering operations. 1 Two-Leveled Mobile Agent System Our work consists of a framework for a large-scale electronic commerce system that uses the publish/subscribe paradigm and exploits mobile agent technology extensively. It not only supports activities of buyers and suppliers, but also facilitates parallel computation by running mobile agents on suppliers concurrently. Our electronic commerce system involves three actors. Buyers look for purchase services from ...