IP Library › Granted Patent US 12,743,452
Granted Patent B2
US 12,743,452 · App. 19/346,688 · Granted Sep 22, 2026

Method and system for optimizing use of retrieval augmented generation pipelines in generative artificial intelligence applications

Inventors: Vijay Madisetti (Alpharetta, GA); Arshdeep Bahga (Chandigarh, IN)
Assignee: Vijay Madisetti
G06F16/3329G06F40/284
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,743,452
App. No.
19/346,688
Filed
Oct 1, 2025
Granted
Sep 22, 2026
Kind
B2
Examiner
YEN, ERIC L
Art Unit
2658
USPC
704/9
Abstract

Systems and methods for implementing domain-specific agent networks including configuring specialized agents optimized for retrieving information from a respective specific knowledge domain, receiving a user query, analyzing the user query to identify relevant knowledge domains, activating a subset of the specialized agents corresponding to the relevant knowledge domains, retrieving information by the subset of specialized agents, aggregating the retrieved information including information from a plurality of knowledge domains, providing the aggregated information to one or more h-LLMs, receiving a plurality of responses from the one or more h-LLMs, and generating a comprehensive response from the plurality of responses, the comprehensive response incorporating information from the plurality of knowledge domains.

Claims (122)

1 . A method for implementing domain-specific agent networks in large language model systems comprising:

configuring a plurality of specialized agents within a Domain Specific Agents module, each agent of the plurality of specialized agents being configured to retrieve appropriate specialized knowledge based on query context from a respective specific knowledge domain;

receiving a user query at a query processor;

analyzing the user query to identify a plurality of relevant knowledge domains;

activating an activated subset of specialized agents of the plurality of specialized agents corresponding to the plurality of relevant knowledge domains;

retrieving retrieved information by executing one or more information retrieval operations by the activated subset of specialized agents;

aggregating the retrieved information from the activated subset of specialized agents into aggregated information, the aggregated information comprising information from a plurality of knowledge domains;

providing the aggregated information to one or more families of large language models (h-LLMs) trained on particular training sets;

receiving a plurality of responses from the one or more h-LLMs; and

generating a comprehensive response from the plurality of responses, the comprehensive response incorporating information from the plurality of knowledge domains.

2 . The method of claim 1 wherein the plurality of specialized agents comprises one or more of:

a web search agent configured with internet search capabilities and real-time web data access;

a financial data agent configured to access stock market data, trading information, and economic indicators;

a weather data agent configured to retrieve meteorological information and environmental data;

an Internet of Things data agent configured to interface with Internet of Things devices and sensor networks; and

a database query agent configured to access structured data repositories and enterprise databases.

3 . The method of claim 1 wherein activating the activated subset of specialized agents comprises:

determining an agent priority for each specialized agent of the activated subset of specialized agents based on query relevance scoring; and

one or more of:

allocating computational resources among the activated subset of specialized agents based on the agent priority for each specialized agent of the activated subset of specialized agents;

coordinating parallel execution of the one or more information retrieval operations across the activated subset of specialized agents; and

implementing load balancing to optimize performance and response times of the activated subset of specialized agents,

wherein coordinating parallel execution and implementing load balancing relate to managing the activated subset of specialized agents during operation.

4 . The method of claim 1 wherein executing the one or more information retrieval operations comprises at least one of:

implementing one or more agent-specific communication protocols for data source interaction;

performing real-time data validation and quality assessment;

applying domain-specific filtering and processing to retrieved information; and

caching frequently accessed information.

5 . The method of claim 1 further comprising at least one of:

implementing one or more inter-agent communication protocols;

coordinating one or more agent activities operable to avoid duplicate information retrieval;

resolving conflicts between information retrieved from different agents; and

synthesizing complementary information from multiple agents to create comprehensive data sets.

6 . The method of claim 1 wherein the plurality of specialized agents are configured to at least one of:

operate autonomously within their respective knowledge domains;

maintain one or more persistent connections to their associated data sources;

implement one or more domain-specific authentication and security protocols; and

provide standardized output formats for integration with h-LLM processing.

7 . The method of claim 1 further comprising one or more of:

monitoring agent performance and response quality metrics;

implementing adaptive agent selection based on historical performance data;

dynamically adjusting agent parameters to optimize retrieval accuracy; and

learning from user feedback to improve agent effectiveness over time.

8 . The method of claim 1 wherein activating the activated subset of specialized agents is performed by an agent orchestrator.

9 . A domain-specific agent network system comprising:

a processor;

a communication device operably coupled to the processor and configured to transmit and receive digital communications; and

a non-transitory computer-readable storage medium having stored thereon software that, when executed by the processor, is operable to instantiate:

a Domain Specific Agents module comprising a plurality of specialized agents, each specialized agent of the plurality of specialized agents being configured to retrieve appropriate specialized knowledge based on query context from a specific knowledge domain;

an agent orchestrator configured to select and activate an activated subset of specialized agents of the plurality of specialized agents based on a query analysis of a received query;

a communication framework configured to enable inter-agent coordination and data sharing between the plurality of specialized agents;

an aggregation engine configured to aggregate information retrieved by the activated subset of specialized agents performing one or more information retrieval operations into aggregate information; and

an integration interface configured to provide the aggregated information to one or more LLM processing systems.

10 . The system of claim 9 wherein each specialized agent of the plurality of specialized agents comprises:

one or more domain-specific data access protocols;

one or more real-time information processing capabilities;

one or more caching mechanisms for frequently accessed data; and

standardized output formatting for system integration.

11 . The system of claim 9 wherein the software, when executed by the processor, is further operable to instantiate at least one of:

a performance monitoring system configured to track agent effectiveness and response quality;

an adaptive learning system configured to optimize agent selection and parameter settings based on usage patterns; and

a security management system configured to implement authentication and access control for agent operations.

12 . The system of claim 9 wherein the software, when executed by the processor, if further operable to:

coordinate one or more agent activities operable to avoid duplicate information retrieval;

resolve conflicts between information retrieved from different agents; and

synthesize complementary information from multiple agents to create comprehensive data sets.

13 . The system of claim 9 wherein the plurality of specialized agents comprises:

a web search agent configured with internet search capabilities and real-time web data access;

a financial data agent configured to access stock market data, trading information, and economic indicators;

a weather data agent configured to retrieve meteorological information and environmental data;

an Internet of Things data agent configured to interface with Internet of Things devices and sensor networks; and

a database query agent configured to access structured data repositories and enterprise databases.

14 . The system of claim 9 wherein the agent orchestrator is operable to activate the activated subset of specialized agents by-at least one of:

determining agent priority for each specialized agent of the activated subset of specialized agents based on query relevance scoring; and

one or more of:

allocating computational resources among the activated subset of specialized agents based on the agent priority for each specialized agent of the activated subset of specialized agents;

coordinating parallel execution of the one or more information retrieval operations across the activated subset of specialized agents; and

implementing load balancing to optimize performance and response times of the activated subset of specialized agents,

wherein coordinating parallel execution and implementing load balancing relate to managing the activated subset of specialized agents during operation.

15 . A domain-specific agent network system comprising:

means for configuring a plurality of specialized agents within a Domain Specific Agents module, each agent of the plurality of specialized agents being configured to retrieve appropriate specialized knowledge based on query context from a respective specific knowledge domain;

means for receiving a user query at a query processor;

means for analyzing the user query to identify a plurality of relevant knowledge domains;

means for activating an activated subset of specialized agents of the plurality of specialized agents corresponding to the plurality of relevant knowledge domains;

means for retrieving retrieved information by executing one or more information retrieval operations by the activated subset of specialized agents;

means for aggregating the retrieved information from the activated subset of specialized agents into aggregated information, the aggregated information comprising information from a plurality of knowledge domains;

means for providing the aggregated information to one or more families of large language models (h-LLMs) trained on particular training sets;

means for receiving a plurality of responses from the one or more h-LLMs; and

means for generating a comprehensive response from the plurality of responses, the comprehensive response incorporating information from the plurality of knowledge domains.

16 . The system of claim 15 wherein the plurality of specialized agents comprises one or more of:

a web search agent configured with internet search capabilities and real-time web data access;

a financial data agent configured to access stock market data, trading information, and economic indicators;

a weather data agent configured to retrieve meteorological information and environmental data;

an Internet of Things data agent configured to interface with Internet of Things devices and sensor networks; and

a database query agent configured to access structured data repositories and enterprise databases.

17 . The system of claim 15 wherein the means for activating the activated subset of specialized agents is operable to-at least one of:

determine an agent priority for each specialized agent of the activated subset of specialized agents based on query relevance scoring; and

one or more of:

allocate computational resources among the activated subset of specialized agents based on the agent priority for each specialized agent of the activated subset of specialized agents;

coordinate parallel execution of the one or more information retrieval operations across the activated subset of specialized agents; and

implement load balancing to optimize performance and response times of the activated subset of specialized agents,

wherein coordinating parallel execution and implementing load balancing relate to managing the activated subset of specialized agents during operation.

18 . The system of claim 15 wherein the means for retrieving retrieved information by executing the one or more information retrieval operations is further operable to at least one of:

implement one or more agent-specific communication protocols for data source interaction;

perform real-time data validation and quality assessment;

apply domain-specific filtering and processing to retrieved information; and

cache frequently accessed information.

19 . The system of claim 15 further comprising at least one of:

means for implementing one or more inter-agent communication protocols;

means for coordinating one or more agent activities operable to avoid duplicate information retrieval;

means for resolving conflicts between information retrieved from different agents; and

means for synthesizing complementary information from multiple agents to create comprehensive data sets.

20 . The system of claim 15 wherein the plurality of specialized agents are configured to at least one of:

operate autonomously within their respective knowledge domains;

maintain one or more persistent connections to their associated data sources;

implement one or more domain-specific authentication and security protocols; and

provide standardized output formats for integration with h-LLM processing.

21 . The system of claim 15 further comprising one or more of:

means for monitoring agent performance and response quality metrics;

means for implementing adaptive agent selection based on historical performance data;

means for dynamically adjusting agent parameters to optimize retrieval accuracy; and

means for learning from user feedback to improve agent effectiveness over time.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 1, 2025
From: BAHGA, ARSHDEEP
To: MADISETTI, VIJAY
Reel/Frame 072437/0357 →
Continuity (17)
Continuation 19286971 · Jul 31, 2025
Continuation 18812707 · Aug 22, 2024
Continuation In Part 18744199 · Jun 14, 2024
Continuation In Part 18406906 · Jan 8, 2024
Continuation In Part 18470487 · Sep 20, 2023
Continuation 18348692 · Jul 7, 2023
Provisional Application 63647092 · May 14, 2024
Provisional Application 63551548 · Feb 9, 2024
Provisional Application 63607647 · Dec 8, 2023
Provisional Application 63607112 · Dec 7, 2023
Provisional Application 63604909 · Dec 1, 2023
Provisional Application 63604910 · Dec 1, 2023
Provisional Application 63602675 · Nov 27, 2023
Provisional Application 63535118 · Aug 29, 2023
Provisional Application 63534974 · Aug 28, 2023
Provisional Application 63529177 · Jul 27, 2023
Related Publication 20260023765A1 · Jan 22, 2026
References Cited (18)
US 11861321B1 · O'Kelly · 2024 [cited by examiner]
US 12481517B1 · Zhang · 2025 [cited by examiner]
US 20040044516A1 · Kennewick · 2004 [cited by examiner]
US 20160070731A1 · Chang et al. · 2016 [cited by applicant]
US 20210406913A1 · Yao et al. · 2021 [cited by applicant]
US 20250139110A1 · Shankar · 2025 [cited by examiner]
US 20250156926A1 · Wang et al. · 2025 [cited by applicant]
US 20250278562A1 · Garner et al. · 2025 [cited by applicant]
US 20250291863A1 · Ho · 2025 [cited by examiner]
US 20250363372A1 · Azmandian et al. · 2025 [cited by applicant]
US 20250371086A1 · Sipolins · 2025 [cited by examiner]
US 20250384332A1 · Boué · 2025 [cited by examiner]
US 20260018251A1 · Bachman · 2026 [cited by examiner]
US 20260037561A1 · Iyengar · 2026 [cited by examiner]
US 20260044517A1 · Hancock · 2026 [cited by examiner]
US 20260056982A1 · Kim et al. · 2026 [cited by applicant]
Non Final Office Action received in related U.S. Appl. No. 19/286,971 issued on Jan. 21, 2026; 16 pages. [cited by applicant]
Notice of Allowance received in related U.S. Appl. No. 19/286,971 issued on Apr. 13, 2026; 10 pages. [cited by applicant]