# US 2024/0403112 A1 · Agents for executing complex computing tasks in a computing platform

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

- Number: US 2024/0403112 A1
- Document ID: US20240403112A1
- Status: Published application
- Kind: A1
- Application number: 18/679,817
- Filed: 2024-05-31
- Published: 2024-12-05
- Earliest claimed: 2023-06-02
- Assignees: Palantir Technologies Inc.
- Applicants: Palantir Technologies Inc.
- Inventors: Yishak Tofik Mohammed; Bruno Rahle; Clara Lebbos; Charles Sese; Jaafar Rammal; Naga Sri Subhash Nalluru; Wiem Gharbi
- Web page: https://patentgrep.com/patent/US20240403112A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06Q 10/06311: {Scheduling, planning or task assignment for a person or group}
- G06Q 10/06316: {Sequencing of tasks or work}
- G06F 2209/486: Scheduler internals
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Methods, apparatuses and computer programs are for executing complex computing tasks in a computing platform are provided. According to one aspect, a method comprises receiving, by a planning agent, a use case input indicating an objective for completion in the computing platform. The planning agent decomposes, by the planning agent, the use case input into a plurality of tasks for achieving the objective. The planning agent provides each of the plurality of tasks to a respective task agent for execution. For each task of the plurality of tasks, the respective task agent identifies a tool suitable for performing the task from a plurality of tools. The task agent uses the identified tool to execute an operation corresponding to the respective task in the computing platform.

## Claims

### Claim 1

A computer implemented method for executing complex computing tasks in a computing platform, the method comprising:
receiving, by a planning agent, a use case input indicating an objective for completion in the computing platform;
decomposing, by the planning agent, the use case input into a plurality of tasks for achieving the objective;
providing, by the planning agent, each of the plurality of tasks to a respective task agent for execution;
for each task of the plurality of tasks:
identifying, by the respective task agent, based on the task, a tool suitable for performing the task from a plurality of tools, and
using the identified tool to execute an operation corresponding to the respective task in the computing platform.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, wherein the planning agent is coupled to a first large language model,
wherein the planning agent generates a use case prompt by combining the use case input with planning context information based on a planning prompt template;
wherein the planning agent provides the use case prompt to the first large language model; and
wherein the first large language model provides the plurality of tasks for achieving the objective to the planning agent in response to the use case prompt.

### Claim 3 (depends on 2)

The computer implemented method of claim 2, wherein:
the use case input comprises a natural language description of the objective for completion in the computing platform, and
the planning context information comprises:
a description of a plurality of task types that can be performed on the computing platform, and
an indication that a first computing model should provide as an output a series of tasks required to complete the objective described in the use case input and that each task must belong to one of the plurality of task types.

### Claim 4 (depends on 3)

The computer implemented method of claim 3, wherein the plurality of task types includes at least one selected from a group consisting of: a data integration task, a pipeline builder task, an object type task, an object link task, and an object action task.

### Claim 5 (depends on 2)

The computer implemented method of claim 2,
wherein each task agent is coupled to a second large language model,
wherein each task agent generates a respective task prompt by combining the task with task context information based on a task prompt template, and
wherein each task agent provides the respective task prompt to the second large language model.

### Claim 6 (depends on 5)

The computer implemented method of claim 5, wherein:
the task comprises a description of an operation to be performed in the computing platform and task parameters extracted from the use case input, and
the task context information includes:
for each tool of the plurality of tools:
a description of one or more operations that are performed by the tool in the computing platform, an indication of suitable inputs for the tool, and an indication of expected outputs for the tool; and
an indication that the second large language model should provide as an output an identification of a tool capable of performing the operation in the computing platform and an indication of one or more tool inputs for the identified tool in order to perform the operation.

### Claim 7 (depends on 1)

The computer implemented method of claim 1, further comprising:
building, by the planning agent, a directed dependency graph of the plurality of tasks based on one or more dependencies between tasks of the plurality of tasks, and
scheduling execution of the tasks based on the directed dependency graph.

### Claim 8 (depends on 7)

The computer implemented method of claim 7, wherein the planning context information includes a description of the one or more dependencies between the tasks of the plurality of tasks.

### Claim 9 (depends on 7)

The computer implemented method of claim 7,
wherein a first task is dependent on a second task, and
wherein the planning agent provides the first task to the respective task agent based on execution of the second task being completed.

### Claim 10 (depends on 7)

The computer implemented method of claim 7, further comprising: identifying tasks that can be performed in parallel and executing the identified tasks in parallel.

### Claim 11 (depends on 1)

The computer implemented method of claim 1, further comprising:
determining, by the planning agent, that further information is required for execution of one or more tasks of the plurality of tasks;
providing, by the planning agent, a user prompt to a user device requesting a user input indicating the required further information; and
receiving the user input including the required further information, wherein
providing the one or more tasks to a respective task agent for execution is performed based on receiving the user input.

### Claim 12 (depends on 1)

The computer implemented method of claim 1, further comprising:
determining that one or more tasks of the plurality of tasks includes a prohibited action, and
preventing the one or more tasks from being executed.

### Claim 13 (depends on 5)

The computer implemented method of claim 5, further comprising:
updating the planning prompt template to include a description of a new type of task; and
updating the task prompt template to provide a description of a new tool.

### Claim 14

A non-transitory computer readable medium comprising instructions that, when executed, cause one or more processors of a computing system to perform operations comprising:
receiving, by a planning agent, a use case input indicating an objective for completion in a computing platform;
decomposing, by the planning agent, the use case input into a plurality of tasks for achieving the objective;
providing, by the planning agent, each of the plurality of tasks to a respective task agent for execution;
for each task of the plurality of tasks:
identifying, by the respective task agent, based on the task, a tool suitable for performing the task from a plurality of tools, and
using the identified tool to execute an operation corresponding to the respective task in the computing platform.

### Claim 15

An apparatus for executing complex computing tasks in a computing platform, comprising:
one or more processors; and
a memory storing instructions that, when executed by the one or more processors, cause the apparatus to perform operations comprising:
receiving, by a planning agent, a use case input indicating an objective for completion in the computing platform;
decomposing, by the planning agent, the use case input into a plurality of tasks for achieving the objective;
providing, by the planning agent, each of the plurality of tasks to a respective task agent for execution;
for each task of the plurality of tasks:
identifying, by the respective task agent, based on the task, a tool suitable for performing the task from a plurality of tools, and
using the identified tool to execute an operation corresponding to the respective task in the computing platform.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the planning agent is coupled to a first large language model,
wherein the planning agent generates a use case prompt by combining the use case input with context information based on a planning prompt template;
wherein the planning agent provides the use case prompt to the first large language model; and
wherein the first large language model provides the plurality of tasks for achieving the objective to the planning agent in response to the use case prompt.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein:
the use case input comprises a natural language description of the objective for completion in the computing platform, and
the context information comprises:
a description of a plurality of task types that can be performed on the computing platform, and
an indication that a first computing model should provide as an output a series of tasks required to complete the objective described in the use case input and that each task must belong to one of the plurality of task types.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the plurality of task types includes at least one selected from a group consisting of: a data integration task, a pipeline builder task, an object type task, an object link task, and an object action task.

### Claim 19 (depends on 15)

The apparatus of claim 15,
wherein each task agent is coupled to a second large language model,
wherein each task agent generates a respective task prompt by combining the task with task context information based on a task prompt template, and
wherein each task agent provides the respective task prompt to the second large language model.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein:
the task comprises a description of an operation to be performed in the computing platform and task parameters extracted from the use case input, and
the task context information includes:
for each tool of the plurality of tools:
a description of the operations that are performed by the tool in the computing platform, an indication of suitable inputs for the tool, and an indication of expected outputs for the tool; and
an indication that the second large language model should provide as an output an identification of a tool capable of performing the operation in the computing platform an indication of one or more tool inputs for identified tool in order to perform the operation.
