The invention discloses an agent configuration method and device based on front-end interaction and a medium, and relates to the technical field of computers.The method comprises the steps that a user interaction behavior is received through a front-end
interaction interface, the user interaction behavior is analyzed, and a corresponding response instruction is generated; executing the response instruction, creating a plurality of agent nodes, and configuring corresponding role information; determining a
task dependency relationship between the agent nodes, and constructing an agent node relationship graph through a preset task execution rule; receiving and analyzing a to-be-executed task, extracting required agent role information, determining to-be-executed agent nodes, and determining a to-be-executed sequence corresponding to the to-be-executed agent nodes according to the agent node
relation graph; and calling the agent models corresponding to the to-be-executed agent nodes in sequence, executing the to-be-executed task, and updating the state parameters. Through deep fusion of front-end
visual interaction and automatic process arrangement, the intuition and efficiency of the configuration process are improved.