The invention discloses an
intelligent agent-based automatic operation and maintenance method and
system, and relates to the technical field of
computer operation and maintenance, and the method comprises the steps: constructing an
intelligent agent comprising a data collection layer, a state sensing layer, a decision-making layer and an execution layer, the data collection layer collects IT
system multi-
source data, the state sensing layer analyzes the state of the data
sensing system, and the decision-making layer determines the state of the data
sensing system; the decision-making layer generates an operation and maintenance instruction based on a sensing result decision, and the execution layer executes the instruction; relevant knowledge of the IT
system is collected and sorted, and a
knowledge graph is constructed; the
intelligent agent is trained by using historical operation and maintenance data, the intelligent agent is enabled to try and explore in different environments through a
reinforcement learning algorithm, the behavior of the intelligent agent is continuously adjusted according to a feedback result, and a
decision model and an operation and
maintenance strategy of the intelligent agent are optimized; and the intelligent agent monitors the IT system in real time, starts the
data acquisition layer, the state sensing layer, the decision-making layer and the execution layer when detecting an abnormal event, and automatically executes corresponding operation and maintenance operation according to a decision-making result. According to the invention, stable and efficient operation of the IT system can be guaranteed.