The invention provides a task execution method based on an
intelligent agent, and relates to the technical field of
artificial intelligence. The method comprises the steps that an
execution plan is generated based on task description of a to-be-processed task, the
execution plan comprises a plurality of sub-steps with an execution sequence, and each sub-step has a corresponding sub-step description; aiming at each target step, determining a tool to be called from a preset tool
library by utilizing target step description corresponding to the target step, and retrieving
reference memory data from the memory data; calling the to-be-called tool in combination with the
reference memory data to obtain a tool calling result; and if the tool calling result is invalid, acquiring calling diagnosis data of the tool to be called, updating the
execution plan into a new execution plan by utilizing an invalid type in the calling diagnosis data, and executing the task to be processed according to the new execution plan. When the tool calling result is invalid, the execution plan can be flexibly adjusted according to the specific invalid type, normal execution of the task is ensured, and then the success rate of task execution can be increased.