# US 2025/0148257 A1 · Automated assistant invocation of appropriate agent

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

- Number: US 2025/0148257 A1
- Document ID: US20250148257A1
- Status: Published application
- Kind: A1
- Application number: 19/018,807
- Filed: 2025-01-13
- Published: 2025-05-08
- Earliest claimed: 2016-04-18
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Ilya Gennadyevich Gelfenbeyn; Artem Goncharuk; Pavel SIROTIN
- Web page: https://patentgrep.com/patent/US20250148257A1

## CPC

- G06N 3/004: Artificial life, i.e. computing arrangements simulating life
- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G06F 9/54: Interprogram communication
- G06F 16/3329: Natural language query formulation
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 20/00: Machine learning
- G10L 15/1815: {Semantic context, e.g. disambiguation of the recognition hypotheses based on word meaning}
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 15/30: Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
- H04L 12/1822: {Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission}
- H04L 12/1827: {Network arrangements for conference optimisation or adaptation}
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- H04L 51/222: using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
- G10L 2015/223: {Execution procedure of a spoken command}
- H04L 12/1831: {Tracking arrangements for later retrieval, e.g. recording contents, participants activities or behavior, network status}
- H04L 51/214: using selective forwarding
- H04M 3/527: Centralised call answering arrangements not requiring operator intervention
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

Invoking an agent during a dialog between a user and an automated assistant. Some implementations are directed to receiving, during a human-to-automated assistant dialog, natural language input of the user that indicates a desire to engage an agent, but that fails to indicate a particular agent to be engaged. Those implementations are further directed to selecting a particular agent from a plurality of available agents, and transmitting an invocation request to the selected particular agent. In some implementations an agent selection model can be utilized in selecting the particular agent, such as a machine learning model. The machine learning model can be trained to enable generation of output that indicates, for each of a plurality of available agents (and optionally intent(s) for those agents), a probability that the available agent (and optionally intent) will generate appropriate responsive content.

## Claims

### Claim 1

A method implemented by one or more processors, comprising:
receiving natural language input generated based on user interface input provided by a user during a human-to-automated assistant dialog,
wherein the natural language input fails to explicitly indicate an agent to be invoked based on the natural language input;
prior to invoking any agent in response to the natural language input:
selecting a particular agent from a plurality of candidate agents, wherein selecting the particular agent is based on:
the natural language input, and
one or more contextual values that are in addition to the natural language input and that are in addition to any other natural language input provided during the human-to-automated assistant dialog, and
wherein selecting the particular agent occurs without providing any user interface output that explicitly solicits the user to select between the particular agent and one or more other of the plurality of candidate agents;
responsive to receiving the natural language input and based on selecting the particular agent:
transmitting, via an application programming interface, an invocation request to the selected particular agent, wherein the invocation request invokes the particular agent and causes the particular agent to generate particular responsive content for presentation to the user via one or more user interface output devices,
wherein only the selected particular agent is invoked in response to receiving the natural language input;
receiving, while the particular agent is invoked and subsequent to causing the output to be presented, additional natural language input generated based on additional user interface input provided by the user;
determining that the additional natural language input indicates a desire to switch to an alternative agent of the plurality of agents; and
in response to determining that the additional natural language input indicates the desire to switch to the alternative agent:
transmitting an additional invocation request to the alternative agent, wherein the additional invocation request includes at least one value that is based on the natural language input or a further natural language input received while the particular agent was invoked.

### Claim 2 (depends on 1)

The method of claim 1, wherein the at least one value, included in the additional invocation request transmitted to the alternative agent, is based on the further natural language input received while the particular agent was invoked.

### Claim 3 (depends on 1)

The method of claim 1, wherein the at least one value, included in the additional invocation request transmitted to the alternative agent, is based on the natural language input.

### Claim 4 (depends on 3)

The method of claim 3, wherein the one or more contextual values comprise a given contextual value that is based on currently rendered content on a client device via which the user interface input is received.

### Claim 5 (depends on 1)

The method of claim 1, wherein the one or more contextual values comprise a given contextual value that is based on currently rendered content on a client device via which the user interface input is received.

### Claim 6 (depends on 1)

The method of claim 1, wherein the one or more contextual values comprise a given contextual value that is based on a quantity of interactions with the particular agent by the user engaged in the human-to-automated assistant dialog.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more contextual values comprise a given contextual value that is based on a recency of interaction with the particular agent by the user engaged in the human-to-automated assistant dialog.

### Claim 8 (depends on 1)

The method of claim 1, wherein the one or more contextual values comprise: a given contextual value that is based on a quantity of interactions with the particular agent by the user; and an additional given contextual value that is based on a recency of interaction with the particular agent by the user.

### Claim 9 (depends on 1)

The method of claim 1, wherein the one or more contextual values comprise a location of a client device via which the user interface input is received.

### Claim 10

A system, comprising:
memory storing instructions;
one or more processors operable to execute the instructions to:
receive natural language input generated based on user interface input provided by a user during a human-to-automated assistant dialog,
wherein the natural language input fails to explicitly indicate an agent to be invoked based on the natural language input;
prior to invoking any agent in response to the natural language input:
select a particular agent from a plurality of candidate agents, wherein selecting the particular agent is based on:
the natural language input, and
one or more contextual values that are in addition to the natural language input and that are in addition to any other natural language input provided during the human-to-automated assistant dialog, and
wherein selecting the particular agent occurs without providing any user interface output that explicitly solicits the user to select between the particular agent and one or more other of the plurality of candidate agents;
responsive to receiving the natural language input and based on selecting the particular agent:
transmit, via an application programming interface, an invocation request to the selected particular agent, wherein the invocation request invokes the particular agent and causes the particular agent to generate particular responsive content for presentation to the user via one or more user interface output devices,
wherein only the selected particular agent is invoked in response to receiving the natural language input;
receive, while the particular agent is invoked and subsequent to causing the output to be presented, additional natural language input generated based on additional user interface input provided by the user;
determine that the additional natural language input indicates a desire to switch to an alternative agent of the plurality of agents; and
in response to determining that the additional natural language input indicates the desire to switch to the alternative agent:
transmit an additional invocation request to the alternative agent, wherein the additional invocation request includes at least one value that is based on the natural language input or a further natural language input received while the particular agent was invoked.

### Claim 11 (depends on 10)

The system of claim 10, wherein the at least one value, included in the additional invocation request transmitted to the alternative agent, is based on the further natural language input received while the particular agent was invoked.

### Claim 12 (depends on 10)

The system of claim 10, wherein the at least one value, included in the additional invocation request transmitted to the alternative agent, is based on the natural language input.

### Claim 13 (depends on 10)

The system of claim 10, wherein the one or more contextual values comprise a given contextual value that is based on currently rendered content on a client device via which the user interface input is received.

### Claim 14

A method implemented by one or more processors, the method comprising:
receiving natural language input generated based on user interface input provided by a user during a human-to-automated assistant dialog,
wherein the natural language input fails to explicitly indicate any agent;
determining, based on processing the natural language input, that the natural language input does not indicate an agent action;
in response to determining that the natural language input does not indicate any agent action:
generating local responsive content that is responsive to the natural language input, wherein generating the local responsive content is without invocation of any agent and is responsive to determining that the natural language input does not indicate any agent action; and
causing output, that is based on the local responsive content, to be provided responsive to the natural language input;
receiving further natural language input generated based on further user interface input provided by the user during the human-to-automated assistant dialog,
wherein the further natural language input fails to explicitly indicate any agent;
determining, based on processing the further natural language input, that the further natural language input does indicate an agent action;
in response to determining that the further natural language input does indicate an agent action:
selecting a particular agent from a plurality of candidate agents, wherein selecting the particular agent is prior to invoking any agent in response to the further natural language input and is based on:
the natural language input, and
one or more contextual values that are in addition to the further natural language input, and
wherein selecting the particular agent occurs without providing any user interface output that explicitly solicits the user to select between the particular agent and one or more other of the plurality of candidate agents;
responsive to receiving the further natural language input and based on selecting the particular agent:
invoking the particular agent in generating further responsive content that is responsive to the further natural language input; and
causing further output, that is based on the further responsive content, to be provided responsive to the further natural language input.

### Claim 15 (depends on 14)

The method of claim 14, wherein determining, based on processing the natural language input, that the natural language input does not indicate the agent action comprises determining that the natural language input does not map to any agent action.

### Claim 16 (depends on 15)

The method of claim 15, wherein only the particular agent is invoked in response to receiving the further natural language input.

### Claim 17 (depends on 14)

The method of claim 14, wherein determining, based on processing the natural language input, that the natural language input does not indicate the agent action comprises determining that any entities, derived from the natural language input, are not stored in association with any agent action.

### Claim 18 (depends on 14)

The method of claim 14, wherein only the particular agent is invoked in response to receiving the further natural language input.

### Claim 19 (depends on 14)

The method of claim 14, wherein invoking the particular agent in generating further responsive content that is responsive to the further natural language input comprises:
transmitting, via an application programming interface, an invocation request to the particular agent, wherein the invocation request invokes the particular agent and causes the particular agent to generate the further responsive content.

### Claim 20 (depends on 19)

The method of claim 19, wherein only the particular agent is invoked in response to receiving the further natural language input.
