The invention provides an instant message inquiry type task
processing method based on multi-agent cooperation and a related device, and relates to the technical field of
artificial intelligence such as generative large language models and agents. The method comprises the steps of determining a to-be-solved target task according to
natural language input of a user; the target task is decomposed into a plurality of sub-target tasks at least including instant information inquiry tasks, each sub-target task is correspondingly issued to each sub-target agent at least including an instant information inquiry agent, and different sub-agents are used for
processing different types of sub-tasks; the instant information inquiry agent is controlled to inquire questions from the inquiry object to obtain instant feedback, and the instant information inquiry agent supports question inquiry in a background
operation mode; an associated sub-target agent in the multiple sub-target agents is controlled to generate a corresponding associated
processing result based on instant feedback output by the instant information inquiry agent, and the associated sub-target agent is a sub-target agent which depends on the instant feedback and serves as part of task input information; and determining a target processing result corresponding to the target task based on the association processing result. By applying the scheme, a better comprehensive task processing effect can be achieved under the condition that the comprehensive cost is lower, and in particular, an instant information inquiry task which needs to be combined with the instant information to verify whether the actual situation meets the task requirement or not and takes the
verification result as instant feedback is obtained; in addition, the instant information inquiry agent also supports question inquiry (namely asynchronous task processing) in a background
operation mode, so that the user does not need to stay in a session interface all the time, and other operations of the user are not influenced.