IP Library Granted Patent US 12675763
Granted Patent B2
US 12675763 · App. 19/394,084 · Granted Jul 7, 2026

Multi-agent artificial intelligence system for autonomous business insight extraction

Inventors: Kamer Ali Yuksel (Munich, DE); Hassan Sawaf (San Jose, CA)
Assignee: Aixplain, Inc.
G06Q10/067
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 12675763
App. No.
19/394,084
Granted
Jul 7, 2026
Kind
B2
Abstract

A computer-implemented method autonomously generates, validates, and refines business insights from structured data tables stored in one or more databases. Schema information describing the structured data tables is received and used to automatically generate a plurality of candidate business insight hypotheses without relying on natural-language queries. For each hypothesis, corresponding structured queries are generated and executed to obtain query results indicating whether the hypothesis is supported or refuted. Execution failures or inconsistencies are detected and used to automatically refine queries or hypotheses and re-execute refined queries. Query results from successfully executed queries are aggregated into validated insight data. A large language model generates textual interpretations describing business implications of validated hypotheses, and visualization code renders visualizations of the validated insight data. A business insight report is compiled and the constituent insights are scored across multiple dimensions, with feedback used to refine subsequent executions over multiple iterations.

Claims (47)

1 . A computer-implemented method for autonomously generating, validating, and refining business insights from structured data, the method comprising:

receiving, by one or more processors, schema information describing a plurality of structured data tables stored in one or more databases;

automatically generating, based at least in part on the schema information, a plurality of candidate business insight hypotheses without receiving a natural-language query specifying the plurality of candidate business insight hypotheses;

generating, for individual ones of the plurality of candidate business insight hypotheses, corresponding structured queries and executing the structured queries against the plurality of structured data tables to obtain query results indicative of whether the individual candidate business insight hypotheses are supported or refuted;

detecting, for at least one of the structured queries, an execution failure or inconsistency;

automatically refining, in response to the execution failure or inconsistency, the at least one structured query or the corresponding candidate business insight hypothesis and re-executing a refined structured query;

aggregating query results for structured queries that successfully execute to form validated insight data associated with corresponding validated hypotheses;

generating, using a large language model, textual interpretations of the validated insight data that describe business implications of the validated hypotheses;

generating, based on the validated insight data, visualization code configured to render one or more visualizations representing at least a portion of the validated hypotheses and the query results;

compiling a business insight report including at least a subset of the validated hypotheses, the textual interpretations, and the one or more visualizations;

evaluating individual business insights represented in the business insight report according to a plurality of scoring dimensions to obtain a respective feedback score for each of the individual business insights; and

refining subsequent execution of at least one of: the generating of the plurality of candidate business insight hypotheses, the generating and executing of the structured queries, the generating of the textual interpretations, the generating of the visualization code, or the compiling of the business insight report, based at least in part on the feedback scores so that quality of the business insights improves over multiple iterations of the method.

2 . The method of claim 1 , wherein automatically generating the plurality of candidate business insight hypotheses comprises:

analyzing, from the schema information, relationships, key fields, and value distributions represented in the plurality of structured data tables; and

instantiating hypothesis templates that describe potential metrics, correlations, trends, anomalies, or risk conditions across the plurality of structured data tables, including at least one of utilization analysis, cost analysis, skills-gap analysis, risk analysis, or opportunity analysis.

3 . The method of claim 1 , wherein generating and executing the structured queries comprises automatically constructing structured query language statements for respective candidate business insight hypotheses and executing the structured query language statements against one or more relational databases or data warehouses that store the plurality of structured data tables.

4 . The method of claim 1 , wherein detecting the execution failure or inconsistency comprises detecting at least one of a syntax error, an invalid join condition, a missing filter, a data-type mismatch, or a runtime performance constraint associated with the at least one structured query.

5 . The method of claim 1 , wherein refining the at least one structured query or the corresponding candidate business insight hypothesis comprises generating a revised structured query that corrects a detected error while maintaining an intended analytical meaning of the corresponding candidate business insight hypothesis.

6 . The method of claim 1 , wherein aggregating the query results comprises normalizing, summarizing, or grouping the query results into a machine-readable insight representation that links each validated hypothesis to supporting query results and to one or more source structured queries.

7 . The method of claim 1 , wherein generating the textual interpretations using the large language model comprises conditioning the large language model on the validated insight data and one or more predefined business objectives so that the textual interpretations include at least one of actionable recommendations, identified risks, or identified opportunities related to the validated hypotheses.

8 . The method of claim 1 , wherein generating the visualization code comprises:

selecting, based on characteristics of the validated insight data, a visualization type from a plurality of visualization types including at least a bar chart, a line chart, or a pie chart; and

generating executable code for at least one charting or visualization library that, when executed by a processor, renders the selected visualization type.

9 . The method of claim 8 , further comprising storing the visualization code in association with the corresponding validated hypotheses and query results and reusing the stored visualization code to regenerate the one or more visualizations for a subsequent business insight report without re-executing the corresponding structured queries.

10 . The method of claim 1 , wherein compiling the business insight report comprises:

arranging content according to a report template that defines an executive summary section and a plurality of insight sections; and

including, for at least some of the candidate business insight hypotheses that fail validation, corresponding failure information or recommendations for improving a data model or data quality.

11 . The method of claim 1 , wherein evaluating the individual business insights according to the plurality of scoring dimensions comprises computing, for each business insight, scores for at least relevance, actionability, clarity, accuracy, business impact, and consistency with other insights, and combining the scores to obtain the respective feedback score.

12 . The method of claim 11 , further comprising ranking the individual business insights based on the respective feedback scores and selecting, for inclusion in the business insight report, a subset of the individual business insights having feedback scores that satisfy a threshold.

13 . The method of claim 1 , further comprising maintaining, across multiple iterations of the method, a shared state that stores at least the schema information, the plurality of candidate business insight hypotheses, the structured queries, the query results, the visualization code, the feedback scores, and historical report selections, and wherein the refining of the subsequent execution of the generating, executing, generating, or compiling is based at least in part on the shared state.

14 . A system for autonomously generating, validating, and refining business insights from structured data, the system comprising:

one or more processors; and

one or more non-transitory computer-readable media storing instructions executable by the one or more processors to implement one or more Artificial Intelligence agents comprising:

a data investigation agent configured to receive schema information describing a plurality of structured data tables stored in one or more databases;

a hypothesis generation agent configured to automatically generate, based at least in part on the schema information, a plurality of candidate business insight hypotheses without receiving a natural-language query specifying the plurality of candidate business insight hypotheses;

a SQL execution agent configured to generate, for individual ones of the plurality of candidate business insight hypotheses, corresponding structured queries, to execute the structured queries against the plurality of structured data tables, and to produce query results indicative of whether the individual candidate business insight hypotheses are supported or refuted;

a query debugging agent configured to detect an execution failure or inconsistency associated with at least one of the structured queries, to refine the at least one structured query or a corresponding candidate business insight hypothesis in response to the execution failure or inconsistency, and to re-execute a refined structured query to obtain updated query results;

a result aggregation and visualization agent configured to aggregate query results to form validated insight data associated with corresponding validated hypotheses, and generate visualization code for representing at least a portion of the validated hypotheses and the query results;

a report generation agent configured to compile a business insight report;

a feedback agent configured to evaluate individual business insights represented in the business insight report according to a plurality of scoring dimensions to obtain a respective feedback score for each of the individual business insights; and

a refinement agent configured to refine subsequent operation of the one or more Artificial Intelligence agents.

15 . The system of claim 14 , further comprising a shared state repository accessed by the Artificial Intelligence agent.

16 . The system of claim 14 , wherein the hypothesis generation agent is configured to instantiate hypothesis templates that describe potential metrics, correlations, trends, anomalies, or risk conditions across the plurality of structured data tables, including at least one of utilization analysis, cost analysis, skills-gap analysis, risk analysis, or opportunity analysis.

17 . The system of claim 14 , wherein the query debugging agent is configured to detect, as the execution failure or inconsistency, at least one of a syntax error, an invalid join condition, a missing data condition, or a data-type mismatch associated with the at least one structured query, and to generate a revised structured query that corrects a detected error while maintaining an intended analytical meaning of the corresponding candidate business insight hypothesis.

18 . The system of claim 14 , wherein the visualization generation agent is configured to select, based on characteristics of the validated insight data, a visualization type from a plurality of visualization types including at least a bar chart, a line chart, or a pie chart, to generate executable visualization code for the selected visualization type, and to store the visualization code in association with corresponding ones of the validated hypotheses and the query results for reuse in subsequent business insight reports.

19 . The system of claim 14 , wherein the feedback agent is configured to compute, for each of the individual business insights, scores for at least relevance, actionability, clarity, accuracy, and business impact, to combine the scores to obtain the respective feedback score, and wherein the refinement agent is configured to prioritize refinement of hypotheses, structured queries, or visualizations for the individual business insights based on the respective feedback scores.

20 . The system of claim 14 , further comprising one or more integration interfaces configured to communicate, via one or more application programming interfaces, with external business-intelligence tools or external structured data systems, the integration interfaces being configured to retrieve the plurality of structured data tables from the external systems and to export at least a portion of the business insight report or the one or more visualizations to the external business-intelligence tools.