A long-time sequence agent enhanced embodied intelligent control method and system

By employing a hierarchical collaboration between long-term memory retrieval and task planning agents and low-level action control models, the problem of contextual memory and dynamic adjustment of embodied agents in long-term tasks is solved, achieving the coherence and stability of task execution and improving the robustness and adaptability of complex tasks.

CN123159401APending Publication Date: 2026-11-24GAYI BRAIN (SHANGHAI) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611666690.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-27
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing embodied intelligent control technology suffers from problems such as limited context memory, insufficient task phase management, inadequate feedback between high-level planning and low-level execution, difficulty in correcting accumulated errors, and insufficient adaptability to dynamic environments in long-term complex tasks, leading to discontinuous task execution and failure.

Method used

A hierarchical collaborative approach is adopted, which involves long-term memory retrieval, task planning agent, and low-level action control model. By acquiring current observations and task instructions, the task is parsed and decomposed. The long-term memory module is used to retrieve historical information to generate high-level action targets. The task planning and memory modules are updated by execution feedback information to achieve dynamic adjustment and replanning.

Benefits of technology

It improves the contextual coherence, goal clarity, and phase manageability of long-term tasks, enhances the synergy between high-level planning and low-level control, and improves the dynamic adjustment capability and the stability and security of task execution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159401A_ABST
    Figure CN123159401A_ABST
Patent Text Reader

Abstract

This invention discloses a long-term intelligent agent-enhanced embodied intelligence control method and system. The method includes the following steps: S1, acquiring current observations and task instructions; S2, performing task parsing and decomposition based on the current observations and task instructions; S3, retrieving historical memory information from the long-term memory module; S4, generating high-level action goals by the task planning agent; S5, generating control instructions by the low-level action control model and controlling the embodied agent to execute them; S6, determining the current task stage and execution status; S7, updating the planning parameters of the long-term memory module and / or the task planning agent; S8, determining whether the task is completed, safely terminated, or needs to be replanned. This invention achieves contextual coherence, dynamic adjustment, and stable execution of long-term tasks through long-term memory retrieval, hierarchical collaboration between the task planning agent and the low-level action control model, and execution feedback updates and replanning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of artificial intelligence, robot control, embodied intelligence, and intelligent agents, and specifically to a long-term intelligent agent-enhanced embodied intelligence control method and system. Background Technology

[0002] With the development of artificial intelligence, robot control, and embodied intelligence technologies, robot systems are gradually moving from traditional structured industrial scenarios into unstructured, dynamic, open, and real-world application environments requiring continuous interaction. In traditional industrial production lines, the tasks faced by robots are usually relatively fixed, and the position, shape, process, and environmental conditions of the manipulated objects are relatively stable. Robots can complete tasks by relying on pre-programmed procedures, fixed trajectories, and rule-based control. However, in scenarios such as service robots, security inspection robots, special-operation robots, and flexible object manipulation, the tasks faced by embodied intelligent agents are often characterized by multiple steps, long durations, frequent state changes, and high environmental uncertainty. Relying solely on fixed rules or short-cycle perception and control methods is insufficient to reliably complete these tasks.

[0003] An embodied intelligent agent is an intelligent system that possesses environmental perception, task understanding, and action execution capabilities, and can interact with the external environment through its own body. Long-sequential tasks refer to tasks that cannot be completed in a single step but require multiple consecutive stages, multiple action decisions, and multiple state feedbacks. Taking the task of safely opening a suspicious package as an example, the embodied intelligent agent needs to first identify the package's position and posture, then determine the zipper area, subsequently control one robotic arm to stabilize the package, while the other robotic arm approaches the zipper, grips the zipper head, and pulls along the zipper trajectory. It must readjust its actions if slippage, jamming, positional deviation, or package deformation occurs. This task is not a simple short-cycle task of "directly executing actions after seeing the target," but a long-sequential task involving multiple stages such as package identification, target localization, dual-arm coordination, gripping confirmation, continuous pulling, anomaly detection, and recovery adjustment. In such tasks, the execution result of the previous stage directly affects the actions of the next stage. For example, whether the package is stably fixed affects the success of zipper gripping, and whether the zipper head is truly gripped affects whether it can be safely pulled subsequently. Therefore, an embodied intelligent agent needs to continuously remember the current task progress, historical execution state, and stage switching conditions throughout the entire execution process, rather than directly generating actions based solely on the current visual image or the current instantaneous state.

[0004] Among existing embodied intelligent control technologies, a common approach is end-to-end control. End-to-end control refers to inputting visual images, sensor data, or task commands into a model, which then directly outputs robot action commands, such as the direction of movement of a robotic arm's end effector, gripper opening and closing commands, or robot speed commands. This type of method typically utilizes deep learning models to learn the mapping relationship between "perception and action" from a large amount of demonstration or interactive data, showing some effectiveness in short-cycle tasks such as grasping, moving, pressing, and placing. For example, the Robotics Transformer (RT) model attempts to unify the modeling of images, task commands, and robot actions to achieve multi-task control of real robots. RT-1 emphasizes large-scale multi-task action learning for real robot control, while RT-2 further transfers visual language knowledge to robot action control, representing a visual language action model approach. While these end-to-end control schemes enhance the robot's direct learning ability from perception to action, they still have certain shortcomings in long-term complex tasks. First, end-to-end models are typically better at generating actions based on current observations within a local time window, but have limited ability to preserve and utilize long-term historical information. Second, when a task involves multiple stages, the model needs to simultaneously complete stage judgment, target selection, action generation, and anomaly handling, resulting in high task complexity and a tendency for stage confusion or disjointed actions. Third, when deviations in early steps accumulate, the model may struggle to retrospectively trace the causes and correct subsequent plans, leading to task failure in the latter half. Therefore, while end-to-end control methods are suitable for some short-cycle closed-loop tasks, they still have limitations in long-term tasks requiring continuous memory, staged reasoning, and dynamic adjustment.

[0005] Another existing approach involves introducing large-scale language models or visual language models into the robotic system for high-level task planning. Large-scale language models refer to AI models trained on large-scale text data, possessing language understanding and reasoning capabilities; visual language models refer to models capable of simultaneously understanding image and text information. This type of approach typically involves a high-level model generating task steps based on user instructions and environmental descriptions, followed by lower-level control modules executing the specific actions. For example, the SayCan method combines the high-level semantic knowledge of a large-scale language model with the robot's action capabilities, requiring the task steps proposed by the language model to simultaneously satisfy both "semantic rationality" and "the robot's actual ability to perform the action." The PaLM-E model, on the other hand, inputs language, visual, and robot sensor information into an embodied multimodal model for various embodied reasoning tasks. These high-level planning methods can improve the embodied agent's understanding of complex instructions and task semantics, but most existing solutions still relatively separate high-level planning from low-level control. The high-level model typically outputs discrete task steps or sub-goals, while the low-level control model is responsible for executing specific actions, lacking sufficiently tight state feedback and dynamic adjustment mechanisms between the two. When the actual execution deviates from the high-level plan—for example, due to changes in target position, gripping failure, incomplete task phases, or new environmental occlusions—the high-level plan often fails to update in a timely manner based on the low-level execution status. The low-level control model may also fail to accurately understand the high-level intent, leading to task interruptions or unstable step transitions. Furthermore, some high-level planning methods rely on verbal descriptions or static scene information, underutilizing visual changes, bodily states, and tactile feedback during continuous robot execution.

[0006] Another type of existing solution employs hierarchical control or hierarchical reinforcement learning methods. Hierarchical control typically breaks down complex tasks into two levels: high-level decision-making and low-level control. The high-level level is responsible for selecting sub-tasks or objectives, while the low-level level is responsible for generating specific actions. This type of method has certain advantages in decomposing long tasks, reducing the difficulty of directly learning long sequences of actions using a single policy. However, traditional hierarchical control methods usually rely on manually designed sub-task boundaries, fixed state machines, or preset switching rules, resulting in limited intelligence. If the actual environment changes, or the boundaries between task stages are not clear, the system may have difficulty accurately determining which stage it should be in, and it may also have difficulty adjusting the task plan in a timely manner based on historical execution information. For long-sequence operations such as zipper opening, there are continuous transitions and mutual influences between stages, and simple state machines or fixed sub-task divisions are insufficient to cover all possible situations.

[0007] Existing technologies also include robot control methods that utilize memory mechanisms or historical information for modeling, such as recurrent neural networks, historical observation windows, or motion trajectory caching, enabling the model to utilize historical information within a certain time range. These methods can improve the problem of insufficient information when relying solely on current observations; however, most methods can only save continuous states for a short period, lacking the ability to structure and retrieve key events, stage results, and reasons for failure in long-span tasks. For example, in a zipper-opening task, a robot needs to remember task semantic information such as the bag being fixed, the zipper head failing to grasp the target the previous time, and the right gripper approaching the target but at an inappropriate angle. This information is not just continuous sensor values ​​but also includes task stages, action results, and decision-making basis. Ordinary historical windows or recurrent models struggle to stably save and retrieve the context of such long-term tasks.

[0008] In summary, existing technologies suffer from the following shortcomings: First, their contextual memory capabilities are limited, making it difficult to save and retrieve key historical information from long-term tasks; second, their task phase management capabilities are insufficient, leading to phase confusion, duplicate execution, or erroneous jumps; third, there is insufficient feedback between high-level task planning and low-level action execution, making it difficult to adjust task plans in a timely manner based on execution results; fourth, there is a lack of continuous tracking and correction mechanisms for accumulated errors in long-cycle tasks; and fifth, their adaptability to dynamic environmental changes and unknown states is insufficient, making it difficult to maintain continuous and stable task execution capabilities in complex interactive scenarios. Therefore, how to enable embodied intelligent agents to maintain task contextual coherence in long-term, multi-stage, and dynamically changing tasks, and to dynamically adjust subsequent actions based on environmental feedback, has become a pressing technical problem to be solved in this field. Summary of the Invention

[0009] To overcome the shortcomings of the prior art, one of the objectives of this invention is to provide a long-term intelligent agent-enhanced embodied intelligent control method, which achieves contextual coherence, dynamic adjustment and stable execution of long-term tasks through long-term memory retrieval, hierarchical collaboration between task planning agents and low-level action control models, and execution feedback updates and replanning.

[0010] To achieve one of the objectives of this invention, the following solution is adopted: A long-term intelligent agent enhanced embodied intelligence control method includes the following steps: S1. Obtain current observations and mission instructions; S2. Perform task analysis and decomposition based on the current observation and the task instructions to obtain task analysis results, which include task objectives and multiple task stages. S3. Based on the task parsing results and the current observation, retrieve historical memory information from the long-term memory module; S4. The task planning agent generates a high-level action target based on the current observation, the task parsing result, and the historical memory information. S5. The low-level action control model generates control commands based on the high-level action target and controls the embodied intelligent agent to execute them. S6. Obtain the execution feedback information after the embodied intelligent agent has executed the task, and determine the current task stage and execution status based on the execution feedback information; S7. Update the planning parameters of the long-term memory module and / or the task planning agent according to the execution feedback information; S8. Determine whether the task is completed, terminated safely, or needs to be replanned based on the execution status and / or the updated planning parameters. If replanning is required, return to step S4. If the task is not completed and does not trigger safe termination, return to step S1 to enter the next control cycle.

[0011] Further, in step S1, the current observation includes environmental information and robot body state, and the current observation is time-aligned, denoised, coordinate transformed, data fused and confidence calculated to obtain the current environmental state and robot body state; In step S2, the task objective, operation object, execution location, task completion conditions, and safety constraints are determined based on the task instruction, the current environmental state, the robot body state, and the pre-set task constraints. Decompose long-sequence tasks into multiple task phases with sequential relationships, determine the dependencies between task phases, and build a task graph. Each task phase includes the target state, allowed actions, expected duration, completion criteria, and handling of failure.

[0012] Furthermore, in step S3, the historical memory information is retrieved from the long-term memory module by using the task parsing results and the current observation to form memory retrieval conditions; The long-term memory module includes at least episodic memory, semantic memory, and skill memory; The contextual memory is used to record historical observations, decisions, actions, and results during the execution of historical tasks; the semantic memory is used to preserve environmental patterns, object attributes, and task-related knowledge; and the skill memory is used to preserve reusable operation procedures or action sequences. The historical memory information retrieved from the long-term memory module includes: The relevance of candidate historical memories is calculated by combining vector similarity, keyword matching, time decay, and task relevance. The historical memory information is obtained by screening historical scenarios, semantic knowledge, and skills and experiences that are highly relevant and credible, and filtering out duplicate content and content with low credibility.

[0013] Further, in step S4, the task planning agent performs context fusion and hierarchical planning based on the current observation, the task parsing result, and the historical memory information to obtain agent context information and high-level action targets; The hierarchical planning includes: A high-level task plan spanning multiple time periods is developed based on the relationship between the overall task objectives and task phases, determining the execution sequence, switching conditions, and required resources for each task phase. For the current task phase, a local action plan is generated based on the current environmental state, resulting in at least one action candidate including move, grab, place, wait, and retry, and the execution confidence and expected risk of each action candidate are evaluated.

[0014] Furthermore, in step S5, before the control command is generated by the low-level motion control model, the action candidate corresponding to the high-level motion target is constrained and verified. The constraint verification includes: The motion candidate is subjected to safety verification based on at least one of the following: kinematic constraints, collision constraints, speed limits, torque limits, restricted areas, and safe distance between humans and robots. Action candidates that do not meet the preset constraints are removed from the candidate set and replanned; The target action that meets the preset constraints is converted into the control quantity corresponding to the joint, mobile chassis or end effector of the embodied intelligent agent, and sent to the execution mechanism of the embodied intelligent agent according to the preset control cycle.

[0015] Further, in step S6, the actual state after the embodied intelligent agent has executed is obtained, and the actual state is compared with the target state corresponding to the current task stage to obtain the execution feedback information and task progress evaluation result; the execution state includes at least one of task completion, partial completion, task failure, and environmental change; When the difference between the execution feedback information and the expected target meets the expectation, the subsequent task stage continues to be executed. When a task failure or environmental change is detected, a failure recovery process is initiated, which includes: Based on the execution feedback information, locate the cause of task failure or plan failure, roll back to the nearest recoverable task node, retrieve the relevant historical information in the long-term memory module again, and generate a revised task plan and action plan based on the new environmental state. Then, return the revised task plan and action plan to step S5.

[0016] Further, in step S7, the task planning agent uses the execution feedback information to update the long-term memory module and the planning parameters of the task planning agent to obtain the updated long-term memory information and the updated planning parameters. Updating the planning parameters of the long-term memory module and the task planning agent includes: The observation information generated during the current task execution process, the decisions of the task planning agent, the robot's actions, the execution results, and the reasons for failure are combined into time-stamped interactive segments and written into the long-term memory module. Increase the credibility of historical experience that is repeated and has stable execution results, and decrease the credibility of conflicting or invalid historical information and mark it as invalid. Forming or updating episodic memory, semantic memory, and skill memory; Based on the execution feedback information, the relevance weights of subsequent memory retrieval, the execution priority of the task stage, and the sorting parameters of action candidates are adjusted.

[0017] Furthermore, it also includes task phase management, specifically: Based on the current observation, the execution feedback information, and the task objective, determine the current task stage and whether the task stage switching conditions are met. The task phase includes at least one of the following: package identification, package fixation, zipper positioning, zipper clamping, zipper pulling, anomaly recovery, and task completion determination; When determining the current task stage, avoid repeatedly executing completed task stages, prematurely jumping to task stages that do not meet the switching conditions, or omitting critical task stages.

[0018] Furthermore, it also includes dynamic reprogramming, specifically: When the target position changes, the posture of the manipulated object changes, occlusion occurs, the manipulated object deforms, the robot's actions do not meet expectations, or the environmental state changes during the execution process, the task planning agent combines the current observation and the historical memory information to re-determine the task state and adjust the subsequent high-level action targets, and executes at least one of the following: task phase rollback, sub-target reselection, action sequence resampling, or replanning.

[0019] The second objective of this invention is to provide a long-term intelligent agent-enhanced embodied intelligent control system, which achieves contextual coherence, dynamic adjustment and stable execution of long-term tasks through long-term memory retrieval, hierarchical collaboration between task planning agents and low-level action control models, and execution feedback updates and replanning.

[0020] To achieve the second objective of this invention, the following solution is adopted: A long-term intelligent agent enhanced embodied intelligence control system, comprising: The observation acquisition module is used to acquire current observations and task instructions; The task parsing and decomposition module is used to parse and decompose the task based on the current observation and the task instruction to obtain the task parsing result, which includes the task objective and multiple task stages. Long-term memory module, used to store historical memory information; The memory retrieval module is used to retrieve historical memory information from the long-term memory module based on the task parsing results and the current observation; The task planning agent module is used to generate high-level action targets based on the current observations, the task parsing results, and the historical memory information. The low-level action control module is used to generate control commands based on the high-level action target and control the embodied intelligent agent to execute them; The execution feedback module is used to obtain execution feedback information after the embodied intelligent agent has executed the task, and to determine the current task stage and execution status based on the execution feedback information. A memory update module is used to update the planning parameters of the long-term memory module and / or the task planning agent module based on the execution feedback information. The task judgment module is used to determine whether the task is completed, safely terminated, or needs to be replanned based on the execution status and / or updated planning parameters; if replanning is required, the task planning agent module is triggered; if the task is not completed and safe termination is not triggered, the observation acquisition module is triggered to enter the next control cycle.

[0021] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. This invention can improve the contextual coherence during the execution of long-term tasks. By retrieving historical memory information from the long-term memory module based on task parsing results and current observations, the embodied agent can not only utilize current observations but also call upon historical execution information in long-term tasks, avoiding reliance solely on current observations for decision-making, thereby helping to maintain the continuity and contextual consistency of task execution.

[0022] 2. This invention can improve the goal clarity and phase manageability of long-term tasks. By parsing and decomposing the task based on current observations and task instructions, a task parsing result including the task goal and multiple task phases is obtained, enabling the embodied agent to clearly understand the overall task goal and the multiple phases contained in the task, providing a structured basis for subsequent task planning and action execution.

[0023] 3. This invention enables hierarchical collaboration between high-level task planning and low-level action control. The task planning agent generates high-level action goals based on current observations, task analysis results, and historical memory information. The low-level action control model generates control commands based on the high-level action goals and controls the embodied agent to execute them. This separates task planning from specific action control, reduces the control difficulty of long-term complex tasks, and improves the coherence and stability of action execution.

[0024] 4. This invention enables the formation of an execution feedback-driven update mechanism. By acquiring execution feedback information after the embodied agent has executed the task, and determining the current task stage and execution status based on the execution feedback information, the system can promptly understand the progress of task execution. By updating the planning parameters of the long-term memory module and / or the task planning agent based on the execution feedback information, subsequent task planning can utilize the latest execution results, improving the system's adaptability to actual execution conditions.

[0025] 5. This invention enhances the dynamic adjustment and replanning capabilities in long-term tasks. By determining whether a task is completed, safely terminated, or requires replanning based on its execution status and / or updated planning parameters, and by returning to the task planning agent to regenerate high-level action goals when replanning is required, the embodied agent can adjust subsequent action plans when task execution deviates from expectations, reducing task interruptions or failures caused by execution deviations.

[0026] 6. This invention enables continuous closed-loop execution of long-term tasks and improves security. When a task is not completed and a safe termination is not triggered, the system returns to retrieve current observations and task instructions to enter the next control cycle, allowing the system to continuously execute tasks over long periods. When a safe termination is triggered, the task stops, preventing continued execution under abnormal or risky conditions, thereby enhancing the embodied agent's continuous execution capability, adaptability, and security in long-term tasks. Attached Figure Description

[0027] Figure 1 This is a flowchart of the long-term intelligent agent enhanced embodied intelligence control method in an embodiment of the present invention; Figure 2 This is a schematic diagram of the long-term intelligent agent enhanced embodied intelligence control method in an embodiment of the present invention; Figure 3This is a block diagram of the long-term intelligent agent enhanced embodied intelligent control system in an embodiment of the present invention. Detailed Implementation

[0028] The present invention will now be further described in conjunction with the accompanying drawings and specific embodiments. It should be noted that, without conflict, the various embodiments or technical features described below can be arbitrarily combined to form new embodiments.

[0029] Terminology Explanation: Embodied intelligent agents: Intelligent systems that possess environmental perception, task understanding, and action execution capabilities, and can interact with the external environment through the robot body, such as dual-arm robots, mobile robots, service robots, and special-purpose robots.

[0030] Long-sequence tasks: Tasks that cannot be completed in a single step, but require multiple consecutive stages, multiple action decisions, and multiple state feedbacks to complete.

[0031] Enhanced embodied intelligent control: In the control process of embodied intelligent agents, a task planning intelligent agent with the ability to understand tasks, decompose tasks, determine stages, manage historical states, and generate action goals is introduced, so that the embodied intelligent agent can maintain the continuity of the task context during a long execution process and dynamically adjust subsequent actions according to environmental feedback.

[0032] Example 1 like Figures 1-2 As shown, this embodiment of the invention provides a long-term intelligent agent enhanced embodied intelligence control method, including the following steps: S1. Obtain current observations and mission instructions.

[0033] S2. Based on the current observation and the task instruction, perform task analysis and decomposition to obtain task analysis results, which include task objectives and multiple task stages.

[0034] S3. Based on the task parsing results and the current observation, retrieve historical memory information from the long-term memory module to obtain historical memory information.

[0035] S4. The task planning agent generates a high-level action target based on the current observation, the task parsing results, and the historical memory information.

[0036] S5. The low-level action control model generates control commands based on the high-level action target and controls the embodied intelligent agent to execute them.

[0037] S6. Obtain the execution feedback information after the embodied intelligent agent has executed the task, and determine the current task stage and execution status based on the execution feedback information.

[0038] S7. Update the planning parameters of the long-term memory module and / or the task planning agent based on the execution feedback information.

[0039] S8. Determine whether the task is completed, terminated safely, or needs to be replanned based on the execution status and / or the updated planning parameters. If replanning is required, return to step S4. If the task is not completed and does not trigger safe termination, return to step S1 to enter the next control cycle.

[0040] The following is a further detailed description of the long-term intelligent agent enhanced embodied intelligence control method according to embodiments of the present invention.

[0041] The long-term intelligent agent-enhanced embodied intelligent control method of this invention does not simply use an end-to-end model to directly output actions, nor does it generate a one-time task plan solely from a large language model. Instead, it introduces a task planning agent into the embodied intelligent control process, which is responsible for understanding long-term tasks, task decomposition, stage judgment, historical state information management, and high-level action target generation. Simultaneously, it combines with a low-level action control model to execute specific actions and feeds back the execution results, environmental changes, and abnormal states to the task planning agent for dynamic updates. In this way, the embodied agent can maintain contextual coherence in long-term, multi-stage, and dynamically changing tasks, adjusting subsequent operations based on the current task stage and historical execution state. This reduces task failures caused by information forgetting, stage confusion, and accumulated errors, thereby improving the continuous execution capability, robustness, and autonomous control level of complex embodied operation tasks.

[0042] The long-term intelligent agent enhanced embodied intelligent control method of this invention addresses the problems in existing embodied intelligent control technologies, such as limited context memory, insufficient task phase management, inadequate feedback between high-level planning and low-level execution, difficulty in correcting accumulated errors, and insufficient adaptability to dynamic environments. These problems lead to issues such as high-level target generation of specific actions for long-term task decision-making and robot execution control; state changes during execution; breaks in action results and abnormal information; unstable action connections; and low task success rate.

[0043] This invention introduces a task planning agent into an embodied intelligent control system, constructing an agent-enhanced architecture with long-term memory storage, historical information retrieval, task stage judgment, execution status tracking, and dynamic replanning capabilities. This architecture continuously records environmental changes, robot actions, stage results, anomalies, and historical decision-making basis during task execution, and recalls relevant historical information in subsequent decisions. This enables the embodied agent not only to generate actions based on current observations but also to perform multi-step reasoning by combining past execution experience and the current task stage, thereby maintaining the contextual coherence of long-term tasks.

[0044] The long-term agent-enhanced embodied intelligent control method of this invention achieves closed-loop collaboration between high-level task planning and low-level action control. The task planning agent is responsible for understanding the task objective, breaking down the task stages, judging the current progress, and generating high-level action objectives; the low-level action control model is responsible for feeding back feedback to the task planning agent to update task memory and adjust subsequent plans. Through this closed-loop mechanism, the embodied agent can self-correct and dynamically adjust when the environment changes, stages deviate, or execution fails, avoiding cumulative failures caused by early information forgetting or stage judgment errors in long-term tasks.

[0045] Therefore, the long-term intelligent agent enhanced embodied intelligent control method of the present invention does not simply improve the control accuracy of single-step actions, nor does it merely allow a large model to generate one-time task steps. Instead, it provides an embodied intelligent control method for complex tasks that span multiple cycles and stages, enabling the embodied intelligent agent to continuously memorize key states, accurately judge task stages, dynamically correct execution deviations, and update subsequent action plans based on environmental feedback during long-term execution. This improves its task continuity, adaptability, robustness, and execution success rate in complex dynamic scenarios such as opening suspicious packages, manipulating flexible objects, service robots, and special operation robots.

[0046] The long-term agent-enhanced embodied intelligent control method of this invention uses robot sensor observations, task instructions, and the robot's own state as inputs. It maintains a continuously updated long-term memory through the agent module and retrieves relevant information from historical events, historical decisions, and execution results based on the current task to form a hierarchical task plan. The control strategy generates actions based on the plan and real-time observations. The execution results are applied to the robot after safety verification. Environmental feedback is then used for state evaluation, error attribution, strategy correction, and memory update, thereby forming a closed-loop control spanning multiple time periods.

[0047] In this embodiment, step S1 is to obtain the current observation step, specifically by acquiring the current environmental information and the robot's own state through vision sensors, distance sensors, and robot body state sensors installed on the robot. The vision sensors may include a color camera and a depth camera, the distance sensors may include a LiDAR, and the body state sensors may include joint encoders and force sensors, etc. The system performs time alignment on the data acquired by different sensors according to a unified time base, and performs denoising, coordinate transformation, data fusion, and confidence calculation according to the actual sensor type to obtain the environmental state and robot body state corresponding to the current control cycle. Simultaneously, the system receives the natural language task instructions to be executed or pre-set task instructions as input for subsequent task parsing and planning.

[0048] In this embodiment, step S2 is the task parsing and decomposition step, specifically: the agent understands the current task based on the input task instructions, the current environmental state, the robot's own state, and pre-set task constraints, determining the task objective, the operation object, the execution location, the task completion conditions, and the safety constraints. Based on this, complex tasks requiring a long completion time are decomposed into multiple sub-tasks with sequential relationships, and the dependencies between different sub-tasks are determined. Each sub-task may include a corresponding target state, allowed actions, estimated duration, completion criteria, and handling methods after failure. When multiple sub-tasks have sequential dependencies, conditional dependencies, or selection relationships, a task graph representing the dependencies between sub-tasks can be further established, thereby providing structured task information for subsequent hierarchical task planning.

[0049] In this embodiment, step S3 is the long-term memory retrieval step, specifically: the system sets up a long-term memory bank to store the long-term experience formed by the robot during the execution of historical tasks. The long-term memory bank can organize historical interaction content according to information such as time, space, operation object, task type, and execution result, and includes at least episodic memory, semantic memory, and skill memory. Episodic memory is used to record historical observations, decisions, actions, and results during the execution of specific tasks; semantic memory is used to store environmental patterns, object attributes, and task-related knowledge summarized from multiple interactions; and skill memory is used to store operation procedures or action sequences with reusable value.

[0050] During the execution of the current task, the system formulates memory retrieval conditions based on the current task instructions, current state, and subtasks to be executed, and retrieves historical information related to the current task from the long-term memory. Specifically, it can comprehensively consider factors such as vector similarity, keyword matching, time decay, and task relevance to calculate the relevance of candidate historical memories, and select historical scenarios, semantic knowledge, and skills and experiences with high relevance and credibility from the candidate memories. At the same time, it filters out duplicate content and content with low credibility, thereby obtaining historical experience to assist in decision-making for the current task.

[0051] In this embodiment, step S4 is the context fusion and hierarchical planning step, specifically: the agent fuses the current environmental state and robot's own state obtained in step S101, the task and sub-task information obtained in step S102, the historical experience retrieved from the long-term memory in step S3, and the safety constraints corresponding to the current task to form agent context information for current decision-making. Based on this, a high-level task plan across time periods is first formed according to the goal of the complete task and the relationship between sub-tasks, determining the execution order, switching conditions, and required resources of different sub-tasks; then, for the sub-task that needs to be executed, a local action plan is further generated according to the real-time environmental state, obtaining action candidates such as moving, grasping, placing, waiting, and retrying, and the execution confidence and expected risk of different action candidates are evaluated.

[0052] By using the above-mentioned hierarchical planning method, the long-term task planning is separated from the local action generation within the current control cycle, enabling the agent to determine the overall task execution direction based on long-term historical experience, while adjusting the specific actions of the current stage according to the real-time changes in the current environment.

[0053] In this embodiment, step S5 involves constraint verification and motion control. Specifically, for the motion candidates generated in step S4, the controller performs safety verification based on conditions such as the robot's own kinematic constraints, collision constraints, speed limits, torque limits, restricted areas, and safe distance between the robot and the human. Motion candidates that do not meet the preset constraints are removed from the current candidate set, and the remaining candidate motions are re-planned. When a motion candidate that meets the constraints exists, the corresponding motion is selected and converted into a control command that the robot can actually execute. The control command can be converted into control quantities corresponding to robot joints, mobile chassis, or end effectors according to the robot type, and continuously sent to the robot actuator according to a preset control cycle to complete the motion execution of the current control cycle.

[0054] In this embodiment, step S6 is the step of obtaining feedback and evaluating task progress. Specifically, after the robot performs an action, the system continuously acquires new visual information, distance information, force information, and robot body state information, and compares the actual state after execution with the target state expected to be achieved in the task planning stage to determine the execution status of the current sub-task. The execution status may include situations such as task completion, partial completion, task failure, and changes in the environment, and the task progress error and execution confidence are calculated based on the difference between the actual state and the expected state.

[0055] If the current action is performed as expected and the environmental state has not changed significantly, the subsequent subtasks will continue to be executed based on the current feedback. When a task failure or a change in the environmental state is detected, the failure recovery process will begin. The failure recovery module locates the cause of the task failure or plan failure based on the current feedback information, and rolls back to the nearest recoverable subtask node. On this basis, it retrieves relevant historical experience from long-term memory and regenerates a revised task plan and action scheme based on the new environmental state. This allows the robot to recover during task execution based on the actual situation without having to start the entire task from scratch.

[0056] In this embodiment, step S7 is the memory and policy update step, specifically: the system assembles time-stamped interaction segments from observation information, agent decisions, robot actions, execution results, and failure reasons generated during the current task execution process, and writes them into the long-term memory. For historical experiences that repeatedly occur and have stable execution results in multiple task executions, their corresponding credibility is increased; for experiences that conflict in different task executions or historical information that is no longer applicable to the current environment, their credibility is reduced and they are marked as invalid, thus enabling the long-term memory to be dynamically updated as the robot continues to run.

[0057] Simultaneously, the system abstracts reusable operation sequences during the current task execution process, forming or updating skill memories; it organizes environmental patterns and object-related information that can be stably summarized from multiple task interactions, forming or updating semantic memories; and it forms contextual memories for the complete task execution process and its corresponding state changes, decision-making processes, and execution results. Based on the latest execution feedback, the relevance weights, execution priorities of different sub-tasks, and ranking parameters of action candidates can be further adjusted during subsequent memory retrieval, enabling subsequent task executions to utilize the new experiences gained from this task.

[0058] In this embodiment, step S8 is the step of determining whether to continue or terminate the task. Specifically, the system checks whether the task meets the preset completion conditions and safe termination conditions based on the current task status. When the task has met the preset completion conditions, the current long-running task ends, and the task execution result and corresponding execution log are output. When a situation triggering the safe termination condition is detected, actions that may cause risks are immediately stopped, and the current robot state, environment state, and task interruption reason are saved to form a corresponding task checkpoint. The system waits for manual confirmation or environmental recovery before deciding whether to continue execution.

[0059] If the current task neither meets the completion conditions nor triggers the safety termination conditions, the current execution result is used as the input for the next control cycle. New environmental observations and robot body states are then acquired, and the process returns to step S1 to enter the next control cycle. Thus, steps S1 to S8 form a cyclic execution process, enabling the system to continuously perceive the environment, update the task state, recall historical experience, perform task planning, execute robot actions, and update long-term memory using execution feedback over a long period of time.

[0060] During the aforementioned loop, when step S6 detects task execution failure or environmental changes, the failure recovery module can be initiated. The failure recovery module locates the cause of the failure or environmental change based on the current execution feedback, determines the nearest recoverable task node, and re-retrieves relevant historical experience from the long-term memory. Based on the updated environmental state, a revised plan is regenerated. This revised plan re-enters the subsequent constraint verification and action control processes, thereby achieving dynamic recovery from abnormal situations arising during task execution.

[0061] The system corresponding to the long-term agent-enhanced embodied intelligent control method of this invention includes a multimodal perception module, a state estimation module, a task parsing and decomposition module, a long-term memory management module, an agent context construction and hierarchical planning module, an action control module, a safety constraint verification module, a feedback evaluation module, a failure recovery module, and a communication and logging module. Each module can be implemented by one or more processors executing programs in memory, or it can be implemented in a distributed manner using multiple controllers depending on the computing resources of the robot system. The long-term memory management module is used to store, retrieve, and update contextual memory, semantic memory, and skill memory, and can dynamically adjust the credibility of the memory content according to the task execution results; the failure recovery module is used to locate the cause of task failure based on execution feedback and restore to a task node that can continue to be executed.

[0062] In some embodiments, the system corresponding to the long-term agent-enhanced embodied intelligence control method of this invention includes an observation acquisition module, a task parsing and decomposition module, a long-term memory module, a memory retrieval module, a task planning agent module, a low-level action control module, an execution feedback module, a memory update module, and a task judgment module. The observation acquisition module can correspond to a multimodal perception module and a state estimation module, used to acquire current observations and task instructions; the long-term memory module, memory retrieval module, and memory update module can be integrated into a long-term memory management module, used to store historical memory information, retrieve historical memory information, and update long-term memory information, respectively; the task planning agent module can implement the functions of an agent context construction and hierarchical planning module, used to generate high-level action goals; the low-level action control module can include an action control module, and optionally include a safety constraint verification module, used to generate control instructions and control the embodied agent to execute; the execution feedback module can implement the functions of a feedback evaluation module, used to acquire execution feedback information and determine the current task stage and execution state; the task judgment module can implement the functions of a failure recovery module, used to determine whether the task is completed, safely terminated, or needs to be re-planned. Furthermore, the system may also include a communication and logging module.

[0063] The long-term agent-enhanced embodied intelligence control method of this invention effectively overcomes the bottleneck of limited context memory in traditional models by constructing an agent-enhanced control architecture. It achieves efficient storage, retrieval, and associated utilization of historical key information in long-term tasks, significantly enhancing the agent's multi-step reasoning and long-term planning capabilities in complex dynamic environments. At the same time, the system can self-correct and iteratively optimize strategies based on continuous interactive feedback, greatly reducing the cumulative decision-making errors in long-cycle operation, thereby improving the robustness, adaptability, and overall success rate of embodied intelligence when performing cross-stage, highly complex tasks.

[0064] The long-term intelligent agent enhanced embodied intelligent control method of this invention revolves around task planning intelligent agents, long-term memory storage and retrieval, task stage management, closed-loop coordination of high-level planning and low-level action control, execution state feedback updates, and dynamic replanning mechanisms. Specifically, it includes the following: This invention designs an agent-enhanced embodied intelligent control method for long-term tasks. Instead of simply relying on an end-to-end model to directly output robot actions from perceived information, or merely generating one-off task steps from a large model, this invention introduces a task planning agent into the embodied intelligent agent control process. This unifies task understanding, task decomposition, historical state management, stage judgment, action target generation, and execution feedback updates into a complete control flow. This overall solution enables the embodied intelligent agent to maintain task context coherence when executing long-term, multi-stage, and dynamically changing tasks, reducing stage confusion, information forgetting, and accumulated errors.

[0065] During task execution, the task planning agent understands the task objectives, breaks down task steps, determines the current task stage, manages historical state information, and generates high-level action objectives based on current environmental feedback. This task planning agent is not an independent question-and-answer module but is embedded in the embodied agent control system, forming a collaborative relationship with the visual perception module, low-level motion control model, and robot actuators. This provides the embodied agent with continuous planning capabilities for long-term tasks. Simultaneously, a long-term memory storage and retrieval mechanism for long-term tasks continuously records the embodied agent's environmental observation information, robot action information, task stage information, execution result information, abnormal state information, and historical decision information during task execution. It then retrieves relevant historical information based on the needs of the current task during subsequent decisions. This mechanism prevents the embodied agent from relying solely on current observations or short-term historical windows for decision-making, enabling it to access early critical states and execution results even in long-span tasks, supporting multi-step reasoning and continuous control.

[0066] Building upon this foundation, the task phase identification, phase switching, and phase state management methods divide long-sequential tasks into multiple task phases. Based on environmental conditions, robot execution results, and task objectives, the current phase and whether phase switching conditions are met are determined. For example, in the task of securely opening a suspicious package, it may include phases such as package identification, package fixation, zipper positioning, zipper gripping, zipper pulling, anomaly recovery, and task completion judgment. Through task phase management, the embodied agent can clearly define the operational objective to be executed, avoiding repetitive execution, premature jumps, or omissions of critical steps. A hierarchical collaborative approach is adopted between high-level task planning and low-level motion control models. The task planning agent generates high-level motion objectives or phased sub-objectives, and the low-level motion control model generates specific robot actions based on the high-level objectives. High-level task planning is responsible for what should be done, while low-level motion control is responsible for how to execute it. This hierarchical collaborative approach reduces the control difficulty of long-sequential complex tasks, enabling the system to possess both task understanding and phase planning capabilities as well as specific action execution capabilities.

[0067] After the low-level motion control model executes an action, a dynamic update mechanism driven by execution state feedback feeds back the execution result, robot state changes, target state changes, and abnormal situations to the task planning agent. The task planning agent then updates the task memory and current stage judgment, deciding whether to continue execution, adjust the action target, or replan the task. This feedback update mechanism prevents a disconnect between high-level planning and actual execution, enabling the embodied agent to continuously correct itself during task execution. Addressing the issue of accumulated motion errors, perception errors, and stage judgment errors in long-term tasks, this invention records historical execution states, compares expected and actual results, and assesses deviations in conjunction with the current task stage. When the execution result deviates from expectations, the task planning agent can regenerate the action target, adjust the task stage, revert to the previous stage, or replan subsequent steps, thereby reducing the impact of accumulated errors on the final task completion.

[0068] Furthermore, this invention also features a task context preservation and multi-step reasoning mechanism. Through long-term memory and task phase management, the embodied agent can maintain an understanding of the task objective, completed steps, incomplete steps, historical failure reasons, and current execution status during long-term execution. This mechanism ensures that the embodied agent does not execute each action in isolation but can perform multi-step reasoning based on historical context to determine the relationship between the current action and the final task objective, improving the coherence of long-term task execution. Under the agent enhancement architecture, the exception handling and recovery linkage mechanism can receive exception status information in the task planning agent and adjust subsequent task plans based on the exception type, task phase, and historical execution. For example, when the embodied agent fails to grasp a zipper during the zipper grasping phase, the task planning agent can roll back the task phase to the repositioning or re-grabbing phase instead of continuing into the pulling phase. This mechanism combines exception handling with long-term task planning, improving execution stability in complex tasks. The adaptive task adjustment method for dynamic environmental changes can adjust the task plan according to changes in the environmental state during execution. For example, when the target position changes, the object's posture changes, occlusion occurs, the robot's actions fail to meet expectations, or the object is deformed, the task planning agent can reassess the task state based on current observations and historical memory, and adjust subsequent action targets. This adaptive adjustment mechanism distinguishes this invention from fixed-process control and static task planning methods.

[0069] The long-term intelligent agent enhanced embodied intelligent control method of this invention can be applied to scenarios such as secure opening of suspicious packages, manipulation of flexible objects, dual-arm collaborative operation, continuous operation of service robots, handling of special operations robots, and complex assembly of industrial robots. Especially in the task of opening zippers of suspicious packages, this method can support the embodied intelligent agent to complete continuous stages such as package identification, package fixation, zipper positioning, zipper clamping, opening, anomaly recovery, and task completion judgment, thereby improving the continuity, stability, and success rate of long-term tasks.

[0070] In summary, this invention enables embodied intelligent agents to continuously maintain contextual information and dynamically adjust subsequent action plans in long-term, multi-stage, and dynamically changing tasks by using task planning intelligent agents, long-term memory storage and retrieval, task stage management, closed-loop collaboration between high-level planning and low-level action control, and dynamic updates based on execution feedback. This reduces accumulated errors and improves the continuous execution capability, adaptability, and success rate of complex embodied operation tasks.

[0071] In this embodiment, the task planning agent is a task planning agent with the ability to understand tasks, decompose tasks, determine stages, and manage historical information. In other embodiments, the task planning agent can also be implemented by a large language model, a visual language model, a multimodal large model, a rule reasoning module, a task planning algorithm, or a combination of the above methods, as long as it can decompose, determine, and dynamically adjust long-sequence tasks based on task objectives, environmental states, historical execution information, and current feedback.

[0072] In this embodiment, long-term memory storage and retrieval continuously records environmental observation information, robot action information, task stage information, execution result information, abnormal state information, and historical decision information during task execution, and retrieves and calls them during subsequent decision-making. In other embodiments, long-term memory functions can also be implemented using task logs, state caches, historical trajectory records, stage label records, vectorized memory banks, databases, knowledge graphs, or experience sample libraries. The core is not to limit the specific storage form, but to enable the embodied intelligent agent to save and call key historical information during long-term task execution, avoiding decision-making based solely on current observations or short time windows.

[0073] In this embodiment, task phase management is achieved by a task planning agent that identifies, switches, and manages the current task phase. In other embodiments, manually set phase rules, state machines, behavior trees, task graphs, flowcharts, hierarchical strategy models, or phase classification models can also be used. For example, in the task of securely opening a suspicious package, the task can be divided into phases such as package identification, package fixation, zipper positioning, zipper clamping, zipper pulling, anomaly recovery, and task completion judgment. Whether to proceed to the next phase is determined by visual results, robot status, action completion status, or sensor feedback. As long as the phase division, phase judgment, and phase switching of long-sequence tasks can be achieved, it is acceptable.

[0074] In this embodiment, high-level task planning and low-level motion control are coordinated by using a task planning agent to generate high-level motion targets, and then using a low-level motion control model to generate specific robot actions. In other embodiments, high-level rule planning can be combined with low-level learning control, high-level large model planning can be combined with low-level motion planners, high-level task graphs can be combined with low-level controllers, or a hierarchical reinforcement learning approach can be used. The high-level output can be a sub-task, target position, operation stage, motion constraint, path target, or control instruction prompt, and the low-level output can be the robotic arm end pose, joint motion, gripper opening and closing instructions, or movement speed instructions. As long as hierarchical collaborative control can be achieved, where the high-level decides what to do and the low-level decides how to do it, it is acceptable.

[0075] In this embodiment, the execution feedback update feeds back the execution results of low-level actions, environmental changes, target state changes, and abnormal states to the task planning agent, which then updates the long-term memory and subsequent plans. In other embodiments, the feedback update can also be accomplished through a state monitoring module, an execution result evaluation module, an anomaly detection module, a task completion determination module, or a manual feedback module. For example, after the robot performs a gripping action, it can determine whether the gripping was successful based on the gripper closure state, target position changes, contact force changes, and visual detection results, and feed the result back to the high-level planning module. As long as the subsequent task plan can be corrected based on the actual execution results, it is acceptable.

[0076] In this embodiment, dynamic replanning is achieved by the task planning agent regenerating subsequent plans based on the current state, historical memory, and task stage. In other embodiments, it can also be achieved through methods such as local path replanning, action sequence resampling, task stage rollback, sub-target reselection, rule-triggered replanning, or replanning after manual confirmation. For example, when the zipper grab fails, the system can roll back to the zipper repositioning stage; when the bag position changes, the system can re-execute the bag fixing stage; when the target is occluded, the system can adjust the camera angle or the robotic arm posture and then re-identify it. As long as subsequent actions can be adjusted when the task execution deviates from expectations, the accumulated error can be reduced.

[0077] The low-level motion control model is not limited to using a specific motion generation model. In other embodiments, low-level motion control can be implemented using imitation learning models, reinforcement learning strategies, behavior cloning models, trajectory planning algorithms, motion controllers, visual servo control methods, or a combination of learning models and traditional controllers. For dual-arm robot tasks, low-level control can generate the movements of the two robotic arms separately, or it can generate collaborative movements of both arms through a unified control model, as long as it can generate executable robot movements based on the high-level motion target and feed the execution results back to the upper-level task planning part.

[0078] In other embodiments, the system deployment method can take the form of local deployment, edge computing deployment, cloud and local collaborative deployment, or separate deployment of robot controller and host computer. For example, low-level motion control and safety control can be deployed on the robot's local control terminal to ensure real-time performance; task planning agent and long-term memory retrieval can be deployed on host computer or edge computing device to support more complex task reasoning, as long as the modules can complete task target transmission, action execution and feedback update.

[0079] The long-term intelligent agent enhanced embodied intelligent control method of the present invention has the following advantages: Compared to existing end-to-end embodied control methods, traditional hierarchical control methods, and large-scale language model-assisted task planning methods, this invention does not rely solely on current observations or short-term historical information to directly generate robot actions, nor does it rely solely on a high-level model to generate one-time task steps. Instead, it introduces a task planning agent into the embodied agent control process and combines long-term memory storage and retrieval, task stage management, low-level action control, and execution feedback updates to form a closed-loop control method for long-term tasks. Through this method, the embodied agent can continuously record completed steps, current task stages, historical execution results, anomalies, and key decision information during long-term, multi-stage task execution. It actively calls upon relevant historical information during subsequent action planning, thereby avoiding task interruptions and cumulative failures caused by contextual forgetting, stage confusion, or unaddressed early execution deviations. This invention enables dynamic coordination between high-level task planning and low-level action execution. The task planning agent is responsible for understanding the task objective, breaking down the task stages, judging the current progress, and generating high-level action objectives. The low-level action control model is responsible for translating the high-level objectives into specific robot actions, and the execution results are then fed back to the task planning agent for updating memory and adjusting subsequent plans. Compared with existing fixed processes or static planning schemes, this invention can adaptively adjust according to changes in the environment, changes in the target position, deformation of the operation object, execution deviation or abnormal state, and realize task stage rollback, action target correction or replanning, thereby improving the execution continuity, robustness, adaptability and task success rate of the embodied intelligent agent in long-term complex tasks such as opening suspicious packages, manipulating flexible objects, and dual-arm collaborative operation.

[0080] Example 2 like Figure 3 As shown, embodiments of the present invention also provide a long-term intelligent agent enhanced embodied intelligent control system, comprising: The observation acquisition module is used to acquire current observations and task instructions; The task parsing and decomposition module is used to parse and decompose the task based on the current observation and the task instruction to obtain the task parsing result, which includes the task objective and multiple task stages. Long-term memory module, used to store historical memory information; The memory retrieval module is used to retrieve historical memory information from the long-term memory module based on the task parsing results and the current observation; The task planning agent module is used to generate high-level action targets based on the current observations, the task parsing results, and the historical memory information. The low-level action control module is used to generate control commands based on the high-level action target and control the embodied intelligent agent to execute them; The execution feedback module is used to obtain execution feedback information after the embodied intelligent agent has executed the task, and to determine the current task stage and execution status based on the execution feedback information. A memory update module is used to update the planning parameters of the long-term memory module and / or the task planning agent module based on the execution feedback information. The task judgment module is used to determine whether the task is completed, safely terminated, or needs to be replanned based on the execution status and / or updated planning parameters; if replanning is required, the task planning agent module is triggered; if the task is not completed and safe termination is not triggered, the observation acquisition module is triggered to enter the next control cycle.

[0081] The above is a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the embodiments described. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.

Claims

1. A long-term intelligent agent enhanced embodied intelligence control method, characterized in that, Includes the following steps: S1. Obtain current observations and mission instructions; S2. Perform task analysis and decomposition based on the current observation and the task instructions to obtain task analysis results, which include task objectives and multiple task stages. S3. Based on the task parsing results and the current observation, retrieve historical memory information from the long-term memory module; S4. The task planning agent generates a high-level action target based on the current observation, the task parsing result, and the historical memory information. S5. The low-level action control model generates control commands based on the high-level action target and controls the embodied intelligent agent to execute them. S6. Obtain the execution feedback information after the embodied intelligent agent has executed the task, and determine the current task stage and execution status based on the execution feedback information; S7. Update the planning parameters of the long-term memory module and / or the task planning agent according to the execution feedback information; S8. Determine whether the task is completed, safely terminated, or needs to be re-planned based on the execution status and / or the updated planning parameters. If replanning is required, return to step S4; if the task is not completed and a safe termination is not triggered, return to step S1 to enter the next control cycle.

2. The long-term intelligent agent enhanced embodied intelligence control method according to claim 1, characterized in that, In step S1, the current observation includes environmental information and robot body state, and the current observation is time-aligned, denoised, coordinate transformed, data fused and confidence calculated to obtain the current environmental state and robot body state; In step S2, the task objective, operation object, execution location, task completion conditions, and safety constraints are determined based on the task instruction, the current environmental state, the robot body state, and the pre-set task constraints. Decompose long-sequence tasks into multiple task phases with sequential relationships, determine the dependencies between task phases, and build a task graph. Each task phase includes the target state, allowed actions, expected duration, completion criteria, and handling of failure.

3. The long-term intelligent agent enhanced embodied intelligence control method according to claim 1, characterized in that, In step S3, the historical memory information is retrieved from the long-term memory module by using the task parsing results and the current observation to form memory retrieval conditions; The long-term memory module includes at least episodic memory, semantic memory, and skill memory; The contextual memory is used to record historical observations, decisions, actions, and results during the execution of historical tasks; the semantic memory is used to preserve environmental patterns, object attributes, and task-related knowledge; and the skill memory is used to preserve reusable operation procedures or action sequences. The historical memory information retrieved from the long-term memory module includes: The relevance of candidate historical memories is calculated by combining vector similarity, keyword matching, time decay, and task relevance. The historical memory information is obtained by screening historical scenarios, semantic knowledge, and skills and experiences that are highly relevant and credible, and filtering out duplicate content and content with low credibility.

4. The long-term intelligent agent enhanced embodied intelligence control method according to claim 1, characterized in that, In step S4, the task planning agent performs context fusion and hierarchical planning based on the current observation, the task parsing result, and the historical memory information to obtain the agent's context information and high-level action target; The hierarchical planning includes: A high-level task plan spanning multiple time periods is developed based on the relationship between the overall task objectives and task phases, determining the execution sequence, switching conditions, and required resources for each task phase. For the current task phase, a local action plan is generated based on the current environmental state, resulting in at least one action candidate including move, grab, place, wait, and retry, and the execution confidence and expected risk of each action candidate are evaluated.

5. The long-term intelligent agent enhanced embodied intelligence control method according to claim 1, characterized in that, In step S5, before the control command is generated by the low-level motion control model, the action candidate corresponding to the high-level motion target is constrained and verified. The constraint verification includes: The motion candidate is subjected to safety verification based on at least one of the following: kinematic constraints, collision constraints, speed limits, torque limits, restricted areas, and safe distance between humans and robots. Action candidates that do not meet the preset constraints are removed from the candidate set and replanned; The target action that meets the preset constraints is converted into the control quantity corresponding to the joint, mobile chassis or end effector of the embodied intelligent agent, and sent to the execution mechanism of the embodied intelligent agent according to the preset control cycle.

6. The long-term intelligent agent enhanced embodied intelligence control method according to claim 1, characterized in that, In step S6, the actual state after the embodied intelligent agent has executed is obtained, and the actual state is compared with the target state corresponding to the current task stage to obtain the execution feedback information and task progress evaluation result; the execution state includes at least one of task completion, partial completion, task failure, and environmental change; When the difference between the execution feedback information and the expected target meets the expectation, the subsequent task stage continues to be executed. When a task failure or environmental change is detected, a failure recovery process is initiated, which includes: Based on the execution feedback information, locate the cause of task failure or plan failure, roll back to the nearest recoverable task node, retrieve the relevant historical information in the long-term memory module again, and generate a revised task plan and action plan based on the new environmental state. Then, return the revised task plan and action plan to step S5.

7. The long-term intelligent agent enhanced embodied intelligence control method according to claim 1, characterized in that, In step S7, the task planning agent uses the execution feedback information to update the planning parameters of the long-term memory module and the task planning agent, thereby obtaining the updated long-term memory information and the updated planning parameters. Updating the planning parameters of the long-term memory module and the task planning agent includes: The observation information generated during the current task execution process, the decisions of the task planning agent, the robot's actions, the execution results, and the reasons for failure are combined into time-stamped interactive segments and written into the long-term memory module. Increase the credibility of historical experience that is repeated and has stable execution results, and decrease the credibility of conflicting or invalid historical information and mark it as invalid. Forming or updating episodic memory, semantic memory, and skill memory; Based on the execution feedback information, the relevance weights of subsequent memory retrieval, the execution priority of the task stage, and the sorting parameters of action candidates are adjusted.

8. The long-term intelligent agent enhanced embodied intelligence control method according to claim 1, characterized in that, It also includes task phase management, specifically: Based on the current observation, the execution feedback information, and the task objective, determine the current task stage and whether the task stage switching conditions are met. The task phase includes at least one of the following: package identification, package fixation, zipper positioning, zipper clamping, zipper pulling, anomaly recovery, and task completion determination; When determining the current task stage, avoid repeatedly executing completed task stages, prematurely jumping to task stages that do not meet the switching conditions, or omitting critical task stages.

9. The long-term intelligent agent enhanced embodied intelligence control method according to claim 1, characterized in that, This also includes dynamic reprogramming, specifically: When the target position changes, the posture of the manipulated object changes, occlusion occurs, the manipulated object deforms, the robot's actions do not meet expectations, or the environmental state changes during the execution process, the task planning agent combines the current observation and the historical memory information to re-determine the task state and adjust the subsequent high-level action targets, and executes at least one of the following: task phase rollback, sub-target reselection, action sequence resampling, or replanning.

10. A long-term intelligent agent-enhanced embodied intelligent control system, characterized in that, include: The observation acquisition module is used to acquire current observations and task instructions; The task parsing and decomposition module is used to parse and decompose the task based on the current observation and the task instruction to obtain the task parsing result, which includes the task objective and multiple task stages. Long-term memory module, used to store historical memory information; The memory retrieval module is used to retrieve historical memory information from the long-term memory module based on the task parsing results and the current observation; The task planning agent module is used to generate high-level action targets based on the current observations, the task parsing results, and the historical memory information. The low-level action control module is used to generate control commands based on the high-level action target and control the embodied intelligent agent to execute them; The execution feedback module is used to obtain execution feedback information after the embodied intelligent agent has executed the task, and to determine the current task stage and execution status based on the execution feedback information. A memory update module is used to update the planning parameters of the long-term memory module and / or the task planning agent module based on the execution feedback information. The task judgment module is used to determine whether a task is completed, safely terminated, or needs to be re-planned based on the execution status and / or the updated planning parameters. If replanning is required, the task planning agent module will be triggered. If the task is not completed and a safe termination is not triggered, the observation acquisition module is triggered to enter the next control cycle.