Accord is an important operation in the mechanism design for multi-agent systems and consequently to applications built for these environments , such as ad hoc networks, virtual organizations, and decision-support tools for smart production systems. Much attention has been given to designing the process for resisting manipulation by strategic voting and decentralized control. The emphasis is on local decision-making based on locally available information and perception of events occurring locally. This manuscript presents a secure decision-support algorithm in a multi-agent system. The proposed consensus-based model serves multiple purposes in production planning and control, supply chain management , and product design and development. In particular, we describe decision-making, the selection of a leader, and the exploitation of limited resources. The importance of the proposal is to ensure robustness in a specific way; in which, decisions are carried out considering that the system is open, which means that the number of agents present is variable at each process. Our model is based on that a group of agents makes different decisions in a task, then the algorithm chooses one of these decisions logically, safe, efficient, and fast and stays away from emotional decisions even in dealing with the decisions of others that affect production.