Ai agent-driven interaction model for applications
AssigneeMaplebear Inc.
InventorsTilman Drerup, Haixun Wang, Sharath Rao Karikurve
Life of this patent
Estimating the term…
Abstract
An online system configures one or more system AI agent instances that interact with user AI agents and performs one or more tasks on behalf of the online system. Thus, responsive to detecting the presence of a user AI agent representing a particular user, the online system directs the session for the user to communicate and interact with a system AI agent.
Claims20
A computer-implemented method, comprising:
- creating an instance of a system artificial intelligence (AI) agent for an online system, wherein the system AI agent is configured to access a machine-learning language model;
- detecting an instance of a user AI agent representing a user of the online system;
- for one or more iterations:
- receiving a message from the user AI agent,
- providing one or more prompts for input to the machine-learning language model to request actions to execute for a current iteration based on the received message from the user AI agent,
- parsing responses from the machine-learning language model to extract a set of selected actions and action inputs for the set of selected actions,
- triggering, via an agent executor instance that is a compute process, execution of a set of respective tools corresponding to the selected actions with the action inputs,
- generating a message for the user AI agent for the current iteration based at least on results of executing the set of respective tools, and
- providing the generated message for the current iteration to the user AI agent;
- extracting, from an interaction of the messages between the system AI agent and the user AI agent, a proposed agreement between the user and the online system;
- and
- performing one or more actions to execute the proposed agreement.
A non-transitory computer readable storage medium storing instructions that when executed by one or more computer processors cause the one or more computer processors to perform steps comprising:
- creating an instance of a system artificial intelligence (AI) agent for an online system, wherein the system AI agent is configured to access a machine-learning language model;
- detecting an instance of a user AI agent representing a user of the online system;
- for one or more iterations:
- receiving a message from the user AI agent,
- providing one or more prompts for input to the machine-learning language model to request actions to execute for a current iteration based on the received message from the user AI agent,
- parsing responses from the machine-learning language model to extract a set of selected actions and action inputs for the set of selected actions,
- triggering, via an agent executor instance that is a compute process, execution of a set of respective tools corresponding to the selected actions with the action inputs,
- generating a message for the user AI agent for the current iteration based at least on results of executing the set of respective tools, and
- providing the generated message for the current iteration to the user AI agent;
- extracting, from an interaction of the messages between the system AI agent and the user AI agent, a proposed agreement between the user and the online system;
- and
- performing one or more actions to execute the proposed agreement.
A computer system, comprising:
- one or more computer processors;
- and
- a non-transitory computer readable storage medium storing instructions that when executed by the one or more computer processors cause the one or more computer processors to perform steps comprising:
- creating an instance of a system artificial intelligence (AI) agent for an online system, wherein the system AI agent is configured to access a machine-learning language model;
- detecting an instance of a user AI agent representing a user of the online system;
- for one or more iterations:
- receiving a message from the user AI agent,
- providing one or more prompts for input to the machine-learning language model to request actions to execute for a current iteration based on the received message from the user AI agent,
- parsing responses from the machine-learning language model to extract a set of selected actions and action inputs for the set of selected actions,
- triggering, via an agent executor instance that is a compute process, execution of a set of respective tools corresponding to the selected actions with the action inputs,
- generating a message for the user AI agent for the current iteration based at least on results of executing the set of respective tools, and
- providing the generated message for the current iteration to the user AI agent;
- extracting, from an interaction of the messages between the system AI agent and the user AI agent, a proposed agreement between the user and the online system;
- and
- performing one or more actions to execute the proposed agreement.
Dependencies are inferred from the claim text.