# US 2026/0073154 A1 · Plan bank for api chains in routing engine for generative model-based digital assistant

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0073154 A1
- Document ID: US20260073154A1
- Status: Published application
- Kind: A1
- Application number: 19/095,559
- Filed: 2025-03-31
- Published: 2026-03-12
- Earliest claimed: 2024-09-06
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Bhagya Gayathri Hettige; Yakupitiyage Don Thanuja Samodhye Dharmasiri; Ying Xu; Thanh Long Duong
- Web page: https://patentgrep.com/patent/US20260073154A1

## CPC

- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06F 40/35: Discourse or dialogue representation
- G06N 3/0475: Generative networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques for routing a user input to an action and associated parameters to generate a response to an utterance using a digital assistant and a plan bank for API chains are disclosed. A system can access, based on an utterance, a plan bank that includes composite tools. Each of the composite tools includes: a chain of tools including: application programming interface (API) tools or other composite tools, and associated logic. The system can generate, by a first generative artificial intelligence model, an action plan including one of the composite tools. The system can execute the action plan to obtain response data by executing actions associated with each of the API tools or the other composite tools. The system can generate, by a second generative artificial intelligence model, a response to the utterance based on the response data and can provide the response to the user.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving an utterance from a user in an inference mode associated with an agent;
accessing, based on the utterance, a plan bank that comprises a plurality of tools comprising one or more composite tools, wherein each of the one or more composite tools comprises: (i) a chain of tools including: a plurality of application programming interface (API) tools, a plurality of other composite tools, or any combination thereof, and (ii) associated logic;
generating, by a first generative artificial intelligence model based on the plan bank and the utterance, an action plan comprising a composite tool of the one or more composite tools;
executing the action plan to obtain response data, wherein executing the action plan comprises executing one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof associated with the composite tool based on the associated logic to obtain the response data;
generating, by a second generative artificial intelligence model, a response to the utterance based on the response data; and
providing the response to the user.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the chain of tools is a predefined sequence of the plurality of API tools, the plurality of other composite tools, or any combination thereof, and the associated logic includes business logic, input-output logic, conditional logic, or any combination thereof for completing one or more tasks using the one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
prior to receiving the utterance from the user in the inference mode, receiving a design instruction from the user or a different user in a design mode associated with the agent, wherein the design instruction comprises the utterance or a substantially similar variant of the utterance and domain knowledge instructions to the agent that explain a chain of logic for executing the one or more actions to arrive at the response data or a substantially similar variant of the response data for responding to the utterance or the substantially similar variant of the utterance;
generating, by a third generative artificial intelligence model based on the design instruction, the composite tool; and
storing the composite tool in the plan bank.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein:
the domain knowledge instructions comprise: (i) the plurality of API tools, the plurality of other composite tools, or any combination thereof to include in the composite tool, and (ii) a set of arguments to be used by the composite tool for executing the one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof; and
generating the composite tool comprises creating, based on the design instruction, a predefined sequence of the plurality of API tools, the plurality of other composite tools, or any combination thereof, and the associated logic for the composite tool, and one or more placeholder arguments for the set of arguments to be used by the composite tool for executing the one or more actions.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising generating, by a fourth generative artificial intelligence model based on the design instruction, metadata for the composite tool, wherein the metadata comprises: (i) a name for the composite tool, (ii) a description for the composite tool, and (iii) a list of the arguments to be used by the composite tool for executing the one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof associated with the composite tool, and wherein the composite tool is stored in association with the metadata in the plan bank.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein:
the description for the composite tool includes a statement identifying individual tools that are to be superseded by the composite tool; and
the first generative artificial intelligence model generates the action plan based on the plan bank, the utterance, and the metadata.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein:
the first generative artificial intelligence model is a same or different model from that of the second generative artificial intelligence model;
the first generative artificial intelligence model is a same or different model from that of the third generative artificial intelligence model; and
the third generative artificial intelligence model is a same or different model from that of the fourth generative artificial intelligence model.

### Claim 8

A system comprising:
one or more processors; and
one or more computer-readable media storing instructions which, when executed by the one or more processors, cause the system to perform operations comprising:
receiving an utterance from a user in an inference mode associated with an agent;
accessing, based on the utterance, a plan bank that comprises a plurality of tools comprising one or more composite tools, wherein each of the one or more composite tools comprises: (i) a chain of tools including: a plurality of application programming interface (API) tools, a plurality of other composite tools, or any combination thereof, and (ii) associated logic;
generating, by a first generative artificial intelligence model based on the plan bank and the utterance, an action plan comprising a composite tool of the one or more composite tools;
executing the action plan to obtain response data, wherein executing the action plan comprises executing one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof associated with the composite tool based on the associated logic to obtain the response data;
generating, by a second generative artificial intelligence model, a response to the utterance based on the response data; and
providing the response to the user.

### Claim 9 (depends on 8)

The system of claim 8, wherein the chain of tools is a predefined sequence of the plurality of API tools, the plurality of other composite tools, or any combination thereof, and the associated logic includes business logic, input-output logic, conditional logic, or any combination thereof for completing one or more tasks using the one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof.

### Claim 10 (depends on 8)

The system of claim 8, wherein the operations further comprise:
prior to receiving the utterance from the user in the inference mode, receiving a design instruction from the user or a different user in a design mode associated with the agent, wherein the design instruction comprises the utterance or a substantially similar variant of the utterance and domain knowledge instructions to the agent that explain a chain of logic for executing the one or more actions to arrive at the response data or a substantially similar variant of the response data for responding to the utterance or the substantially similar variant of the utterance;
generating, by a third generative artificial intelligence model based on the design instruction, the composite tool; and
storing the composite tool in the plan bank.

### Claim 11 (depends on 10)

The system of claim 10, wherein:
the domain knowledge instructions comprise: (i) the plurality of API tools, the plurality of other composite tools, or any combination thereof to include in the composite tool, and (ii) a set of arguments to be used by the composite tool for executing the one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof; and
generating the composite tool comprises creating, based on the design instruction, a predefined sequence of the plurality of API tools, the plurality of other composite tools, or any combination thereof, and the associated logic for the composite tool, and one or more placeholder arguments for the set of arguments to be used by the composite tool for executing the one or more actions.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operations further comprise generating, by a fourth generative artificial intelligence model based on the design instruction, metadata for the composite tool, wherein the metadata comprises: (i) a name for the composite tool, (ii) a description for the composite tool, and (iii) a list of the arguments to be used by the composite tool for executing the one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof associated with the composite tool, and wherein the composite tool is stored in association with the metadata in the plan bank.

### Claim 13 (depends on 12)

The system of claim 12, wherein:
the description for the composite tool includes a statement identifying individual tools that are to be superseded by the composite tool; and
the action plan is generatable using the first generative artificial intelligence model and based on the plan bank, the utterance, and the metadata.

### Claim 14 (depends on 12)

The system of claim 12, wherein:
the first generative artificial intelligence model is a same or different model from that of the second generative artificial intelligence model;
the first generative artificial intelligence model is a same or different model from that of the third generative artificial intelligence model; and
the third generative artificial intelligence model is a same or different model from that of the fourth generative artificial intelligence model.

### Claim 15

One or more non-transitory computer-readable media storing instructions which, when executed by one or more processors, cause a system to perform operations comprising:
receiving an utterance from a user in an inference mode associated with an agent;
accessing, based on the utterance, a plan bank that comprises a plurality of tools comprising one or more composite tools, wherein each of the one or more composite tools comprises: (i) a chain of tools including: a plurality of application programming interface (API) tools, a plurality of other composite tools, or any combination thereof, and (ii) associated logic;
generating, by a first generative artificial intelligence model based on the plan bank and the utterance, an action plan comprising a composite tool of the one or more composite tools;
executing the action plan to obtain response data, wherein executing the action plan comprises executing one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof associated with the composite tool based on the associated logic to obtain the response data;
generating, by a second generative artificial intelligence model, a response to the utterance based on the response data; and
providing the response to the user.

### Claim 16 (depends on 15)

The one or more non-transitory computer-readable media of claim 15, wherein the chain of tools is a predefined sequence of the plurality of API tools, the plurality of other composite tools, or any combination thereof, and the associated logic includes business logic, input-output logic, conditional logic, or any combination thereof for completing one or more tasks using the one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof.

### Claim 17 (depends on 15)

The one or more non-transitory computer-readable media of claim 15, wherein the operations further comprise:
prior to receiving the utterance from the user in the inference mode, receiving a design instruction from the user or a different user in a design mode associated with the agent, wherein the design instruction comprises the utterance or a substantially similar variant of the utterance and domain knowledge instructions to the agent that explain a chain of logic for executing the one or more actions to arrive at the response data or a substantially similar variant of the response data for responding to the utterance or the substantially similar variant of the utterance;
generating, by a third generative artificial intelligence model based on the design instruction, the composite tool; and
storing the composite tool in the plan bank.

### Claim 18 (depends on 17)

The one or more non-transitory computer-readable media of claim 17, wherein:
the domain knowledge instructions comprise: (i) the plurality of API tools, the plurality of other composite tools, or any combination thereof to include in the composite tool, and (ii) a set of arguments to be used by the composite tool for executing the one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof; and
generating the composite tool comprises creating, based on the design instruction, a predefined sequence of the plurality of API tools, the plurality of other composite tools, or any combination thereof, and the associated logic for the composite tool, and one or more placeholder arguments for the set of arguments to be used by the composite tool for executing the one or more actions.

### Claim 19 (depends on 18)

The one or more non-transitory computer-readable media of claim 18, wherein the operations further comprise generating, by a fourth generative artificial intelligence model based on the design instruction, metadata for the composite tool, wherein the metadata comprises: (i) a name for the composite tool, (ii) a description for the composite tool, and (iii) a list of the arguments to be used by the composite tool for executing the one or more actions associated with each of the plurality of API tools, the plurality of other composite tools, or any combination thereof associated with the composite tool, and wherein the composite tool is stored in association with the metadata in the plan bank.

### Claim 20 (depends on 19)

The one or more non-transitory computer-readable media of claim 19, wherein:
the description for the composite tool includes a statement identifying individual tools that are to be superseded by the composite tool;
the action plan is generatable using the first generative artificial intelligence model and based on the plan bank, the utterance, and the metadata;
the first generative artificial intelligence model is a same or different model from that of the second generative artificial intelligence model;
the first generative artificial intelligence model is a same or different model from that of the third generative artificial intelligence model; and
the third generative artificial intelligence model is a same or different model from that of the fourth generative artificial intelligence model.
