# US 2026/0300648 A1 · Multi-agent rule-based system management using large language models

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

- Number: US 2026/0300648 A1
- Document ID: US20260300648A1
- Status: Published application
- Kind: A1
- Application number: 19/090,036
- Filed: 2025-03-25
- Published: 2026-10-01
- Earliest claimed: 2025-03-25
- Assignees: eBay Inc.
- Applicants: eBay Inc.
- Inventors: Rahul Ajaykumar Agarwal; Shiwam Mittal; Sahithi Mallavarapu; Hongye Li; Dmytro Semenov
- Web page: https://patentgrep.com/patent/US20260300648A1

## CPC

- G06F 40/55: Rule-based translation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various aspects of the present disclosure relate to rule-based system management using large language models (LLMs). A rule-based system management device receives a first user input indicating to create a rule in a rule-based system. The rule-based system management device searches rules of the rule-based system based on the first user input. The rule-based system management device forms a prompt for a first LLM based on a result of the search and the first user input. The rule-based system management device generates the rule based on inputting the prompt in the first LLM. The rule-based system management device simulates the rule against historic data of the rule-based system to determine a performance metric associated with the rule. The rule-based system management device adds the rule to the rule-based system based on the performance metric.

## Claims

### Claim 1

A method for rule-based system management, comprising:
receiving a first user input indicating to create a rule in a rule-based system;
searching rules of the rule-based system based at least in part on the first user input;
forming a prompt for a first large language model based at least in part on a result of the search and the first user input;
generating the rule based at least in part on inputting the prompt in the first large language model;
simulating the rule against historic data of the rule-based system to determine a performance metric associated with the rule; and
adding the rule to the rule-based system based at least in part on the performance metric.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving a second user input requesting insight information for a policy of the rule-based system;
generating a query based at least in part on inputting the second user input in a second large language model;
obtaining, from one or more databases, embeddings data related to the rules or policies of the rule-based system based at least in part on the query; and
generating the insight information based at least in part on the embeddings data.

### Claim 3 (depends on 2)

The method of claim 2, wherein the insight information comprises one or more of a list of rules related to the policy, a usage history of the rules related to the policy, performance metrics for the rules related to the policy, or a pair of co-firing rules.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
determining a pair of co-firing rules based at least in part on obtaining rule firing data from the one or more databases in response to the query; and
removing one of the rules of the pair of co-firing rules from the rule-based system.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining that none of the rules of the rule-based system match the rule based at least in part on the search, wherein forming the prompt is based at least in part on determining that none of the rules of the rule-based system match the rule.

### Claim 6 (depends on 1)

The method of claim 1, wherein generating the rule comprises:
generating a new rule; or
modifying an existing rule of the rule-based system.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
displaying, via a user interface, the rule based at least in part on generating the rule.

### Claim 8 (depends on 1)

The method of claim 1, wherein the rule is added to the rule-based system based at least in part on the performance metric exceeding a threshold.

### Claim 9

A system, comprising:
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the system to perform operations comprising:
receiving a first user input indicating to create a rule in a rule-based system;
searching rules of the rule-based system based at least in part on the first user input;
forming a prompt for a first large language model based at least in part on a result of the search and the first user input;
generating the rule based at least in part on inputting the prompt in the first large language model;
simulating the rule against historic data of the rule-based system to determine a performance metric associated with the rule; and
adding the rule to the rule-based system based at least in part on the performance metric.

### Claim 10 (depends on 9)

The system of claim 9, the operations further comprising:
receiving a second user input requesting insight information for a policy of the rule-based system;
generating a query based at least in part on inputting the second user input in a second large language model;
obtaining, from one or more databases, embeddings data related to the rules or policies of the rule-based system based at least in part on the query; and
generating the insight information based at least in part on the embeddings data.

### Claim 11 (depends on 10)

The system of claim 10, wherein the insight information comprises one or more of a list of rules related to the policy, a usage history of the rules related to the policy, performance metrics for the rules related to the policy, or a pair of co-firing rules.

### Claim 12 (depends on 10)

The system of claim 10, the operations further comprising:
determining a pair of co-firing rules based at least in part on obtaining rule firing data from the one or more databases in response to the query; and
removing one of the rules of the pair of co-firing rules from the rule-based system.

### Claim 13 (depends on 9)

The system of claim 9, the operations further comprising:
determining that none of the rules of the rule-based system match the rule based at least in part on the search, wherein forming the prompt is based at least in part on determining that none of the rules of the rule-based system match the rule.

### Claim 14 (depends on 9)

The system of claim 9, the operations to generate the rule comprising:
generating a new rule; or
modifying an existing rule of the rule-based system.

### Claim 15 (depends on 9)

The system of claim 9, the operations further comprising:
displaying, via a user interface, the rule based at least in part on generating the rule.

### Claim 16 (depends on 9)

The system of claim 9, wherein the rule is added to the rule-based system based at least in part on the performance metric exceeding a threshold.

### Claim 17

A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
receiving a first user input indicating to create a rule in a rule-based system;
searching rules of the rule-based system based at least in part on the first user input;
forming a prompt for a first large language model based at least in part on a result of the search and the first user input;
generating the rule based at least in part on inputting the prompt in the first large language model;
simulating the rule against historic data of the rule-based system to determine a performance metric associated with the rule; and
adding the rule to the rule-based system based at least in part on the performance metric.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, the operations further comprising:
receiving a second user input requesting insight information for a policy of the rule-based system;
generating a query based at least in part on inputting the second user input in a second large language model;
obtaining, from one or more databases, embeddings data related to the rules or policies of the rule-based system based at least in part on the query; and
generating the insight information based at least in part on the embeddings data.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, the operations further comprising:
determining that none of the rules of the rule-based system match the rule based at least in part on the search, wherein forming the prompt is based at least in part on determining that none of the rules of the rule-based system match the rule.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, the operations to generate the rule comprising:
generating a new rule; or
modifying an existing rule of the rule-based system.
