# US 2021/0173682 A1 · Flexible artificial intelligence agent infrastructure for adapting processing of a shell

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

- Number: US 2021/0173682 A1
- Document ID: US20210173682A1
- Status: Published application
- Kind: A1
- Application number: 16/704,368
- Filed: 2019-12-05
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Tathagata Chakraborti; Mayank Agarwal; Eli M. Dow; Kartik Talamadupula; Kshitij Fadnis; Jorge J. Barroso Carmona; Borja Godoy
- Web page: https://patentgrep.com/patent/US20210173682A1

## CPC

- G06F 9/45512: {Command shells}
- G06N 5/043: Distributed expert systems; Blackboards
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A computer system adapts processing of expressions by a command-line interface. An expression provided to the command-line interface is analyzed, wherein the command line interface includes pre-defined expression processing. One or more artificial intelligence agents are selected from a plurality of artificial intelligence agents based on the analysis of the expression. The expression is evaluated by the selected one or more artificial intelligence agents to determine processing modifications for the pre-defined expression processing. The expression is processed in accordance with the determined processing modifications and results are provided to the command-line interface. Embodiments of the present invention further include a method and program product for adapting processing of expressions by a shell in substantially the same manner described above.

## Claims

### Claim 1

A computer-implemented method for adapting processing of expressions by a command-line interface, the computer-implemented method comprising:
analyzing an expression provided to the command-line interface, wherein the command-line interface includes pre-defined expression processing;
selecting one or more artificial intelligence agents of a plurality of artificial intelligence agents based on the analysis of the expression;
evaluating the expression by the selected one or more artificial intelligence agents to determine processing modifications for the pre-defined expression processing; and
processing the expression in accordance with the determined processing modifications and providing results to the command-line interface.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein an artificial intelligence agent of the plurality of artificial intelligence agents provides a processing modification comprising a feature that is selected from a group of: an error-correcting feature, a natural language processing feature, an automated troubleshooting feature, an expression sequence automation feature, and a user feedback feature.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein an artificial intelligence agent of the plurality of artificial intelligence agents provides the expression to the command-line interface, and further comprising:
adjusting the artificial intelligence agent based on the processing of the expression in accordance with the determined processing modifications.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising: analyzing one or more percepts captured from a computing device associated with the command-line interface to select the one or more artificial intelligence agents.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising: analyzing the one or more percepts with the selected one or more artificial intelligence agents to determine the processing modifications.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein selecting the one or more artificial intelligence agents based on the analysis of the expression comprises:
processing the expression with the plurality of artificial intelligence agents to indicate a confidence score for a decision of one or more artificial intelligence agents of the plurality of artificial intelligence agents; and
selecting the one or more artificial intelligence agents based on the indicated confidence scores.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more artificial intelligence agents are selected by an orchestration layer, and further comprising:
in response to processing the expression and providing the results to the command-line interface, obtaining feedback from a computing device associated with the command-line interface; and
processing the feedback to indicate a modification to one or more of: the orchestration layer, and an artificial intelligence agent of the plurality of artificial intelligence agents.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the feedback is based on one or more from a group of: user-provided feedback, and feedback based on user actions performed subsequent to providing the results to the command-line interface.

### Claim 9

A computer system for adapting processing of expressions by a command-line interface, the computer system comprising:
one or more computer processors;
one or more computer readable storage media;
program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising instructions to:
analyze an expression provided to the command-line interface, wherein the command-line interface includes pre-defined expression processing;
select one or more artificial intelligence agents of a plurality of artificial intelligence agents based on the analysis of the expression;
evaluate the expression by the selected one or more artificial intelligence agents to determine processing modifications for the pre-defined expression processing; and
process the expression in accordance with the determined processing modifications and providing results to the command-line interface.

### Claim 10 (depends on 9)

The computer system of claim 9, wherein an artificial intelligence agent of the plurality of artificial intelligence agents provides a processing modification comprising a feature that is selected from a group of: an error-correcting feature, a natural language processing feature, an automated troubleshooting feature, an expression sequence automation feature, and a user feedback feature.

### Claim 11 (depends on 9)

The computer system of claim 9, wherein the program instructions further comprise instructions to: analyze one or more percepts captured from a computing device associated with the command-line interface to select the one or more artificial intelligence agents.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein the program instructions further comprise instructions to: analyze the one or more percepts with the selected one or more artificial intelligence agents to determine the processing modifications.

### Claim 13 (depends on 9)

The computer system of claim 9, wherein the instructions to select the one or more artificial intelligence agents based on the analysis of the expression comprise instructions to:
process the expression with the plurality of artificial intelligence agents to indicate a confidence score for a decision of one or more artificial intelligence agents of the plurality of artificial intelligence agents; and
select the one or more artificial intelligence agents based on the indicated confidence scores.

### Claim 14 (depends on 9)

The computer system of claim 9, wherein the one or more artificial intelligence agents are selected by an orchestration layer, and wherein the program instructions further comprise instructions to:
in response to processing the expression and providing the results to the command-line interface, obtain feedback from a computing device associated with the command-line interface; and
process the feedback to indicate a modification to one or more of: the orchestration layer, and an artificial intelligence agent of the plurality of artificial intelligence agents.

### Claim 15 (depends on 14)

The computer system of claim 14, wherein the feedback is based on one or more from a group of: user-provided feedback, and feedback based on user actions performed subsequent to providing the results to the command-line interface.

### Claim 16

A computer program product for adapting processing of expressions by a command-line interface, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to:
analyze an expression provided to the command-line interface, wherein the command-line interface includes pre-defined expression processing;
select one or more artificial intelligence agents of a plurality of artificial intelligence agents based on the analysis of the expression;
evaluate the expression by the selected one or more artificial intelligence agents to determine processing modifications for the pre-defined expression processing; and
process the expression in accordance with the determined processing modifications and providing results to the command-line interface.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein an artificial intelligence agent of the plurality of artificial intelligence agents provides a processing modification comprising a feature that is selected from a group of: an error-correcting feature, a natural language processing feature, an automated troubleshooting feature, an expression sequence automation feature, and a user feedback feature.

### Claim 18 (depends on 16)

The computer program product of claim 16, wherein the program instructions further cause the computer to: analyze one or more percepts captured from a computing device associated with the command-line interface to select the one or more artificial intelligence agents.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the program instructions further comprise instructions to: analyze the one or more percepts with the selected one or more artificial intelligence agents to determine the processing modifications.

### Claim 20 (depends on 16)

The computer program product of claim 16, wherein the instructions to select the one or more artificial intelligence agents based on the analysis of the expression cause the computer to:
process the expression with the plurality of artificial intelligence agents to indicate a confidence score for a decision of one or more artificial intelligence agents of the plurality of artificial intelligence agents; and
select the one or more artificial intelligence agents based on the indicated confidence scores.
