Multi-agent collaboration system realized through computing power of intelligent computing center
By designing a multi-agent collaboration system in the intelligent computing center, using the specific capabilities and modules of multiple agents, it solves the problem that a single agent is difficult to handle complex tasks, and achieves more efficient task processing and better user experience.
Patent Information
- Application Number
- CN202411578026.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-02-25
AI Technical Summary
The existing agents implemented through the computing power of the intelligent computing center can only complete simple tasks alone and are difficult to handle complex tasks.
Design a multi-agent collaboration system to enable multiple agents to form teams through dialogue and communication through dialogue interface. Each agent has specific capabilities, including data modules, communication modules and decision-making modules, to collaborate to complete designated tasks.
Through multi-agent collaboration, the computing power of the intelligent computing center can be used to handle complex tasks, and at the same time display the communication process and decision-making process between the agents, improving users' understanding of the task processing process and user experience.
Smart Images

Figure CN119514599A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the fields of computing power infrastructure and artificial intelligence technology, and in particular, to a multi-agent collaboration system implemented through the computing power of an intelligent computing center. Background Art
[0002] With the development of artificial intelligence technology and computing power technology, the concept of intelligent computing center has emerged. "Intelligent computing center" refers to the use of large-scale heterogeneous computing power resources, including general computing power and intelligent computing power, mainly for artificial intelligence applications (such as artificial intelligence deep learning model development, model training and model reasoning and other scenarios) to provide the required computing power, data and algorithms. Intelligent computing center covers facilities, hardware, software, and can provide full-stack capabilities from bottom-level computing power to top-level application enablement.
[0003] An agent is an agent that can perceive the environment and take actions to achieve specific goals. It can be software, hardware or a system with autonomy, adaptability and interaction. Agents perceive changes in the environment (such as through sensors or data input), make judgments and decisions based on their own learned knowledge and algorithms, and then perform actions to affect the environment or achieve predetermined goals. Agents are widely used in the field of artificial intelligence and are commonly seen in automated systems, robots, virtual assistants and game characters. The core of agents is the ability to learn autonomously and continuously evolve to better complete tasks and adapt to complex environments.
[0004] However, the intelligent agents currently realized through the computing power of intelligent computing centers can usually only complete a simple task alone and find it difficult to complete more complex tasks. Summary of the invention
[0005] An embodiment of the present invention provides a multi-agent collaboration system implemented through the computing power of an intelligent computing center, which is used to solve the problem that the existing agents implemented through the computing power of an intelligent computing center can only complete a simple task alone and find it difficult to complete more complex tasks.
[0006] In order to solve the above-mentioned technical problems, the present invention is achieved as follows:
[0007] In a first aspect, an embodiment of the present invention provides a multi-agent collaboration system, comprising: a dialogue interface and multiple agents, each of the agents having specific capabilities, the multiple agents being able to form a team and collaborate to complete a specified task in a dialogue communication manner in the dialogue interface, the dialogue interface being used to display the communication process between the multiple agents in the process of performing the specified task, and part or all of the decision-making process of the agents;
[0008] Wherein, each of the intelligent agents comprises:
[0009] A data module, used to store descriptions of relevant information of the agent, wherein the relevant information includes capabilities of the agent;
[0010] The communication module is used to communicate with other agents and users;
[0011] The decision-making module is used to make decisions and take corresponding actions on tasks given by other intelligent agents or users based on dialogue exchanges with other intelligent agents or users.
[0012] Optionally, the capabilities of the agent include decision-making ability and ability to use tools.
[0013] Optionally, the decision module is also used to call an external tool to make a decision on the received task and take corresponding actions.
[0014] Optionally, the decision module makes a decision on the task given by the other agent or user and takes a corresponding action, including at least one of the following:
[0015] Follow the instructions given by other agents or users to make decisions and take corresponding actions;
[0016] Providing feedback suggestions for the task instructions given by the other intelligent agents or users;
[0017] Receive feedback from other agents or users, and make new decisions and take corresponding actions based on the feedback.
[0018] Optionally, the agent further includes:
[0019] A memory module, configured to perform at least one of the following:
[0020] Recording the execution results of the agent after executing the task, and storing the recorded execution results as long memory;
[0021] Recording the communication process information between the agent and other agents or users during the process of the agent performing the task, and deleting the communication process information after the agent performs the task;
[0022] The decision-making and action process information of the agent in the process of performing the task is recorded, and the decision-making and action process information is used as working memory. After the agent performs the task, the working memory is deleted.
[0023] Optionally, the agent is used to use the execution result of the historical task stored in the memory module as the execution result of the new task when the received new task is the same as the historical task stored in the memory module of the agent.
[0024] Optionally, the agent is also used to summarize the task after the task is completed, and share the summary result as the memory of the graph.
[0025] Optionally, the intelligent agent is also used to obtain a memory of a graph of historical tasks when receiving a new task, and make decisions and take corresponding actions based on the memory of the graph.
[0026] Optionally, the multiple agents include a first agent and at least one second agent;
[0027] The first agent is used to perceive the designated task given by the user, divide the designated task into multiple subtasks, assign the multiple subtasks to the at least one second agent, formulate an execution plan for the designated task and notify the second agent, and generate a report result of the designated task and report it to the user through the dialogue interface or instruct the second agent to generate a report result of the designated task and report it to the user through the dialogue interface;
[0028] The second agent is used to make decisions and take corresponding actions according to the execution plan of the designated task given by the first agent.
[0029] Optionally, the first agent is further used to select at least one second agent from other agents to perform the specified task according to the specified task, and the at least one second agent is all or part of the other agents.
[0030] In an embodiment of the present invention, a multi-agent collaboration system realized by the computing power of an intelligent computing center is provided with multiple agents, each of which includes a data module, a communication module and a decision-making module. Through the above-mentioned functional modules of each agent, multiple agents can form a team and collaborate to complete a specified task in a dialogue interface in the form of dialogue communication. Since multiple agents are used for collaboration, the computing power of the intelligent computing center can be fully utilized to process more complex tasks. At the same time, in the process of executing the specified task, a dialogue interface is used to display the communication process between multiple agents and part or all of the decision-making process of the agent, so that users can have a clearer understanding of the processing process of the specified task, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0032] Figure 1A schematic diagram of the structure of an intelligent agent according to an embodiment of the present invention;
[0033] Figure 2 A schematic diagram of a dialogue interface of a multi-agent collaboration system implemented by computing power of an intelligent computing center according to an embodiment of the present invention;
[0034] Figure 3 A schematic diagram of a communication method between intelligent agents according to an embodiment of the present invention;
[0035] Figure 4 A schematic diagram of the structure of an intelligent agent according to another embodiment of the present invention;
[0036] Figure 5 A schematic diagram of a directed acyclic graph corresponding to multiple agents in a multi-agent collaboration system according to an embodiment of the present invention;
[0037] Figure 6 Schematic diagram of the process of a multi-agent collaboration method implemented by the computing power of an intelligent computing center according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] First, the technical terms involved in the present invention are briefly explained below.
[0040] The "computing power" mentioned in the present invention is the ability of computer equipment or computing / data center to process information. It is the ability of computer hardware and software to work together to execute certain computing requirements. It is the computing power to achieve target result output by processing information data. It is a new type of productivity that integrates information computing power, network carrying capacity, and data storage capacity. It mainly provides services to the society through computing power infrastructure.
[0041] The "computing power" (Computational Power, CP) described in the present invention is the ability of a data center server to process data and output results. It is a comprehensive indicator to measure the computing power of a data center, including general computing power, super computing power and intelligent computing power. The commonly used unit of measurement is the number of floating point operations performed per second (FLOPS: Floating Point Operations Per Second, 1EFLOPS = 10^18FLOPS). The larger the value, the stronger the comprehensive computing power. According to calculations, 1EFLOPS is approximately the computing power output of 5 Tianhe-2A or 500,000 mainstream server CPUs or 2 million mainstream notebooks. The calculation formula is: CP = CP 通用 +CP 智能 +CP 超级 .
[0042] The "Network Power" (NP) described in the present invention is a manifestation of the data transmission capability of computing facilities, including comprehensive capabilities such as network architecture, network bandwidth, transmission latency, intelligent management and scheduling, etc. The carrying capacity involves network transmission within and between data centers, and is a comprehensive indicator for measuring network transmission scheduling capabilities. In the embodiment of the present invention, the carrying capacity uses the memory bandwidth.
[0043] The "Storage Power" (SP) described in the present invention is the comprehensive ability of a data center in terms of data storage capacity, performance, safety and reliability, and green and low-carbon. It is a comprehensive indicator for measuring the data storage capacity of a data center, including external storage devices such as storage arrays and server built-in storage devices. The commonly used unit of measurement for storage capacity is exabyte (EB, 1EB = 2^60bytes), and the commonly used unit of measurement for performance is the number of reads and writes per second per unit capacity (IOPS / TB, Input / Output Operations Per Second / TB). The disaster recovery ratio is an important manifestation of safety and reliability.
[0044] The "computing power infrastructure" described in the present invention is a new type of information infrastructure that integrates information computing power, network carrying capacity, and data storage capacity. It can realize centralized computing, storage, transmission and application of information, and presents characteristics such as diversity and ubiquity, intelligence and agility, safety and reliability, green and low-carbon. It is of great significance to promote industrial transformation and upgrading, enable my country's scientific and technological innovation, meet people's better life and realize high-efficiency social governance.
[0045] The “computing power” mentioned in the present invention includes general computing power, intelligent computing power and super computing power.
[0046] The “general computing power” mentioned in the present invention refers to the computing power provided by servers based on CPU (Central Processing Unit) chips, which is used to support basic general computing such as cloud computing and edge computing.
[0047] The "intelligent computing power" described in the present invention is a computing platform for large-scale deployment of special chips such as GPU (Graphics Processing Unit), FPGA (Field Programmable Gate Array), ASIC (Application Specific Integrated Circuit) for various innovative applications of artificial intelligence, such as natural language processing and machine vision.
[0048] The "super computing power" mentioned in the present invention is mainly the computing power provided by high-performance computing clusters such as supercomputers. It utilizes the centralized computing resources of multiple computer systems working in parallel and uses a dedicated operating system to handle extremely complex or data-intensive problems. It is mainly used for calculations in cutting-edge scientific fields, such as planetary simulation, drug molecule design, and gene analysis.
[0049] The "intelligent computing center" described in the present invention refers to a facility that provides the required computing power, data and algorithms for artificial intelligence applications (such as artificial intelligence deep learning model development, model training and model reasoning scenarios) by using large-scale heterogeneous computing power resources, including general computing power (CPU: Central Processing Unit) and intelligent computing power (GPU: Graphics Processing Unit, FPGA: Field Programmable Gate Array, ASIC: Application Specific Integrated Circuit, etc.). The intelligent computing center covers facilities, hardware, and software, and can provide full-stack capabilities from bottom-level computing power to top-level application enablement.
[0050] The "computing resources" mentioned in the present invention refer to the technologies and facilities with information calculation, transmission, storage and application capabilities required for the development of the digital society, including but not limited to computing resources such as CPU (Central Processing Unit), GPU (Graphics Processing Unit), network resources such as switches and routers, storage resources such as storage arrays and distributed storage, security resources such as firewalls and intrusion detection systems, as well as supporting and guarantee resources such as wind, fire, water and electricity.
[0051] The agent described in the embodiments of the present invention refers to an agent that can perceive the environment and take actions to achieve specific goals. It can be software, hardware or a system with autonomy, adaptability and interaction capabilities. The agent perceives changes in the environment (such as through sensors or data input), makes judgments and decisions based on the knowledge and algorithms it has learned, and then performs actions to affect the environment or achieve predetermined goals. Agents are widely used in the field of artificial intelligence and are commonly found in automated systems, robots, virtual assistants, and game characters. The core of agents is the ability to learn autonomously and continuously evolve to better complete tasks and adapt to complex environments.
[0052] The natural language processing (NLP) described in the embodiments of the present invention is a core technology that enables intelligent agents to understand, generate and interact with human natural language. Through NLP, intelligent agents can parse the semantics, grammar and context of human language, so as to perform tasks such as text understanding, language translation, dialogue system, sentiment analysis, etc. This enables intelligent agents to communicate with humans in natural language, understand the user's intentions, and provide corresponding responses and services.
[0053] The “large language model (also referred to as a large language model)” described in the embodiments of the present invention refers to a large language model (LLM), which is a language model with a large parameter scale that is designed to understand and generate human language. It is trained with a large amount of text data and can perform a wide range of tasks including text summarization, translation, sentiment analysis, etc.
[0054] The directed acyclic graph described in the embodiment of the present invention means that in graph theory, if a directed graph cannot start from a vertex and return to the vertex through several edges, then the graph is a directed acyclic graph (DAG graph).
[0055] In order to solve the problem that a single existing intelligent agent can only complete a simple task alone and is difficult to complete a more complex task, an embodiment of the present invention provides a multi-agent collaboration system, including: a dialogue interface and multiple intelligent agents, each of the intelligent agents having specific capabilities, the multiple intelligent agents can form a team and collaborate to complete a specified task in the form of dialogue communication in the dialogue interface, and the dialogue interface is used to display the communication process between the multiple intelligent agents in the process of executing the specified task, as well as part or all of the decision-making process of the intelligent agents;
[0056] Among them, please refer to Figure 1 , each of the intelligent agents comprises:
[0057] A data module, used to store descriptions of relevant information of the agent, wherein the relevant information includes capabilities of the agent;
[0058] The communication module is used to communicate with other agents and users;
[0059] The decision-making module is used to make decisions and take corresponding actions on tasks given by other intelligent agents or users based on dialogue exchanges with other intelligent agents or users.
[0060] The description of the relevant information of the agent in the data module may also be referred to as the introduction of the agent, or the definition of the agent, which is used to describe what kind of agent the agent is. The relevant information includes at least the capabilities of the agent, for example, the capability of an agent is: the ability to train the initial large language model based on the given training data and the initial large language model. In some embodiments, optionally, the relevant information may also include the name of the agent, for example, the name of the agent is "NANA (project Manager)".
[0061] The communication module can communicate with other intelligent agents and users (ie, humans) through natural language processing.
[0062] Please refer to Figure 2 , Figure 2 A schematic diagram of a dialogue interface of a multi-agent collaboration system according to an embodiment of the present invention. Figure 2 It can be seen that the multi-agent collaboration system in this embodiment includes multiple agents, including: NANA (project manager), Hu (PM assistant), Wang (operation and maintenance engineer), Doudou (data engineer), Li (large language model training engineer), Guo (large language model evaluation engineer), where each agent is built on the basis of a large language model, and each agent has specific capabilities. For example, "Hu (PM assistant)" can be responsible for confirming necessary parameters and recording the parameters for reference by other users. Each agent includes Figure 1 Each agent can communicate with other agents and users (i.e. humans) through natural language processing. Figure 1 In the dialogue interface, the communication process between multiple agents in the process of executing a specified task, as well as part or all of the decision-making process of the agents can be displayed.
[0063] In an embodiment of the present invention, a multi-agent collaboration system realized by the computing power of an intelligent computing center is provided with multiple agents, each of which includes a data module, a communication module and a decision-making module. Through the above-mentioned functional modules of each agent, multiple agents can form a team and collaborate to complete a specified task in a dialogue interface in the form of dialogue communication. Since multiple agents are used for collaboration, the computing power of the intelligent computing center can be fully utilized to process more complex tasks. At the same time, in the process of executing the specified task, a dialogue interface is used to display the communication process between multiple agents and part or all of the decision-making process of the agent, so that users can have a clearer understanding of the processing process of the specified task, thereby improving the user experience.
[0064] In the embodiment of the present invention, optionally, the capabilities of the agent include decision-making capabilities and the ability to use tools. The decision-making capabilities are the decision-making capabilities possessed by the large language model corresponding to the agent. The tools may include the tools of the agent itself, and may also include external tools.
[0065] In some embodiments, the decision module is also used to call external tools to make decisions on the received tasks and take corresponding actions. Since the intelligent agent has the ability of external tools, the tools required by the intelligent agent can be plugged in according to needs, thereby effectively expanding the capabilities of the intelligent agent.
[0066] In some embodiments, the decision module makes a decision on the task given by the other agent or user and takes corresponding actions, including at least one of the following:
[0067] Follow the instructions given by other agents or users to make decisions and take corresponding actions;
[0068] Providing feedback suggestions for the task instructions given by the other intelligent agents or users;
[0069] Receive feedback from other agents or users, and make new decisions and take corresponding actions based on the feedback.
[0070] Please refer to Figure 3, when agent A1 sends task instructions (Instruction and input) to other agents (such as A2), other agents (such as A2) can make decisions and take corresponding actions according to the task instructions given by agent A1. In addition, other agents (such as A2) can also give feedback suggestions (Feedback) to the task instructions given by A1. For example, if A2 thinks that the task instructions given by A1 are not good enough, it can give corresponding feedback suggestions. A1 can make new decisions and take corresponding actions (Action) based on the feedback suggestions given by other agents (such as A2), and notify other agents (such as A2). The above-mentioned interaction between agents A1 and A2 can be multiple times until agent A2 accepts the task instructions given by A1.
[0071] Through communication between intelligent agents, task decisions can be made more perfect.
[0072] In some embodiments, optionally, please refer to Figure 4 , the agent further comprises:
[0073] A memory module, configured to perform at least one of the following:
[0074] Recording the execution results of the agent after executing the task, and storing the recorded execution results as long memory;
[0075] Recording the communication process information (also called short memory) between the agent and other agents or users during the agent's task execution, and deleting the communication process information after the agent executes the task;
[0076] The decision-making and action process information of the agent in the process of performing the task is recorded, and the decision-making and action process information is used as working memory. After the agent performs the task, the working memory is deleted.
[0077] The execution result after the agent performs the task can be an effective execution result after the agent performs the task, that is, a useful execution result. The execution result can be stored by the agent for a long time as a long memory.
[0078] In some embodiments, the agent is used to use the execution result of the historical task stored in the memory module as the execution result of the new task when the received new task is the same as the historical task stored in the memory module of the agent. Since the historical execution result is directly used as the execution result of the new task, the decision-making and action process of the agent is omitted, which effectively improves work efficiency. For example, a task performed by the agent "Wang (operation and maintenance engineer)" is to configure a virtual environment. After the configuration is completed, the configured virtual environment (i.e., the execution result) can be stored as a long memory. If the same virtual environment needs to be configured next time, the stored virtual environment can be used directly without reconfiguration.
[0079] In some embodiments, the agent is also used to summarize the task after completion of the task, and share the summary results as graph memory, which can be understood as the memory of the entire task. Since multiple agents are organized in a graph manner (explained in detail below), it is called graph memory.
[0080] In some embodiments, the agent is optionally further configured to obtain the memory of the graph of the historical tasks when receiving a new task, and make decisions and take corresponding actions based on the memory of the graph. In other words, the memory of the graph can be shared between tasks, thereby improving efficiency.
[0081] In an embodiment of the present invention, optionally, the multiple agents are organized via a directed acyclic graph, wherein each node in the directed acyclic graph represents one of the agents, and each edge in the directed acyclic graph represents the communication between two of the agents located at both ends of the edge.
[0082] Please refer to Figure 5 , Figure 5 A directed acyclic graph corresponding to multiple agents of a multi-agent collaboration system according to an embodiment of the present invention, wherein the directed acyclic graph represents an organization with an overall goal, includes five nodes (A1, A2, A3, A4 and A5), each node represents an agent with a specific capability, and each edge in the directed acyclic graph represents the communication between two agents at both ends of the edge, wherein communication refers to sending information, such as Figure 5 As shown, A1 can communicate with A2, A3, A4, and A5, A2 can communicate with A1 and A4, and so on.
[0083] In the embodiment of the present invention, optionally, in the process of executing the specified task, each of the agents can follow the task instructions given by the agent at the previous level or the user, or give feedback suggestions to the agent at the previous level or the user. Figure 5 , Figure 5Among them, A1 is the parent agent of A2, A3, A4 and A5, and A2 is the parent agent of A4.
[0084] In the embodiment of the present invention, optionally, agents at the same level can simultaneously execute the assigned tasks, thereby improving the execution efficiency of the tasks. Figure 5 , A2 and A3 are agents of the same level. A1 can assign tasks to A2 and A3, and A2 and A3 can perform the assigned tasks at the same time.
[0085] In the embodiment of the present invention, the agents in the team used to complete the specified task are optionally all or part of the multiple agents. That is, when performing a specified task, not all agents in the system may be used, and the agents required to perform the specified task may be determined as needed and formed into a team. For example, Figure 5 The agents A1, A2, and A4 in the system form a team to complete the specified task. It should be noted that the selected agents also need to be organized according to the predetermined directed acyclic graph.
[0086] In the embodiment of the present invention, optionally, the multiple agents include a first agent and at least one second agent;
[0087] The first agent is used to perceive the designated task given by the user, divide the designated task into multiple subtasks, assign the multiple subtasks to the at least one second agent, formulate an execution plan for the designated task and notify the second agent, and generate a report result of the designated task and report it to the user through the dialogue interface or instruct the second agent to generate a report result of the designated task and report it to the user through the dialogue interface;
[0088] The second agent is used to make decisions and take corresponding actions according to the execution plan of the designated task given by the first agent.
[0089] For example, Figure 5 A1 is the first agent, A2, A3, A4 and A5 are the second agents, A1 perceives the specified task given by the user, divides the specified task into multiple subtasks, and assigns the multiple subtasks to A2, A3, A4 and A5, formulates the execution plan of the specified task and notifies A2, A3, A4 and A5.
[0090] It should be noted that if Figure 3As shown in the figure, when A1 sends a task instruction (Instruction and input) to other agents (such as A2), other agents (such as A2) can also give feedback suggestions (Feedback) on the task instruction given by A1. A1 can re-formulate the task instruction according to the feedback suggestions given by other agents (such as A2) and notify other agents (such as A2). The interaction between the two can be multiple times until other agents (such as A2) accept the task instruction given by A1. In addition, if A2 accepts the task instruction given by A1, it can not provide feedback suggestions.
[0091] In the embodiment of the present invention, optionally, the first agent is further used to select at least one second agent from other agents to perform the specified task according to the specified task, and the at least one second agent is all or part of the other agents. In other words, the first agent is used as the agent for selecting team members. It should be noted that the first agent needs to understand the capabilities of other agents.
[0092] In the embodiment of the present invention, optionally, at least some of the agents can complete the tasks given by the user independently. That is, some of the agents in the embodiment of the present invention can complete the collaborative tasks in the team as well as complete the tasks given by the user independently, which is highly flexible.
[0093] In the embodiment of the present invention, optionally, each of the intelligent agents can be used to perceive the user's dialogue instructions in real time during the execution of the specified task, and make decisions and take corresponding actions based on the user's dialogue instructions. That is to say, in the embodiment of the present invention, in the process of multiple intelligent agents collaborating to complete the specified task, humans can join in at any time, give suggestions on the execution of the specified task, or terminate the operation of the specified task, etc., which is highly flexible. Of course, the user's dialogue instructions may also be unrelated to the specified task. For example, the specified task is to train a large language model. During the training of the large language model, the user can ask a certain intelligent agent in the team (such as Hu (PM Assistant)), such as "Can you sing?", and "Hu (PM Assistant)" can make corresponding replies based on the user's question without affecting the normal process of training the large language model.
[0094] In the embodiment of the present invention, optionally, the agent can obtain the summary results of historical tasks (i.e., the memory of the above-mentioned figure), and perform the specified task based on the summary results, and the specified task is the same as or different from the agent members in the team of the historical task. That is to say, in the embodiment of the present invention, when performing the specified task, the team performing the specified task can obtain the summary results of other tasks performed in the past by other teams, and perform the specified task based on the summary results, and the members of the other teams can be the same as or different from the members of the team performing the task this time.
[0095] Please refer to Figure 6 , an embodiment of the present invention further provides a multi-agent collaboration method, which is applied to a multi-agent collaboration system in any of the above embodiments, wherein the multi-agent collaboration system includes a dialogue interface and a plurality of agents, wherein the plurality of agents include a first agent and at least one second agent;
[0096] The multi-agent collaboration method comprises:
[0097] Step S1: the first agent perceives a specified task given by a user;
[0098] Step S2: the first agent divides the designated task into a plurality of subtasks, and assigns the plurality of subtasks to the at least one second agent;
[0099] Step S3: the first agent formulates an execution plan for the specified task and notifies the second agent;
[0100] Step S4: Generate a report result of the designated task and report it to the user through the dialogue interface, or instruct the second agent to generate a report result of the designated task and report it to the user through the dialogue interface.
[0101] In some embodiments, optionally, the method further includes:
[0102] Step S0: selecting at least one second agent from other agents to perform the specified task according to the specified task, wherein the at least one second agent is all or part of the other agents.
[0103] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0105] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A multi-agent collaboration system realized by the computing power of an intelligent computing center, characterized in that: include: A dialogue interface and multiple agents, each of the agents having specific capabilities, the multiple agents being able to form a team and collaborate to complete a specified task in the form of dialogue communication in the dialogue interface, the dialogue interface being used to display the communication process between the multiple agents in the process of performing the specified task, and part or all of the decision-making process of the agents; Wherein, each of the intelligent agents comprises: A data module, used to store descriptions of relevant information of the agent, wherein the relevant information includes capabilities of the agent; The communication module is used to communicate with other agents and users; The decision-making module is used to make decisions and take corresponding actions on tasks given by other intelligent agents or users based on dialogue exchanges with other intelligent agents or users.
2. The system according to claim 1, characterized in that The capabilities of the agent include decision-making ability and the ability to use tools.
3. The system according to claim 2, characterized in that The decision module is also used to call external tools to make decisions on received tasks and take corresponding actions.
4. The system according to claim 1, characterized in that The decision module makes decisions on the tasks given by the other agents or users and takes corresponding actions, including at least one of the following: Follow the instructions given by other agents or users to make decisions and take corresponding actions; Providing feedback suggestions for the task instructions given by the other intelligent agents or users; Receive feedback from other agents or users, and make new decisions and take corresponding actions based on the feedback.
5. The system according to claim 1, characterized in that The intelligent agent also includes: A memory module, configured to perform at least one of the following: Recording the execution results of the agent after executing the task, and storing the recorded execution results as long memory; Recording the communication process information between the agent and other agents or users during the process of the agent performing the task, and deleting the communication process information after the agent performs the task; The decision-making and action process information of the agent in the process of performing the task is recorded, and the decision-making and action process information is used as working memory. After the agent performs the task, the working memory is deleted.
6. The system according to claim 5, characterized in that The agent is used to use the execution result of the historical task stored in the memory module as the execution result of the new task when the received new task is the same as the historical task stored in the memory module of the agent.
7. The system according to claim 5, characterized in that The agent is also used to summarize the task after it is completed and share the summary results as the memory of the graph.
8. The system according to claim 6, characterized in that The intelligent agent is also used to obtain the memory of the graph of historical tasks when receiving a new task, and make decisions and take corresponding actions based on the memory of the graph.
9. The system according to any one of claims 1 to 8, characterized in that: The plurality of agents include a first agent and at least one second agent; The first agent is used to perceive the designated task given by the user, divide the designated task into multiple subtasks, assign the multiple subtasks to the at least one second agent, formulate an execution plan for the designated task and notify the second agent, and generate a report result of the designated task and report it to the user through the dialogue interface or instruct the second agent to generate a report result of the designated task and report it to the user through the dialogue interface; The second agent is used to make decisions and take corresponding actions according to the execution plan of the designated task given by the first agent.
10. The system according to claim 9, characterized in that The first agent is further used to select at least one second agent from other agents to perform the specified task according to the specified task, and the at least one second agent is all or part of the other agents.
Citation Information
Cited By
Inter-agent communication cooperation method facing agent Internet, leader node, participation node and system
CN121150895A
Intelligent agent intercommunication cooperation method, leader node, participant node and system for intelligent agent internet
CN121150895B