A Software Engineering Agent Platform

By introducing a personalized customized agent platform into the software engineering management platform, the problems of lack of personalization and adaptability, human error and team collaboration in the existing technology are solved, automated collaboration and information sharing are realized, and the efficiency of software engineering is improved. Intelligence level and work efficiency.

CN117850860BActive Publication Date: 2024-10-01SHANGHAI OPEN CHUANSHEN INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410018249.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-05
Publication Date
2024-10-01
Estimated Expiration
2044-01-05

AI Technical Summary

Technical Problem

The existing software engineering management platform lacks personalization and adaptability, suffers from human errors and defects, has poor team collaboration and communication skills, and lacks automation and intelligence, which limits the efficiency and innovation of the engineering process.

Method used

Design a software engineering agent platform, including multiple independent agents. Each agent is personalized according to its role and type of work. It has semantic understanding model, perception, memory, planning and execution modules, and is assigned by the administrator agent. Tasks and evaluate execution outputs, enabling data sharing and automated collaboration.

Benefits of technology

Providing personalized intelligent support improves the overall intelligence level of software engineering, enhances the flexibility and efficiency of work processes, reduces human errors and system risks, and promotes team collaboration and information sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117850860B_ABST
    Figure CN117850860B_ABST
Patent Text Reader

Abstract

The present invention provides a software engineering intelligent agent platform, which belongs to the field of software engineering technology and solves the problems that the existing technology lacks personalization and adaptability, and has human errors and defects, and poor teamwork and communication capabilities. The platform includes multiple independently used intelligent agents. Among them, each intelligent agent is personalized according to the different characteristics and types of work of the intelligent agent role. In addition, data is shared between the intelligent agents, one of which is used as an administrator intelligent agent, and the other intelligent agents outside the administrator intelligent agent are used as domain intelligent agents. The administrator intelligent agent is used to assign work tasks to the domain intelligent agent; and to check and evaluate the execution output of the domain intelligent agent; and to implement the adjustment of the execution plan according to the execution status of the domain intelligent agent in the evaluation result. The domain intelligent agent is used as an intelligent agent in the corresponding professional field, responsible for executing tasks in different aspects, including product design, development, testing, and operation and maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software engineering, and in particular to a software engineering intelligent agent platform. Background Art

[0002] During the development process of software engineering projects, a software engineering management platform is usually introduced.

[0003] The existing software engineering management platform has the following shortcomings:

[0004] 1) Lack of personalization and adaptability. Existing software engineering management platforms often lack personalization and adaptability to different project requirements, which may result in some software solutions failing to meet specific environments or requirements.

[0005] 2) Human errors and defects. Human error is a common problem in software development. The lack of sufficient automation and intelligent technology to detect and correct these errors can lead to vulnerabilities and defects in the system.

[0006] 3) Teamwork and communication issues. Large software engineering projects involve multiple teams and stakeholders. Problems in communication and collaboration between teams will lead to insufficient information sharing, misunderstandings, or inconsistent decisions.

[0007] 4) Software maintenance and evolution. As time goes by, software systems are constantly updated and maintained, generating a large amount of historical data. Manual recording and accumulation is not enough to effectively address the challenges of software evolution and maintenance.

[0008] 5) Lack of automation and intelligence. Many software engineering processes still rely on manual operations and traditional methods, lacking automation and intelligence. This may limit the efficiency and innovation of engineering processes. Summary of the invention

[0009] In view of the above analysis, an embodiment of the present invention aims to provide a software engineering intelligent agent platform to solve the problems of the existing technology that lacks personalization and adaptability and has human errors and defects, and poor team collaboration and communication capabilities.

[0010] On the one hand, an embodiment of the present invention provides a software engineering agent platform, including a plurality of independently used agents; wherein:

[0011] Each agent is customized according to the different characteristics and types of work of the agent role; and the data between the agents are shared, one of the agents is used as the administrator agent, and the other agents outside the administrator agent are used as domain agents;

[0012] The administrator agent is used to assign work tasks to the domain agent; and to check and evaluate the execution output of the domain agent; and to adjust the execution plan according to the execution status of the domain agent in the evaluation result;

[0013] Domain agents are used as agents in corresponding professional fields and are responsible for performing tasks in different aspects, including product design, development, testing, and operation and maintenance.

[0014] The beneficial effects of the above technical solution are as follows: With the rise of large language model technology, intelligent agents now have the ability to understand human intentions. After introducing intelligent agents in the field of software engineering, enterprises can be provided with personalized intelligent agent platforms, thereby improving the overall intelligence level of software engineering. The above solution proposes a software engineering intelligent agent platform that includes multiple independently used intelligent agents. Different companies can create intelligent agents suitable for their own work processes according to their own needs and characteristics, so as to better meet their personalized requirements. Each employee can have an intelligent agent that matches his or her role. These intelligent agents can provide personalized support and assistance for different roles and job functions, and provide employees with more accurate work assistance.

[0015] Based on the further improvement of the above device, each intelligent agent has one or more built-in semantic understanding models, obtains the context information of the user's conversation through the semantic understanding model, and queries the knowledge base related to the matching of the context information to obtain the required information and display it;

[0016] Each intelligent agent has corresponding operating tools or callable APIs.

[0017] Furthermore, each intelligent body integrates a perception module, a memory module, a planning module, and an execution module;

[0018] The perception module has a built-in semantic understanding model, which is used to understand the context information of the input data or user dialogue, extract the required information, confirm the operation or decision corresponding to the information, and send it to the memory module and the planning module or execution module that matches the required information;

[0019] The memory module has a built-in storage model that is used to store the agent's past input data, the context of the user's conversation, the required information, and the operations or decisions corresponding to the required information;

[0020] The planning module is used to formulate an execution plan for the corresponding operation after receiving the decision sent by the perception module and send it to the execution module;

[0021] The execution module is used to call the corresponding operation tool or callable API to execute the operation or execution plan after receiving the operation sent by the perception module or the execution plan sent by the planning module.

[0022] Further, the operation tool includes at least one of a design tool, a development tool, a testing tool, an operation and maintenance tool, a project management tool, a code management tool, a data processing tool, a process management tool, a design tool, a document tool, and an analysis and reporting tool; and,

[0023] Each agent also has built-in image processing models and industry code models.

[0024] Furthermore, each intelligent body also integrates a storage module for enterprise private data and domain knowledge;

[0025] Enterprise private data includes enterprise codes, enterprise documents, and enterprise reports;

[0026] Domain knowledge includes industry knowledge, best practice processes, and standard processes used in software engineering.

[0027] Furthermore, each intelligent body also integrates infrastructure and support systems;

[0028] The infrastructure and support system include a large model base and a database base; the large model base stores a large model that supports intelligent agent learning and decision-making; the database base is equipped with a vector database, a graph database, and an object storage database for storing the knowledge system of the intelligent agent.

[0029] Furthermore, the infrastructure and support system also includes a user system; wherein,

[0030] The user system is used to manage and control user access, usage rights, and identity authentication.

[0031] Further, the administrator agent executes the following procedure:

[0032] Get input data or user chat data;

[0033] The input data or user chat data is processed through its built-in semantic understanding model to identify the user's intention and obtain a domain agent that matches the user's intention;

[0034] Assign work tasks to the identified domain agents in turn;

[0035] Obtain and inspect the execution output of each domain agent;

[0036] The execution output of the domain agent is used to evaluate whether the domain agent has accurately executed the user's intention. If so, the input data or user chat data, user intention, and the corresponding operations or decisions of each domain agent are stored. Otherwise, the semantic understanding model is replaced and the step of identifying the user's intention through its built-in semantic understanding model is returned.

[0037] Further, the domain agent performs the following steps:

[0038] Receive work tasks assigned by the administrator agent;

[0039] Identify whether the type of the work task is an execution task or a question-and-answer task;

[0040] For execution tasks, select an operation tool that matches the task, supplement the parameters required to execute the task by talking to the operator, and then use the operation tool to complete the task;

[0041] For question-answering tasks, knowledge question-answering dialogues are used to help users acquire the corresponding target knowledge.

[0042] Furthermore, domain agents include product agents, development agents, testing agents, operation and maintenance agents, and design agents.

[0043] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the invention, nor is it intended to limit the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.

[0045] Figure 1 A schematic diagram showing the composition of the software engineering agent platform in Example 1 is shown;

[0046] Figure 2 A schematic diagram of the business process of the software engineering agent platform in Example 2 is shown;

[0047] Figure 3 A schematic diagram showing the execution of a communication between an agent of the software engineering agent platform and a user in Example 2 is shown. DETAILED DESCRIPTION

[0048] Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.

[0049] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one further embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0050] Example 1

[0051] One embodiment of the present invention discloses a software engineering agent platform, such as Figure 1 As shown in the figure, it includes multiple independent agents. Each agent is equivalent to an expert in a field, and the specific type can be set according to the actual project. The software engineering agent platform is equivalent to a multi-agent system, including a team of experts in different professional fields.

[0052] Each agent is customized according to the different characteristics and types of work of the agent role, and the data between agents are shared.

[0053] In order to effectively manage this team, an administrator is needed. Figure 1 As shown, one of the agents is set as the administrator agent, and the other agents outside the administrator agent are set as domain agents (experts in a field). The participation of multiple agent roles can achieve multi-party collaboration.

[0054] The administrator agent (acting as an action observer) is used to assign work tasks to the domain agent; and to check and evaluate the execution output of the domain agent; and, based on the execution status of the domain agent in the evaluation results, adjust the execution plan and provide optimization suggestions for the agent.

[0055] Domain agents are used as agents in corresponding professional fields and are responsible for performing tasks in different aspects, including product design, development, testing, operation and maintenance, etc. Domain agents in different professional fields are responsible for tasks and functions in different aspects of the system.

[0056] As a multi-agent system, the software engineering agent platform involves interaction, collaboration and negotiation among multiple agents. This systematic interaction enables different agents to work together to achieve more complex tasks and projects. Agents can share information. This information sharing mechanism ensures smooth communication between agents to promote the effective transfer and sharing of knowledge, experience and data.

[0057] Compared with the prior art, with the rise of large language model technology, intelligent agents now have the ability to understand human intentions. After the introduction of intelligent agents in the field of software engineering, enterprises can be provided with personalized intelligent agent platforms, thereby improving the overall intelligence level of software engineering. This embodiment proposes a software engineering intelligent agent platform including multiple independently used intelligent agents. Different companies can create intelligent agents suitable for their own work processes according to their own needs and characteristics, so as to better meet their personalized requirements. Each employee can have an intelligent agent that matches his or her role. These intelligent agents can provide personalized support and assistance for different roles and job functions, and provide employees with more accurate work assistance.

[0058] Example 2

[0059] Based on the improvement of Example 1, each agent has one or more built-in semantic understanding models, through which the context information of the user's conversation is obtained, and the knowledge base related to the matching of the context information is queried to obtain the required information and display it. Each agent is supported by one or more large models to operate the agent platform. These models can provide the required background support and decision-making basis for the agent. The agent can obtain the conversation context information by understanding the intention of the current conversation, and match the relevant knowledge base accordingly. This knowledge management mechanism provides the agent with the required information to better perform tasks and make decisions.

[0060] Preferably, each agent has corresponding operation tools or callable APIs, which can be used by the agent to complete specific tasks or obtain required resources.

[0061] Preferably, each agent has a security restriction and principle setting module. Access and operation of the agent are restricted from a security perspective. Such restrictions and principles ensure the security of the agent platform and prevent unauthorized access or operation.

[0062] Preferably, each intelligent body integrates a perception module, a memory module, a planning module and an execution module.

[0063] The perception module (with perception capability) has a built-in semantic understanding model, which is used to semantically understand the contextual information of input data or user dialogue, extract the required information, confirm the operation or decision corresponding to the information, and send it to the memory module and the planning module or execution module that matches the required information. The intelligent agent needs to have the ability to perceive the environment and understand external information. This ability includes the perception and understanding of input data and context in order to make corresponding responses and decisions. Computer vision, natural language processing, sound recognition and other technologies can be used to help the intelligent agent perceive and understand information in the external environment. For example, use deep learning and convolutional neural networks for image recognition, and use natural language processing models for semantic understanding.

[0064] The memory module (with memory capability) has a built-in storage model for storing the agent's past input data, contextual information of user conversations, required information, and operations or decisions corresponding to the required information. The agent needs to have the ability to remember and learn, and be able to store and utilize past experience, knowledge, and data. This capability allows the agent to learn from past situations and make better decisions in similar situations. In terms of technical implementation, knowledge representation methods such as neural networks, memory networks, and attention mechanisms can help the agent store and utilize knowledge.

[0065] The planning module (with planning capabilities) is used to formulate an execution plan for the corresponding operation after receiving the decision sent by the perception module and send it to the execution module. The intelligent agent needs to be able to plan future actions and decisions. This ability involves formulating appropriate strategies and plans to achieve the desired goals and make appropriate decisions in complex situations. In terms of technical implementation, reinforcement learning algorithms can be used to train the intelligent agent to make appropriate decisions and action strategies.

[0066] The execution module (with execution capability) is used to call the corresponding operation tool or callable API to execute the operation or execution plan after receiving the operation sent by the perception module or the execution plan sent by the planning module. The intelligent agent puts the plan into practice by calling external tools and effectively executes various tasks and actions to achieve the established goals.

[0067] Preferably, the operating tools include at least one of design tools, development tools, testing tools, operation and maintenance tools, project management tools, code management tools, data processing tools, process management tools, design tools, document tools, and analysis and reporting tools.

[0068] Preferably, each intelligent agent also has a built-in image processing model and an industry code model.

[0069] Preferably, each intelligent body also integrates a storage module for enterprise private data and domain knowledge. Among them, enterprise private data includes enterprise code, enterprise documents, and enterprise reports. Domain knowledge includes industry knowledge, best practice processes, and standard processes for software engineering.

[0070] Preferably, each intelligent body is also integrated with infrastructure and support systems, wherein the infrastructure and support systems include a large model base, a database base, and a user system.

[0071] The large model base stores large models that support intelligent agent learning and decision-making.

[0072] The database base is equipped with a vector database, a graph database, and an object storage database, which are used to store the knowledge system of the intelligent body.

[0073] The user system is used to manage and control user access, usage rights, and identity authentication.

[0074] Preferably, the administrator agent performs the following procedures:

[0075] S1. Obtain input data or user chat data;

[0076] S2. Processing the input data or user chat data through its built-in semantic understanding model, identifying the user's intention, and obtaining a domain agent that matches the user's intention;

[0077] S3. Assign work tasks to the identified domain agents in turn;

[0078] S4. Obtain and check the execution output of each domain agent;

[0079] S5. The execution output of the domain agent is used to evaluate whether the domain agent has accurately executed the user's intention. If so, the input data or user chat data, user intention, and the corresponding operation or decision of each domain agent are stored. Otherwise, the semantic understanding model is replaced and the step of identifying the user's intention through its built-in semantic understanding model is returned.

[0080] Preferably, the domain agent performs the following steps:

[0081] S41. Receive work tasks assigned by the administrator agent;

[0082] S42. Identify whether the type of the work task is an execution task or a question-and-answer task;

[0083] S43. For execution tasks, select an operation tool that matches the task, supplement the parameters required to execute the task by talking to the operator, and then use the operation tool to complete the task;

[0084] S44. For question-answering tasks, help users acquire the corresponding target knowledge through knowledge question-answering dialogues.

[0085] Preferably, domain agents include product agents, development agents, testing agents, operation and maintenance agents, and design agents.

[0086] When implementing, Figure 2 As shown in the figure, the product architecture of the software engineering intelligent agent platform is divided into four levels:

[0087] The first layer: Agents. It includes various agent roles, which are responsible for perception, decision-making, and execution of specific tasks.

[0088] The second layer: toolset. The tools used by various roles in the software engineering process include process management tools, document tools, design tools, development tools, testing tools, operation and maintenance tools, project management tools, code management tools, data processing tools, analysis and reporting tools, etc.

[0089] The third layer: enterprise private data and domain knowledge. Private data such as enterprise code, documents, reports, etc., including the enterprise's internal code base, document materials and report information. General software engineering domain knowledge: industry knowledge, best practices and standard processes that are generally applicable to software engineering.

[0090] The fourth layer: infrastructure and support systems. Large model base: large models that support intelligent learning and decision-making. Database base: including vector databases, graph databases, object storage databases, etc., used to store the knowledge system of intelligent agents. User system: manage and control user access, permissions and authentication.

[0091] The business process of the software engineering agent platform can be found in Figure 3 As shown in the figure. This business process diagram describes the execution of a communication between the agent and the user:

[0092] 1. Matching Agents

[0093] The administrator agent recognizes the user's intention through semantic understanding technology and switches to the domain agent that matches the user's intention.

[0094] 2. Intention Understanding Execution

[0095] Domain agents use domain knowledge, enterprise knowledge, and their own tool sets to help users achieve their goals. There are two execution methods: A. Tools are needed to help users achieve their goals. Domain agents select the corresponding tools based on user intentions. They supplement the parameters required for execution through dialogue with users and then execute the tools. B. Help users acquire knowledge and achieve their goals through knowledge question-and-answer dialogues.

[0096] 3. Inspection and evaluation

[0097] The administrator agent records the entire process and evaluates whether the domain agent has accurately executed the user's intention. The recorded data can be used as knowledge for the agent to learn and upgrade.

[0098] It is worth noting that the contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in the field.

[0099] Compared with the prior art, the software engineering agent platform provided by this embodiment has the following beneficial effects:

[0100] 1. Personalized customization: The intelligent agent platform has the ability to customize and build customized intelligent agents according to the characteristics and needs of the enterprise. This personalized feature enables it to better adapt to the workflows and needs of different enterprises.

[0101] 2. Continuous evolution and adaptability: The intelligent agent platform is adaptive and can continuously evolve and learn during use to adapt to the changing needs of different projects and employees. This flexibility and continuous evolutionary capabilities enable it to keep pace with corporate development.

[0102] 3. Improve work efficiency and accuracy: The intelligent platform integrates industry knowledge and corporate wisdom of corresponding role attributes to provide employees with advice and guidance, greatly improving their work efficiency and accuracy.

[0103] 4. Strengthen teamwork and information sharing: Through the guidance of a centralized knowledge base and personalized intelligent agents, the problem of insufficient information sharing and misunderstanding is made up. This platform can promote teamwork and ensure that various information and experiences are shared efficiently.

[0104] 5. Reduce human errors and system risks: The intelligent platform has automation and intelligence capabilities, which can assist in detecting and correcting human errors and defects, help avoid potential system risks, and improve software stability and quality.

[0105] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or improvements over the prior art, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A software engineering agent platform, It is characterized in that It includes multiple independent intelligent agents; among them, Each agent is customized according to the different characteristics and types of work of the agent role; and the data between the agents are shared, one of the agents is used as the administrator agent, and the other agents outside the administrator agent are used as domain agents; Each intelligent body is integrated with a perception module, a memory module, a planning module and an execution module; wherein the perception module has a built-in semantic understanding model, which is used to semantically understand the input data or the context information of the user dialogue, extract the required information, confirm the operation or decision corresponding to the information, and send it to the memory module and the planning module or execution module that matches the required information; the memory module has a built-in storage model, which is used to store the past input data of the intelligent body, the context information of the user dialogue, the required information, and the operation or decision corresponding to the required information; the planning module is used to formulate an execution plan for the corresponding operation after receiving the decision sent by the perception module, and send it to the execution module; the execution module is used to call the corresponding operation tool or callable API after receiving the operation sent by the perception module or the execution plan sent by the planning module to execute the operation or execution plan; The administrator agent is used to assign work tasks to the domain agent; and to check and evaluate the execution output of the domain agent; and to adjust the execution plan according to the execution status of the domain agent in the evaluation result; the administrator agent performs the following procedures: Get input data or user chat data; The input data or user chat data is processed through its built-in semantic understanding model to identify the user's intention and obtain a domain agent that matches the user's intention; Assign work tasks to the identified domain agents in turn; Obtain and inspect the execution output of each domain agent; Evaluate whether the domain agent has accurately executed the user's intention through the execution output of the domain agent. If so, store the input data or user chat data, user intention, and the operation or decision corresponding to each domain agent. Otherwise, replace the semantic understanding model and return to execute the step of identifying the user's intention through its built-in semantic understanding model. Domain agents are used as agents in corresponding professional fields to perform tasks in different aspects, including product design, development, testing, and operation and maintenance. Domain agents perform the following steps: Receive work tasks assigned by the administrator agent; Identify whether the type of the work task is an execution task or a question-and-answer task; For execution tasks, select an operation tool that matches the task, supplement the parameters required to execute the task by talking to the operator, and then use the operation tool to complete the task; For question-answering tasks, knowledge question-answering dialogues are used to help users acquire the corresponding target knowledge.

2. The software engineering agent platform according to claim 1, It is characterized in that Each agent has one or more built-in semantic understanding models, which can obtain the context information of the user's conversation through the semantic understanding model, and query the knowledge base related to the context information to obtain the required information and display it; Each intelligent agent has corresponding operating tools or callable APIs.

3. The software engineering agent platform according to claim 1 or 2, It is characterized in that The operation tool includes at least one of a design tool, a development tool, a testing tool, an operation and maintenance tool, a project management tool, a code management tool, a data processing tool, a process management tool, a design tool, a document tool, and an analysis and reporting tool; and Each agent also has built-in image processing models and industry code models.

4. The software engineering agent platform according to claim 3, It is characterized in that Each intelligent body also integrates a storage module for enterprise private data and domain knowledge; Enterprise private data includes enterprise codes, enterprise documents, and enterprise reports; Domain knowledge includes industry knowledge, best practice processes, and standard processes used in software engineering.

5. The software engineering agent platform according to claim 4, It is characterized in that Each intelligent body also integrates infrastructure and support systems; among them, The infrastructure and support system include a large model base and a database base; the large model base stores a large model that supports intelligent agent learning and decision-making; the database base is equipped with a vector database, a graph database, and an object storage database for storing the knowledge system of the intelligent agent.

6. The software engineering agent platform according to claim 5, It is characterized in that The infrastructure and support system also includes a user system; wherein, The user system is used to manage and control user access, usage rights, and identity authentication.

7. The software engineering agent platform according to any one of claims 1, 2, 4, 5, and 6, It is characterized in that Domain agents include product agents, development agents, testing agents, operation and maintenance agents, and design agents.

Citation Information

Cited By

  • Power enterprise intelligent agent platform based on large language model

    CN121352371A