**Abstract**

Agent-based control systems composed of simple locally interacting controller agents with demonstrated complex group behaviour. There have been relatively few implementations of agent-based control systems, mainly because of the difficulty of determining whether simple controller agent strategies will lead to desirable collective behaviour in a large system. The aim of this chapter is to design an agentbased control system for sets of 'clustered' controller agents through proposed directed communication graph approach as potent tool for the Industry 4.0. To reach global coordination with focus on real world applications, we use cluster algorithm technique in a set of rules for assigning decision tasks to agents. The outcomes include behavioural pattern, trend of agents and multi-agents usage in rail manufacturing enterprise resource planning and supply chain management. The results of this study showed that the combination of multi-agent system has ability to interact effectively and make informed decision on the type of maintenance actions, resource planning, train arrival times, etc.

**Keywords:** agent-based control systems, directed communication graph, Industry 4.0, fuzzy-PID controller, open architecture
