Information processing device, information processing method, and information processing system
The system addresses limitations in conventional generative AI by using a first agent to assign tasks to second agents, enabling autonomous task execution and adaptation, ensuring efficient completion of complex tasks.
Patent Information
- Application Number
- PCT/JP2026/021259
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-22
- Filing Date
- 2026-06-08
- Publication Date
- 2026-11-26
AI Technical Summary
Conventional generative AI systems are limited in the types of tasks they can handle and require user instructions that conform to their specifications, lacking autonomy in responding to various user inputs.
An information processing system utilizing a first agent and multiple second agents, where the first agent identifies and assigns tasks to appropriate second agents based on business specification data, allowing for autonomous task execution and reassignment if initial methods fail, with the capability to handle complex tasks through a task plan agent.
Enables the system to autonomously respond to diverse user instructions by breaking down tasks, executing them efficiently, and adapting to failures or complexities without human intervention, ensuring task completion.
Smart Images

Figure JP2026021259_26112026_PF_FP_ABST
Abstract
Description
Information Processing Apparatus, Information Processing Method, and Information Processing System
[0001] The present invention relates to an information processing apparatus, an information processing method, and an information processing system.
[0002] An apparatus that performs office work using generative AI (Artificial Intelligence) is known (for example, see Patent Document 1).
[0003] Japanese Unexamined Patent Application Publication No. 2025-026297
[0004] However, conventional generative AI has had problems in that the content of tasks it can handle is limited, and users need to issue instructions that conform to the AI's specifications.
[0005] Therefore, the present invention has been made in view of these points, and an object thereof is to provide information processing that autonomously responds to various instructions from a user.
[0006] In the information processing apparatus according to the first aspect of the present invention, information processing is executed by a first agent and a plurality of second agents each having different executable tasks, and when a first instruction text indicating the content of a business to be processed is input, the first agent identifies the second agent corresponding to a processing target task that constitutes the business to be processed, and outputs a second instruction text indicating the content of the processing target task to the identified second agent. The second agent executes the task indicated by the second instruction text in response to acquiring the second instruction text.
[0007] When the first instruction text is input, the first agent may refer to business specification data in which a reference task is associated with a processing method for one or more of the reference tasks, and output the second instruction text indicating the processing method of the reference task corresponding to the processing target task.
[0008] In the business specification data, a reference task and one or more second agents capable of executing the reference task are associated, and the first agent may identify a second agent capable of executing the reference task corresponding to the task to be processed by referring to the business specification data, and output the second instruction text to the identified second agent. If the result of the second agent that output the second instruction text executing the task to be processed does not satisfy predetermined conditions, the first agent may output the second instruction text to another second agent capable of executing the reference task corresponding to the task to be processed.
[0009] The second agent may execute the task to be processed based on the first processing method for the task to be processed indicated by the second instruction text, and if the task to be processed cannot be completed based on the first processing method, it may execute the task to be processed based on a second processing method different from the first processing method.
[0010] The second agent outputs the execution result of the task to be processed to the first agent, and the first agent determines whether the execution result is valid based on the first instruction text and the execution result. If the execution result is not valid, the first agent may output a third instruction text to the second agent indicating a different processing method from the second instruction text.
[0011] The first agent, upon receiving input of one of the first instruction texts, determines whether the number of executions of the task to be processed, which has received input of the execution result from the second agent, is greater than or equal to a predetermined number. If the number of executions of the task to be processed is greater than or equal to the predetermined number, the first agent may output a message indicating that the task to be processed cannot be executed.
[0012] The business to be processed consists of a plurality of tasks to be processed sequentially, the first agent identifies a plurality of second agents corresponding to each of the plurality of tasks to be processed, outputs a second instruction text to each of the identified second agents indicating the content of each of the plurality of tasks to be processed, each of the plurality of second agents outputs the execution result of the task to be processed corresponding to the input second instruction text to the first agent, and if the first agent receives the execution result of the task to be processed executed by the second agent from the second agent, it may determine the content of the subsequent tasks to be processed based on the execution result and output a second instruction text indicating the determined content.
[0013] The business to be processed consists of a plurality of tasks to be processed, and if the complexity of the business to be processed is greater than or equal to a predetermined level, the first agent may cause a task plan agent for determining the processing order of the plurality of tasks to be processed to determine the processing order of the plurality of tasks to be processed, and based on the processing order, output a plurality of second instruction texts to a plurality of second agents corresponding to each of the plurality of tasks to be processed, causing each of the plurality of tasks to be processed to execute.
[0014] In an information processing apparatus according to a second aspect of the present invention, information processing is performed by a first agent and a file loader agent capable of manipulating files. When the first agent receives a first instruction text indicating the content of a business to be processed, it refers to business specification data relating a reference task and one or more processing methods for the reference task. If the reference task corresponding to the business to be processed includes file manipulation, the first agent outputs a second instruction text to the file loader agent that includes the reference task corresponding to the business to be processed. The file loader agent then executes the task indicated by the second instruction text upon receiving the second instruction text.
[0015] In a third aspect of the present invention, the computer performs information processing using a first agent and a plurality of second agents, each capable of performing different tasks, the first agent, upon receiving a first instruction text indicating the content of a business to be processed, identifies a second agent corresponding to a task constituting the business to be processed, and outputs a second instruction text indicating the content of the task to be processed to the identified second agent; and the second agent, upon receiving the second instruction text, performs the task indicated by the second instruction text.
[0016] In an information processing system according to a fourth aspect of the present invention, the information processing system performs information processing using a first agent and a plurality of second agents, each capable of performing different tasks, wherein when the first agent receives a first instruction text indicating the content of a business to be processed, it identifies the second agent corresponding to the task to be processed that constitutes the business to be processed, outputs a second instruction text indicating the content of the task to be processed to the identified second agent, and the second agent executes the task indicated by the second instruction text in response to receiving the second instruction text.
[0017] According to the present invention, it is possible to provide information processing that autonomously responds to various instructions from the user.
[0018] This is a diagram illustrating the outline of the information processing system S according to an embodiment. This is a block diagram showing the configuration of the information processing device 1. This is a diagram showing an example of the data structure of the business specification data stored in the storage unit 14. This is a block diagram showing the configuration of the supervisor agent 11. This is a block diagram showing the configuration of the sub-agent 12. This is a block diagram showing another example of the configuration of the supervisor agent 11. This is a flowchart showing the processing flow in the information processing device 1. This is a diagram showing the configuration of the information processing system SA according to a modified example.
[0019] [Overview of Information Processing Device 1] Figure 1 is a diagram illustrating the overview of an information processing system S according to an embodiment. The information processing system S is a system for performing information processing related to business operations by coordinating multiple agents. Business operations that the information processing system S can process include, for example, invoice processing, order processing, payment management (reconciliation processing), account classification processing, or data format conversion processing for forms, etc. The information processing system S acquired from another information system has an information processing device 1, an external device 2, and an information terminal 3.
[0020] Information processing device 1 is a device for receiving instructions, including the content of the work, and for processing the instructed work. Information processing device 1 executes information processing with a supervisor agent 11 and a plurality of sub-agents 12. The supervisor agent 11 and sub-agents 12 are programs for executing predetermined processes using a Large-Scale Language Model (LLM). Hereafter, the supervisor agent 11 and sub-agents 12 together may be simply referred to as "agents".
[0021] As will be explained in detail later, the supervisor agent 11, based on a text indicating the content of the business to be processed (hereinafter referred to as the "first instruction text"), breaks down the business indicated in the first instruction text into tasks and outputs a text instructing the sub-agent 12 on the content of the tasks to be processed (hereinafter referred to as the "second instruction text"). Specifically, the first instruction text includes an outline of the information processing necessary to achieve a predetermined objective. The content of the business indicated in the first instruction text is typically realized by executing multiple tasks. A task includes a subdivided and concrete version of the content of the business indicated in the first instruction text. Specific examples of business and tasks will be explained later.
[0022] The supervisor agent has a task generation model. Based on the input first instruction text, the task generation model generates a second instruction text, identifies a sub-agent 12 that will perform the task indicated by the second instruction text, and outputs the second instruction text and agent identification information. The agent identification information is information that identifies the sub-agent 12 that will perform the task indicated by the second instruction text.
[0023] Subagent 12 executes the task indicated by the second instruction text in response to the input of the second instruction text. Subagent 12 has an executable code generation model that outputs code for executing the task when the second instruction text is input. The code may be, for example, a program for executing the task in a predetermined processing method, or it may be data defining a workflow that indicates how to process the task. Subagent 12 is connected to external device 2 in a communicative manner.
[0024] Each of the multiple sub-agents 12 can perform different tasks. For example, the sub-agents 12 can be classified as a communication agent 12A, a file loader agent 12B, a task plan agent 12C, a document analysis agent 12D, and an accounting specialist agent 12E.
[0025] Communication agent 12A is an agent for communicating via email, chat, etc., with users of the information processing services provided by the information processing device 1 (hereinafter simply referred to as "users") and with users of organizations outside the organization to which the user belongs.
[0026] The file loader agent 12B is an agent for performing various file operations (uploading, downloading, etc.), referencing or obtaining information provided by various information systems and information processing services, or inputting information into various information systems.
[0027] The task plan agent 12C adjusts the order and timing of task processing when the relationships between tasks constituting the task indicated by the first instruction text are complex. For example, the task plan agent adjusts the order or timing of task processing when the completion of multiple tasks is a condition for starting a particular task, or when there is a limited time when tasks can be performed (for example, when a start time or completion deadline is set for a particular task).
[0028] The document analysis agent 12D is an agent that analyzes the text contained in an input file when the file is input. The analysis processes provided by the document analysis agent include, for example, summarizing the text, checking the consistency between texts, and checking the consistency with various laws and regulations (for example, checking the legal issues of contracts and the consistency with internal rules). The files that the document analysis agent 12D analyzes include, for example, document files, spreadsheet files, presentation files, or image files that can be processed with OCR (Optical Character Recognition).
[0029] The accounting specialist agent 12E is an agent that answers user inquiries about accounting procedures. For example, the accounting specialist agent 12E responds to inquiries such as inquiries about account titles. The accounting specialist agent 12E may output information necessary to determine the content of the inquiry in response to a second instruction text containing the content of the inquiry from the supervisor agent 11. Alternatively, the accounting specialist agent 12E may take a second instruction text containing information necessary to determine the content of the inquiry as input and output an answer to the inquiry.
[0030] External device 2 is a device that provides each sub-agent with the information necessary to perform its task. Specifically, external device 2 is a device that provides information systems, data, or various information processing services (e.g., OCR) used by the organization to which the user belongs.
[0031] Information terminal 3 is a terminal used by users who utilize the information processing provided by information processing device 1. The user operates information terminal 3 and inputs the first instruction text.
[0032] The overview of the processing of the information processing device 1 will be explained using a specific use case as an example. This use case assumes processing for invoices. The information processing device 1 acquires the first instruction text (Figure 1 (1)). In this use case, the first instruction text states, "Based on the PDF file of the invoice received by email from the A invoice management system, input the invoice information into the B invoice management system."
[0033] When the first instruction text is input, the supervisor agent 11 identifies the sub-agent 12 corresponding to the task to be processed (Figure 1, (2)). As will be described in detail later, the information processing device 1 refers to business specification data that associates the task, the method of processing the task, and the sub-agent that executes the task, inputs the contents indicated by the business specification data and the first instruction text into the task generation model, and identifies the sub-agent 12 that will execute the task to be processed.
[0034] In this use case, supervisor agent 11 identifies file loader agent 12B as a sub-agent 12 that handles the tasks of "receiving invoices from invoice management system A" and "entering invoices into invoice management system B".
[0035] Supervisor agent 11 generates a second instruction text (Figure 1, (3)). In this use case, the second instruction text is written as follows, for example: "Perform the following steps: (1) Click the link in the email sent from Invoice Management System A, and enter the password in another email to download the invoice PDF. (2) Next, enter the invoice information into Invoice Management System B based on the information contained in the downloaded invoice PDF file."
[0036] The supervisor agent 11 outputs the generated second instruction text to the identified sub-agent 12 (file loader agent 12B) (Figure 1, (4)).
[0037] Subagent 12 executes the task based on the second instruction text (Figure 1, (5)). In this use case, file loader agent 12B inputs the second instruction text into the executable code generation model, causing the executable code generation model to output code to execute the task to be processed. Specifically, based on the second instruction text, file loader agent 12B identifies that the following steps are necessary to execute the task and outputs code to execute the following steps.
[0038] (a) Obtain email identification information (ID, subject, date and time sent, etc.) and a link to obtain a PDF file from the email sent from the A Invoice Management System. (b) Based on the email identification information obtained in (a), identify the email containing the password corresponding to the email identification information and obtain the password contained in the identified email. (c) Download the PDF file based on the obtained link and password. (d) Input the obtained PDF file into the OCR processing service and extract the information contained in the invoice. (e) Log in to the B Invoice Management System. (f) Input the information extracted in (d) into the B Invoice Management System.
[0039] The file loader agent 12B executes the code output by the executable code generation model. The sub-agent 12 outputs the task execution result to the supervisor agent 11 (Figure 1, (6)). In this use case, the file loader agent 12B may output to the supervisor agent 11 that the task has been completed, or it may output to the supervisor agent 11 the information entered into the B invoice management system. As will be described later, the information processing device 1 has multiple processors, and the sub-agent 12 may have the process of generating the code to execute the task and the process of executing the generated code executed by different processors.
[0040] The information processing device 1 is configured to perform information processing corresponding to received instructions by having a supervisor agent 11 that breaks down the tasks indicated by the received instructions into tasks, and a sub-agent 12 that executes tasks based on instructions from the supervisor agent 11. This configuration allows the device to provide information processing that autonomously responds to various instructions from users.
[0041] [Configuration of Information Processing Device 1] Figure 2 is a block diagram showing the configuration of the information processing device 1. The information processing device 1 includes a communication unit 13, a storage unit 14, and a control unit 15. The control unit 15 includes a supervisor agent 11 and a sub-agent 12.
[0042] The communication unit 13 is a communication interface for sending and receiving data with other devices via a network. The storage unit 14 is a storage medium including ROM (Read Only Memory), RAM (Random Access Memory), SSD (Solid State Drive), hard disk drive, etc. The storage unit 14 pre-stores programs to be executed by the control unit 15.
[0043] The memory unit 14 stores the task generation model used by the supervisor agent 11 for inference, and the executable code generation model used by each of the multiple sub-agents 12 for inference.
[0044] The storage unit 14 stores business specification data. FIG. 3 is a diagram illustrating an example of the data structure of the business specification data. In the business specification data, a “reference task”, a “processing method”, a “related system”, and a “sub-agent” are associated with each other. The “reference task” indicates a type of task. The “processing method” indicates a processing method for the reference task. The “related system” indicates a system that requires access to process a task. The “related system” includes a system name or ID, or an address for accessing the system (e.g., a URL (Uniform Resource Locator)). The “related system” may further include an ID, password, or the like for accessing the system. The “sub-agent” indicates a sub-agent capable of executing the reference task.
[0045] The control unit 15 is a processor such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit), for example. The control unit 15 functions as the supervisor agent 11 and the sub-agent 12 by executing a program stored in the storage unit 14.
[0046] Although FIG. 2 illustrates an example in which one control unit 15 operates the agents, the present invention is not limited to this. For example, the information processing apparatus 1 may include an independent processor for each agent. Further, the information processing apparatus 1 may include a plurality of processors for executing each functional unit of the agents.
[0047] FIG. 4 is a block diagram illustrating a configuration of the supervisor agent 11. The supervisor agent 11 includes an acquisition unit 111, a task identification unit 112, and an output unit 113.
[0048] The acquisition unit 111 acquires the first instruction text. As an example, the acquisition unit 111 may cause the information terminal 3 to display a chat interface, and acquire the first instruction text input to the displayed chat interface from the information terminal 3. In addition, the acquisition unit 111 may acquire the first instruction text stored in the storage unit 14, or may acquire the first instruction text from an external device (not shown).
[0049] When the first instruction text is input, the task identification unit 112 refers to the business specification data, and outputs the second instruction text indicating the processing method of the reference task corresponding to the task to be processed. As an example, the task identification unit 112 refers to the storage unit 14 and acquires the business specification data. The task identification unit 112 may determine the degree of similarity between each item included in the business specification data and the content included in the first instruction text, and acquire an item of business specification data with a high degree of similarity. The task identification unit 112 inputs the first instruction text and the acquired business specification data to the task generation model, and causes the task generation model to output the second instruction text. The output unit 113 outputs the second instruction text generated by the task generation model to the sub-agent 12.
[0050] Furthermore, the task identification unit 112 refers to the business specification data to identify a sub-agent capable of executing the reference task corresponding to the task to be processed. Specifically, the task identification unit 112 inputs the first instruction text and the acquired business specification data to the task generation model, and causes the task generation model to output agent identification information.
[0051] The task identification unit 112 outputs the second instruction text to the identified sub-agent. Specifically, the task identification unit 112 outputs the second instruction text output by the task generation model to the sub-agent indicated by the agent identification information output by the task generation model.
[0052] FIG. 5 is a block diagram showing the configuration of the sub-agent 12. The sub-agent 12 includes an acquisition unit 121, a task analysis unit 122, a task execution unit 123, and an output unit 124.
[0053] The acquisition unit 121 acquires the second instruction text. The task analysis unit 122 inputs the second instruction text into the execution code generation model and causes the execution code generation model to output code for executing the task.
[0054] The task execution unit 123 executes the task based on the code output by the task analysis unit 122. Specifically, it executes the code output by the task analysis unit 122. The output unit 124 outputs the execution result of the task executed by the task execution unit 123 to the supervisor agent 11.
[0055] For example, due to problems with the accessed system or the referenced files, the sub-agent 12 may not be able to execute the task as expected. Therefore, the supervisor agent 11 may be configured to output the second instruction text to another sub-agent 12 capable of executing the reference task corresponding to the task if the result of the sub-agent 12 that output the second instruction text does not meet the predetermined conditions.
[0056] Figure 6 is a block diagram showing another configuration example of the supervisor agent 11. The supervisor agent 11 shown in Figure 6 has a determination unit 114. As an example, the storage unit 14 stores a determination model that takes a second instruction text and the execution result of a task based on the second instruction text as input and determines whether or not the task execution result is valid. The determination model is a machine learning model that uses examples of valid task execution results as training data.
[0057] The determination unit 114 obtains the task execution result from the sub-agent 12. In addition to the task execution result, the determination unit 114 may further obtain a second instruction text input to the sub-agent 12 for outputting the execution result, or information for identifying the second instruction text. The determination unit 114 inputs the task execution result and the second instruction text input to the sub-agent 12 for outputting the execution result into a determination model and determines whether the task execution result is valid or not.
[0058] If the execution result of the task is determined to be valid, the determination unit 114 determines that the task is complete, and if there are subsequent tasks, the output unit 113 outputs a second instruction text to the sub-agent 12 for executing the subsequent tasks.
[0059] If the execution result of a task is not valid, the task identification unit 112 identifies another sub-agent 12 capable of executing other tasks corresponding to the task in question and generates a new second instruction text to output to the other sub-agent 12.
[0060] The processing of the information processing device 1 in this case will be explained based on a specific use case. In this use case, order information has been entered into the purchasing system, but the approval process required to process the order information is in an unapproved status in the approval system.
[0061] In this case, the first instruction text states, "When an order is submitted in the purchasing system, execute order processing if the order has been approved in the approval system." Supervisor agent 11 inputs the acquired first instruction text and business specification data into the task generation model, identifies file loader agent 12B as the agent to execute the task, and outputs the second instruction text to the task generation model.
[0062] In this case, the second instruction text includes the following: "(a) Log in to the purchasing system. (b) Obtain the order information entered into the purchasing system (order details, approval number, customer information, etc.). (c) Log in to the approval system. (d) Check in the approval system whether the approval corresponding to the order information has been approved. (e) If the approval has been approved in the approval system, process the order based on the order information."
[0063] The acquisition unit 121 acquires the second instruction text. The task analysis unit 122 inputs the second instruction text into the execution code generation model, causing the execution code generation model to output code for executing the task. The task execution unit 123 executes the task based on the code output by the execution code generation model. As a result, since the approval request corresponding to the order information was not approved in the approval system, the output unit 124 outputs an execution result to the supervisor agent 11 indicating that "the approval request corresponding to the order information was not approved."
[0064] The task identification unit 112 of the supervisor agent 11 inputs the first instruction text, the execution result obtained from the output unit 124 of the file loader agent 12B, and the business specification data into the task generation model. The task identification unit 112 identifies the communication agent 12A as the agent to execute the task and generates a new second instruction text indicating "send an email requesting the customer indicated in the order information to proceed with the approval process." The output unit 113 outputs the generated new second instruction text to the communication agent 12A.
[0065] The information processing device 1 is configured to determine the execution result of a task and, if the execution result is not satisfactory, to have another agent execute the task. This allows predetermined tasks to be completed without human intervention, and enables autonomous responses to various instructions from the user.
[0066] Incidentally, if the same sub-agent 12 can perform the same task using different processing methods, and the execution result of the sub-agent 12 is not valid, the supervisor agent 11 may be configured to instruct the sub-agent 12 to perform the task using a different processing method than the one it previously executed.
[0067] In this case, if the determination unit 114 determines that the execution result of the task output by the sub-agent 12 is invalid, the task identification unit 112 generates a third instruction text indicating that the task should be executed using a different processing method than the second instruction text. The output unit 113 outputs the third instruction text generated by the task identification unit 112 to the sub-agent 12.
[0068] Specifically, the process in this case will be explained based on a use case in which the step of extracting invoice information from a PDF invoice file can be performed using either OCR processing service A or OCR processing service B. As an example, the task identification unit 112 outputs a second instruction text that instructs the system to "extract invoice information using OCR processing service A".
[0069] As previously explained, sub-agent 12 executes the task based on the input second instruction text. As a result, sub-agent 12 outputs an execution result to the supervisor agent indicating that the task could not be executed. For example, the execution result may indicate that access to OCR processing service A was not possible for some reason.
[0070] As previously explained, the determination unit 114 determines whether the execution result is valid. If it determines that the execution result is not valid, the task identification unit 112 generates a third instruction text indicating that the task should be executed using a different processing method (for example, by using OCR processing service B to perform OCR processing). The output unit 113 outputs the third instruction text to the sub-agent 12.
[0071] In this way, the supervisor agent 11 is configured to generate a third instruction text that instructs the task to be executed using a different processing method than the one used if the execution result of the task is not satisfactory, thereby enabling the task to be completed autonomously.
[0072] In such use cases, a problem may arise where processing becomes looped between the supervisor agent 11 and the sub-agent 12, preventing the task from being completed. Therefore, to avoid loops caused by such uncompleted tasks, the information processing device 1 may be configured to output a message and terminate processing if the task is executed more than a predetermined number of times.
[0073] Specifically, the supervisor agent 11 determines whether the number of executions of the task to be processed, which has received execution result input from the sub-agent 12 in response to the input of a first instruction text, exceeds a predetermined number of times. If the number of executions of the task to be processed exceeds the predetermined number of times, the supervisor agent 11 outputs a message indicating that the task to be processed cannot be executed.
[0074] For example, the second instruction text and the third instruction text include the number of times the task to be processed has been executed. That is, when the task identification unit 112 generates the third instruction text, it increments the execution count and generates a third instruction text that includes the incremented execution count. The determination unit 114 determines whether the task execution result is valid based on the execution result output by the sub-agent 12 and the third instruction text.
[0075] The determination unit 114 determines the number of times the task has been executed if the execution result of the task is not valid. If the number of executions included in the third instruction text is greater than or equal to a predetermined number, it determines to output a predetermined message. The predetermined number is set so as not to overload the information processing resources of the information processing device 1. For example, the predetermined number is three. The predetermined message is a message indicating that the task could not be completed. The predetermined message may include information indicating which task was not completed. If the number of times the task has been executed is greater than or equal to the predetermined number, the output unit 113 outputs the predetermined message to the information terminal 3.
[0076] By configuring the information processing device 1 to prevent it from executing tasks more than a predetermined number of times, it is possible to avoid a processing loop with the sub-agent 12.
[0077] Furthermore, if the same task can be executed by multiple processing methods, the sub-agent 12 may be configured to execute the task by another method if the task cannot be completed by the specified processing method. That is, the sub-agent 12 may execute the task based on the first processing method of the task indicated by the second instruction text, and if the task cannot be completed based on the first processing method, it may execute the task based on a second processing method different from the first processing method.
[0078] In the invoice processing use case described above, the task analysis unit 122 identifies the processing method as follows and outputs code to execute the task. The following processing method indicates that if invoice information cannot be extracted using method (E1), the task will be executed to extract the invoice information using method (E3), and if the invoice information cannot be extracted using method (E3), an error message will be output.
[0079] (a) Obtain email identification information (ID, subject, date and time sent, etc.) and a link to obtain a PDF file from the email sent from the A Invoice Management System. (b) Based on the email identification information obtained in (a), identify the email containing the password corresponding to the email identification information and obtain the password contained in the identified email. (c) Download the PDF file based on the obtained link and password. (d1) Input the obtained PDF file into OCR processing service A and extract the information contained in the invoice. (d2) If the extraction of invoice information is successful, proceed to (e). (d3) Input the obtained PDF file into OCR processing service A and extract the information contained in the invoice. (d4) If the extraction of invoice information is successful, proceed to (e). (d5) Output an error message. (e) Log in to the B Invoice Management System. (f) Input the information extracted in (d1) or (d3) into the B Invoice Management System.
[0080] The task execution unit 123 executes the task based on the code generated by the task analysis unit 122. With the sub-agent 12 configured in this way, the information processing device 1 can autonomously execute tasks.
[0081] Incidentally, if the business to be processed consists of multiple tasks to be processed sequentially, the supervisor agent 11 may be configured to sequentially generate multiple different second instruction texts for each task and output the second instruction text to each of the multiple sub-agents 12. The processing in this case will be explained using the use case of reconciliation of billing information as an example.
[0082] In this case, the first instruction text states, "For invoices that have already been sent, if payment has been received, perform the reconciliation process for the invoice information; if payment has not been received, send a follow-up email to the client." In this case, the business specification data is assumed to include methods for obtaining issued invoice information, methods for obtaining bank account payment information, and methods for performing the reconciliation process.
[0083] The supervisor agent 11 identifies a sub-agent 12 corresponding to each of the multiple tasks to be processed, and outputs a second instruction text to each identified sub-agent 12 that indicates the content of each of the multiple tasks to be processed.
[0084] The task identification unit 112 generates second instruction data based on the first instruction text and the business specification data, indicating "to obtain issued invoice data," "to obtain payment information," "to perform reconciliation processing for reconcilable invoice data," and "to output unreconcilable invoice data as execution results." The output unit 113 then outputs the generated second instruction data to the file loader agent 12B.
[0085] Sub-agent 12 outputs the execution result of the task to be processed corresponding to the input second instruction text to supervisor agent 11. In this case, the execution result output by file loader agent 12B includes information indicating the invoice data that could not be reconciled.
[0086] When the supervisor agent 11 receives the execution result of a task to be processed by the sub-agent 12 from the sub-agent 12, it determines the content of subsequent tasks to be processed based on the execution result and outputs a second instruction text indicating the determined content. The task identification unit 112 generates a second instruction text to instruct the communication agent 12A to send a follow-up email to the person in charge regarding the invoice data, based on the invoice data that could not be reconciled as indicated by the execution result. The output unit 113 outputs the generated second instruction text to the communication agent 12A.
[0087] When the relationships between tasks are complex, the information processing device 1 causes the task plan agent 12C to determine the processing order of the tasks. The storage unit 14 has a sequence determination model that has been trained to output the processing order of each of the multiple tasks based on a second instruction text that contains the contents of the multiple tasks to be processed.
[0088] In other words, if the complexity of the task to be processed exceeds a predetermined level, the supervisor agent 11 instructs the task plan agent 12C to determine the processing order of multiple tasks to be processed. A complexity level exceeding a predetermined level means, for example, that the number of tasks included in the task exceeds a threshold, the number of types of tasks included in the task exceeds a threshold, or the number of branching processes exceeds a threshold. In this case, the task identification unit 112 generates a second instruction text that includes the content of the tasks constituting the task to be processed and instructs the task plan agent 12C to determine the processing order of the tasks. The output unit 113 then outputs the generated second instruction text to the task plan agent 12C.
[0089] The task analysis unit 122 of the task plan agent 12C inputs the second instruction text into the sequence determination model and outputs execution results indicating the execution order of each task. The output unit 124 outputs the execution results indicating the execution order of the tasks to the supervisor agent 11.
[0090] Then, the supervisor agent 11 outputs multiple second instruction texts to multiple sub-agents 12, each corresponding to a multiple processing task, based on the processing order, instructing each of the multiple processing tasks to execute that task.
[0091] By configuring the information processing device 1 in this way so that the task plan agent 12C adjusts the execution order of tasks, it becomes possible to autonomously perform complex tasks.
[0092] <Other Use Cases> One example of a use case for the information processing device 1 is to download a report entered into an EDI system, convert the data format, and input it into another system. In this case, the first instruction text states, "Input the report information entered into the EDI system into the accounting system." Furthermore, the business specification data in this case is assumed to include the method for obtaining the report information from the EDI system, the method for converting the data format, and the method for registering the report data in the accounting system.
[0093] In this case, the supervisor agent 11, having acquired the first instruction text, inputs the first instruction text and the business specification data into the task identification model, as already explained, and generates a second instruction text to cause the file loader agent 12B to execute the task to be processed. In this case, the second instruction text includes tasks to execute a task to download a report file from the EDI system, a task to convert the format of the data contained in the report file into a format for registration in the accounting system, and a task to register the data in the accounting system. The file loader agent 12B, having received the second instruction text, generates code corresponding to the second instruction text and executes the code corresponding to the second instruction text.
[0094] [Processing flow in Information Processing Device 1] Figure 7 is a flowchart showing the processing flow in Information Processing Device 1. The flowchart shown in Figure 7 starts from the point when the supervisor agent 11 acquires the first instruction text.
[0095] The acquisition unit 111 acquires the first instruction text (S01). The task identification unit 112 acquires the business specification data (S02). The task identification unit 112 inputs the first instruction text and the business specification data into the task generation model, outputs agent identification information, and generates the second instruction text (S03). The output unit 113 outputs the second instruction text to the sub-agent 12 indicated by the agent identification information (S04).
[0096] The task analysis unit 122 inputs the second instruction text into the execution code generation model and generates code to execute the task (S05). The task execution unit 123 executes the generated code (S06). The output unit 124 outputs the task execution result to the supervisor agent 11 (S07).
[0097] The determination unit 114 determines whether the execution result is valid or not based on the execution result and the second instruction text (S08). If the task execution result is valid (YES in S08), the information processing device 1 terminates the process.
[0098] If the task execution result is not valid (NO in S08), the determination unit 114 determines whether the number of task executions included in the task execution result is greater than or equal to a predetermined number. If the number of task executions is greater than or equal to the predetermined number (YES in S09), the information processing device 1 notifies that the task cannot be completed (S12) and terminates processing.
[0099] If the number of task executions included in the task execution result is not equal to or greater than a predetermined number (NO in S09), the task identification unit 112 generates a third instruction text (S10). The output unit 113 outputs the third instruction text to the sub-agent 12 (S11), and the process proceeds to S05.
[0100] [Effects of Information Processing Device 1] The Information Processing Device 1 is configured to perform information processing corresponding to received instructions by having a supervisor agent 11 that breaks down the tasks indicated by the received instructions into tasks, and a sub-agent 12 that executes tasks based on the instructions from the supervisor agent 11. This enables it to provide information processing that autonomously responds to various instructions from users.
[0101] <Modification> In the above description, an example was given in which a supervisor agent and sub-agents operate in the information processing device 1. However, the information processing system may be configured in which each agent operates in a plurality of information processing devices. Figure 8 shows the configuration of the information processing system SA according to the modification. The information processing system SA consists of an information processing device 1A and a plurality of information processing devices 1B. The information processing device 1A has a supervisor agent 11. The information processing device 1B has sub-agents 12. The information processing device 1A and the information processing device 1B are connected to each other via a network so as to be able to communicate.
[0102] Although the present invention has been described above using embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes are possible within the scope of its gist. For example, although the information processing device 1 has been described as executing tasks by a plurality of sub-agents, tasks may be executed by a single sub-agent. Also, for example, all or part of the device can be configured by functionally or physically distributing and integrating in any unit. Furthermore, new embodiments resulting from any combination of the plurality of embodiments are also included in the embodiments of the present invention. The effects of the new embodiments resulting from the combinations are combined with the effects of the original embodiments.
[0103] 1. Information processing device 2. External device 3. Information terminal 11. Supervisor agent 12. Sub-agent 13. Communication unit 14. Storage unit 15. Control unit 111. Acquisition unit 112. Task identification unit 113. Output unit 114. Determination unit 121. Acquisition unit 122. Task analysis unit 123. Task execution unit 124. Output unit
Claims
1. An information processing device that performs information processing using a first agent and a plurality of second agents, each capable of performing different tasks, wherein when the first agent receives a first instruction text indicating the content of a business to be processed, it identifies the second agent corresponding to the task to be processed that constitutes the business to be processed, outputs a second instruction text indicating the content of the task to be processed to the identified second agent, and the second agent executes the task indicated by the second instruction text in response to receiving the second instruction text.
2. The information processing apparatus according to claim 1, wherein when the first instruction text is input, the first agent refers to business specification data relating a reference task and one or more processing methods for the reference task, and outputs the second instruction text indicating the processing method for the reference task corresponding to the task to be processed.
3. The information processing apparatus according to claim 2, wherein the business specification data includes a reference task and one or more second agents capable of executing the reference task, and the first agent identifies a second agent capable of executing the reference task corresponding to the task to be processed by referring to the business specification data, and outputs the second instruction text to the identified second agent.
4. The information processing apparatus according to claim 3, wherein the first agent outputs the second instruction text to another second agent capable of executing the reference task corresponding to the processing task if the result of the second agent that output the second instruction text executing the processing target task does not satisfy predetermined conditions.
5. The information processing apparatus according to claim 1, wherein the second agent executes the task to be processed based on a first processing method for the task to be processed indicated by the second instruction text, and if the task to be processed is not completed based on the first processing method, executes the task to be processed based on a second processing method different from the first processing method.
6. The information processing apparatus according to claim 1, wherein the second agent outputs the execution result of the task to be processed to the first agent, the first agent determines whether the execution result is valid based on the first instruction text and the execution result, and if the execution result is not valid, outputs a third instruction text to the second agent indicating a different processing method from the second instruction text.
7. The information processing apparatus according to claim 6, wherein the first agent determines whether the number of times the task to be processed has been executed, based on the input of the execution result from the second agent in response to the input of one of the first instruction texts, is greater than or equal to a predetermined number of times, and outputs a message indicating that the task to be processed cannot be executed if the number of times the task to be processed is greater than or equal to a predetermined number of times.
8. The information processing apparatus according to claim 1, wherein the business to be processed consists of a plurality of tasks to be processed that are processed sequentially, the first agent identifies a plurality of second agents corresponding to each of the plurality of tasks to be processed, outputs a second instruction text to each of the identified plurality of second agents indicating the content of each of the plurality of tasks to be processed, each of the plurality of second agents outputs to the first agent the execution result of the task to be processed corresponding to the input second instruction text, and when the first agent receives the execution result of the task to be processed executed by the second agent from the second agent, it determines the content of the subsequent tasks to be processed based on the execution result and outputs a second instruction text indicating the determined content.
9. The information processing apparatus according to claim 1, wherein the business to be processed is composed of a plurality of tasks to be processed, and the first agent, when the complexity of the business to be processed is greater than or equal to a predetermined level, causes a task plan agent for determining the processing order of the plurality of tasks to be processed to determine the processing order of the plurality of tasks to be processed, and outputs a plurality of second instruction texts to a plurality of second agents corresponding to each of the plurality of tasks to be processed, based on the processing order, for each of the plurality of tasks to be processed.
10. An information processing device that performs information processing using a first agent and a file loader agent capable of manipulating files, wherein when the first agent receives a first instruction text indicating the content of a business to be processed, it refers to business specification data relating a standard task and one or more processing methods for the standard task, and if the standard task corresponding to the business to be processed includes file manipulation, it outputs a second instruction text to the file loader agent that includes the standard task corresponding to the business to be processed, and the file loader agent executes the task indicated by the second instruction text in response to receiving the second instruction text.
11. An information processing method in which a computer performs information processing using a first agent and a plurality of second agents, each capable of performing different tasks, the method comprising: the first agent, upon receiving input of a first instruction text indicating the content of a business to be processed, identifies a second agent corresponding to a task constituting the business to be processed, and outputs a second instruction text indicating the content of the task to be processed to the identified second agent; and the second agent, upon receiving the second instruction text, executes the task indicated by the second instruction text.
12. An information processing system that performs information processing using a first agent and a plurality of second agents, each capable of performing different tasks, wherein when the first agent receives a first instruction text indicating the content of a business to be processed, it identifies the second agent corresponding to the task to be processed that constitutes the business to be processed, outputs a second instruction text indicating the content of the task to be processed to the identified second agent, and the second agent executes the task indicated by the second instruction text in response to receiving the second instruction text.
