# US 2025/0086011 A1 · Automation with composable asynchronous tasks

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

- Number: US 2025/0086011 A1
- Document ID: US20250086011A1
- Status: Published application
- Kind: A1
- Application number: 18/243,387
- Filed: 2023-09-07
- Published: 2025-03-13
- Earliest claimed: 2023-09-07
- Assignees: Salesforce, Inc.
- Applicants: Salesforce, Inc.
- Inventors: Richard Perry Pack, III; Michael Triantafelow; Dean Moses; Caridy Patino; Adheip Varadarajan
- Web page: https://patentgrep.com/patent/US20250086011A1

## CPC

- G06F 9/5005: {to service a request}
- G06F 9/5066: {Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs (mappping at compile time, see G06F8/451)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, devices, and techniques are disclosed for automation with composable asynchronous tasks. A prompt may be received at a computing device. Using a first large language model (LLM) composable asynchronous tasks may be determined from the prompt. One of the composable asynchronous tasks may use a second LLM. The composable asynchronous tasks may be performed. Performing one of the composable asynchronous tasks may include generating a first output with the second LLM based on the prompt and validating the first output of the LLM. Performing another of the composable asynchronous tasks may include generating a second output using the first output.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, at a computing device, a prompt;
determining, by the computing device using a first large language model (LLM), from the prompt, at least two composable asynchronous tasks, wherein a first composable asynchronous task of the at least two composable asynchronous tasks uses a second LLM; and
performing, by the computing device, the at least two composable asynchronous tasks, wherein performing the first composable asynchronous task of the at least two composable asynchronous tasks comprises:
generating a first output with the second LLM based on the prompt, and
validating the first output of the LLM,
and wherein performing a second composable asynchronous task of the at least two composable asynchronous tasks comprises:
generating a second output using the first output.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the first output comprises computer code for a component of an application, and wherein the second output comprises the component of the application.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein generating the second output using the first output further comprises combining the first output with at least one additional output of at least one additional composable asynchronous task of the at least two composable asynchronous tasks.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein validating the first output of the LLM comprises:
generating tests for the first output, and
performing the tests on the first output.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising:
determining that the first output fails at least one of the tests, and
regenerating the first output with the second LLM based on the at least one of the tests failed by the first output.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein performing the first composable asynchronous task of the at least two composable asynchronous tasks further comprises:
generating a sub-prompt based on the prompt and the first composable asynchronous task; and
inputting the sub-prompt to the first composable asynchronous task of the at least two composable asynchronous tasks.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the composable asynchronous composable asynchronous task has a defined input structure and a defined output structure.

### Claim 8

A computer-implemented system comprising:
a storage; and
one or more processors that receive a prompt;
determine using a first large language model (LLM), from the prompt, at least two composable asynchronous tasks, wherein a first composable asynchronous task of the at least two composable asynchronous tasks uses a second LLM; and
perform the at least two composable asynchronous tasks, wherein the first composable asynchronous task of the at least two composable asynchronous tasks is performed by:
generating a first output with the second LLM based on the prompt, and
validating the first output of the LLM,
and wherein performing a second composable asynchronous task of the at least two composable asynchronous tasks comprises:
generating a second output using the first output.

### Claim 9 (depends on 8)

The computer-implemented system of claim 8, wherein the first output comprises computer code for a component of an application, and wherein the second output comprises the component of the application.

### Claim 10 (depends on 8)

The computer-implemented system of claim 8, wherein the one or more processors generate the second output using the first output further by combining the first output with at least one additional output of at least one additional composable asynchronous task of the at least two composable asynchronous tasks.

### Claim 11 (depends on 8)

The computer-implemented system of claim 8, wherein the one or more processors validate the first output of the LLM by generating tests for the first output and performing the tests on the first output.

### Claim 12 (depends on 11)

The computer-implemented system of claim 11, wherein the one or more processors further determine that the first output fails at least one of the tests, and
regenerate the first output with the second LLM based on the at least one of the tests failed by the first output.

### Claim 13 (depends on 8)

The computer-implemented system of claim 8, wherein the one or more processors wherein perform the first composable asynchronous task of the at least two composable asynchronous tasks by generating a sub-prompt based on the prompt and the first composable asynchronous task and inputting the sub-prompt to the first composable asynchronous task of the at least two composable asynchronous tasks.

### Claim 14 (depends on 8)

The computer-implemented system of claim 8, wherein the composable asynchronous composable asynchronous task has a defined input structure and a defined output structure.

### Claim 15

A system comprising: one or more computers and one or more non-transitory storage devices storing instructions which are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising:
receiving, at a computing device, a prompt;
determining, by the computing device using a first large language model (LLM), from the prompt, at least two composable asynchronous tasks, wherein a first composable asynchronous task of the at least two composable asynchronous tasks uses a second LLM; and
performing, by the computing device, the at least two composable asynchronous tasks, wherein performing the first composable asynchronous task of the at least two composable asynchronous tasks comprises:
generating a first output with the second LLM based on the prompt, and
validating the first output of the LLM,
and wherein performing a second composable asynchronous task of the at least two composable asynchronous tasks comprises:
generating a second output using the first output.

### Claim 16 (depends on 15)

The system of claim 15, wherein the first output comprises computer code for a component of an application, and wherein the second output comprises the component of the application.

### Claim 17 (depends on 15)

The system of claim 15 wherein the instructions which are operable, when executed by the one or more computers, to cause the one or more computers to perform the operation comprising generating the second output using the first output further cause the one or more computers to further perform operations comprising:
combining the first output with at least one additional output of at least one additional composable asynchronous task of the at least two composable asynchronous tasks.

### Claim 18 (depends on 15)

The system of claim 15, wherein the instructions which are operable, when executed by the one or more computers, to cause the one or more computers to perform the operation comprising validating the first output of the LLM further cause the one or more computers to further perform operations comprising:
generating tests for the first output, and
performing the tests on the first output.

### Claim 19 (depends on 18)

The system of claim 18, wherein the one or more computers and one or more non-transitory storage devices further store instructions which are operable, when executed by the one or more computers, to cause the one or more computers to further perform operations comprising:
determining that the first output fails at least one of the tests, and
regenerating the first output with the second LLM based on the at least one of the tests failed by the first output.

### Claim 20 (depends on 15)

The system of claim 15, wherein the instructions which are operable, when executed by the one or more computers, to cause the one or more computers to perform the operation comprising performing the first composable asynchronous task of the at least two composable asynchronous tasks further cause the one or more computers to further perform operations comprising:
generating a sub-prompt based on the prompt and the first composable asynchronous task; and
inputting the sub-prompt to the first composable asynchronous task of the at least two composable asynchronous tasks.
