Agent Hierarchy System managerial model of business enterprise based on roles to express
the relationship of agents in the cooperation and communication. Thus, the knowledge, protocol and relation
can be easily described by the role, which corresponds to each agent. The model can improve the flexibility
of the system and strengthen the sensitivity to the surroundings. At last, an application in finding the
best sale products was introduced. The results show that the role system is practically efficient and interactive