This invention provides a task execution method based on an
intelligent agent, relating to the field of
artificial intelligence technology. The method includes: generating an
execution plan based on a task description of the task to be processed; the
execution plan includes multiple sub-steps with an execution order, and each sub-step has a corresponding sub-step description; for each target step, using the target step description corresponding to the target step, determining the tool to be invoked from a preset tool
library and retrieving
reference memory data from memory data; invoking the tool to be invoked based on the
reference memory data, obtaining the tool invocation result; if the tool invocation result is invalid, obtaining the invocation
diagnostic data of the tool to be invoked, using the invalidity type therein, updating the
execution plan to a new execution plan, and executing the task to be processed according to the new execution plan. The tool invocation result is verified; if invalid, the execution plan can be flexibly adjusted according to the specific invalidity type to ensure the normal execution of the task, thereby improving the success rate of task execution.