A multi-agent cooperative network business index intelligent analysis and report generation method

By using a multi-agent collaborative framework and a closed-loop learning system, the problems of low query efficiency and insufficient analysis depth in the analysis of online financial business indicators have been solved. This has enabled multi-dimensional cross-insight and rapid decision-making, improved report generation efficiency and the self-evolution capability of agents, and formed an end-to-end intelligent analysis closed loop.

CN123159295APending Publication Date: 2026-11-24中国建设银行股份有限公司湖北省分行
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611305167.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-24

Smart Images

  • Figure CN123159295A_ABST
    Figure CN123159295A_ABST
Patent Text Reader

Abstract

This invention discloses a multi-agent collaborative intelligent analysis and report generation method for online finance business indicators, comprising: receiving natural language indicator query requests; performing semantic understanding and intent recognition by an indicator parsing agent; retrieving financial knowledge bases to generate structured query tasks; a multi-dimensional comparison agent collecting multi-source indicator data; performing cross-institutional, cross-time, cross-channel, or cross-product line comparative analysis; and conducting trend identification and attribution analysis; a report generation agent calling a large language model according to a template to generate structured reports and performing quality review before outputting them; and using a three-layer memory architecture of short-term working memory, long-term episodic memory, and procedural skill memory, along with a closed-loop learning mechanism, periodically triggering reflection and updating the skill base. This invention achieves automated analysis and report generation of online finance business indicators, improving efficiency and depth, and possessing continuous learning and self-evolution capabilities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of artificial intelligence and financial technology, and in particular to a method for intelligent analysis and report generation of online financial business indicators through multi-agent collaboration. Background Technology

[0002] With the deep integration of fintech and banking operations, the online banking department has become a core department for financial institutions in online customer acquisition, marketing services, and user experience optimization. Online banking involves massive, heterogeneous, and multi-source business metrics data, covering multiple dimensions such as user growth, transaction activity, product conversion, and channel efficiency. Data sources include core transaction systems, user behavior logs, and third-party channel data. Timely, accurate, and in-depth analysis of these metrics is a crucial foundation for operational decisions in online banking.

[0003] Existing technologies have introduced multi-agent or large-model technologies into financial business scenarios, such as multi-agent-based financial risk control task execution methods and agent-based large language model-based automatic report generation systems. While these solutions have improved the automation level of financial business to some extent, they still have significant shortcomings: Firstly, there is a lack of dedicated solutions for online finance business indicator scenarios, and the generalized multi-agent architecture is difficult to adapt to the analysis needs of multi-source heterogeneous indicator data in online finance businesses. Secondly, the collaboration mechanism between multiple agents is not perfect, lacking deep collaborative design for dedicated agents in indicator parsing, multi-dimensional comparison, and report generation; the connections between various links are loose, and an end-to-end automated analysis chain has not yet been formed. Furthermore, agents generally lack self-evolution capabilities, failing to continuously accumulate experience and optimize their own capabilities during use.

[0004] At the application level, the analysis and report generation of online finance business indicators currently face the following main problems: In terms of query efficiency, business personnel need to query indicator data item by item by writing SQL statements or operating BI tools, involving complex operations such as multi-source data access, multi-table joins, and caliber alignment, resulting in long query cycles and high labor costs. Regarding comparative analysis, most existing analysis tools only support single-dimensional indicator comparisons, making it difficult to achieve multi-dimensional comprehensive comparative analysis across institutions, channels, and product lines, thus failing to meet the needs of business decision-making for multi-dimensional cross-insights. In terms of analytical depth, traditional analysis remains at the descriptive level, lacking attribution analysis of the reasons for indicator changes and trend prediction, making it difficult to support in-depth business decision-making. Regarding report generation, business analysis reports rely on manual writing, with long cycles and poor timeliness from data extraction, organization, analysis to final draft, making it difficult to meet the rapidly changing business pace. Regarding the learning capabilities of intelligent agents, existing AI intelligent agent solutions mostly adopt a session-level memory architecture, which clears the context cache after each interaction, preventing user preferences and business knowledge from accumulating across sessions. Skill systems are mostly statically configured, requiring manual creation and maintenance, and cannot autonomously extract reusable skills from execution experience, making it difficult for the system to form effective experience accumulation in long-term use.

[0005] In summary, existing technologies are insufficient in terms of automation, depth of analysis, multi-dimensional comparison capabilities, and self-evolution capabilities of intelligent agents in the analysis of online finance business indicators. Summary of the Invention

[0006] The main objective of this invention is to provide a method for intelligent analysis and report generation of online finance business indicators through multi-agent collaboration.

[0007] Another objective of this invention is to propose a multi-agent collaborative intelligent analysis and report generation device for online finance business indicators.

[0008] The third objective of this invention is to provide a computer device.

[0009] The fourth objective of this invention is to provide a non-transitory computer-readable storage medium.

[0010] To achieve the above objectives, a first aspect of the present invention proposes a method for intelligent analysis and report generation of online finance business indicators through multi-agent collaboration, comprising: It receives indicator query requests input by users in natural language form, performs semantic understanding and intent recognition based on a large language model through an indicator parsing agent, retrieves matching indicator metadata from the financial knowledge base, and generates structured query tasks. The multidimensional comparative agent receives the structured query task, collects indicator data from the multi-source data system, performs multidimensional comparative analysis across institutions, time periods, channels, or product lines, and performs trend identification and attribution analysis based on time series analysis algorithms. The report generation agent receives the analysis results data output by the multidimensional comparison agent, calls the large language model based on the preset report template to generate a structured report, and outputs it in a predetermined format after quality review. Through an intelligent agent base with a three-layer memory architecture of short-term working memory, long-term episodic memory, and procedural skill memory, and a closed-loop learning mechanism, the reflection process is triggered regularly to analyze task execution records, identify experiences that can be accumulated and skills that can be optimized, generate optimization suggestions, and update the skill library.

[0011] In one embodiment of this application, the step of receiving an indicator query request input by a user in natural language form through an indicator parsing intelligent agent, performing semantic understanding and intent recognition based on a large language model, retrieving matching indicator metadata from a financial knowledge base, and generating a structured query task includes: The current session context is maintained through short-term working memory, and user historical preferences and commonly used indicator combinations are retrieved through long-term episodic memory. The large language model is invoked to perform semantic understanding and intent recognition on natural language queries, and to extract target indicators, statistical periods, comparison objects and analysis requirements. Search the financial knowledge base for matching indicator metadata to obtain the definition, calculation method and data source of the target indicator; Generate a structured query task that includes data source identifier, query fields, filter conditions, aggregation method, and time window.

[0012] In one embodiment of this application, the step of receiving the structured query task through a multi-dimensional comparison agent, collecting indicator data from a multi-source data system, performing multi-dimensional comparison analysis across institutions, time periods, channels, or product lines, and performing trend identification and attribution analysis based on time-series analysis algorithms includes: Connect to the corresponding multi-source data system based on the data source identifier, dynamically select and call financial data acquisition tools to collect data in parallel; Perform caliber alignment and standardization processing on the collected multi-source data; Based on the comparison dimensions required in the query task, perform cross-organizational comparison, cross-time comparison, cross-channel comparison, and cross-product line comparison analysis. Use time-series analysis algorithms to identify trends in indicator changes; Attribution analysis is performed based on the relationships and causal links in the financial knowledge base to identify key factors affecting changes in indicators. When preset conditions are met, the analysis process will be automatically solidified into a reusable skill.

[0013] In one embodiment of this application, the automatic solidification of the current analysis process into a reusable skill includes: Record the complete execution trajectory, including task context, tool call chain, parameters, errors and repair operations, and user feedback; By extracting common patterns from the execution trajectory using a large language model, skill descriptions, input / output interfaces, and tool dependency lists are generated. Convert the execution trajectory into an executable script; The executable script is stored in the skill library and its version number is registered. Subsequent similar tasks can retrieve the skill by searching and, after confirmation, reuse it for execution.

[0014] In one embodiment of this application, the report-generating agent receives the analysis result data output by the multidimensional comparison agent, calls a large language model based on a preset report template to generate a structured report, and outputs it in a predetermined format after quality review, including: Receive analysis results data output by the multidimensional comparative agent; The report's structure and content modules are determined based on the user's preset report type and template configuration. The large language model is invoked to organize and text-generate the analysis results data according to the structured requirements of the report template; The generated report undergoes format verification and quality review. Once approved, it is output in a predetermined format.

[0015] In one embodiment of this application, the intelligent agent base, which employs a three-layer memory architecture (short-term working memory, long-term episodic memory, and procedural skill memory) and a closed-loop learning mechanism, periodically triggers a reflection process, analyzes task execution records, identifies accumulable experiences and optimizable skills, generates optimization suggestions, and updates the skill base. This includes: The reflection process is initiated based on three triggering methods: periodic review of execution records, task failure or result abnormality detection, and user feedback-based scoring and error correction. Collect execution logs and memories, and perform causal analysis to identify areas for improvement; Execution path optimization to adjust tool invocation strategies, extraction of new skills to generate or update skill files, cleanup of inefficient memory fragments, and completion of deployment updates.

[0016] To achieve the above objectives, a second aspect of the present invention provides a multi-agent collaborative intelligent analysis and report generation device for online finance business indicators, comprising: The indicator parsing module is used to receive indicator query requests input by users in natural language form, perform semantic understanding and intent recognition based on a large language model, retrieve matching indicator metadata from the financial knowledge base, and generate structured query tasks. The multidimensional comparison analysis module is used to receive the structured query task, collect indicator data from the multi-source data system, perform multidimensional comparison analysis across institutions, time periods, channels, or product lines, and perform trend identification and attribution analysis based on time series analysis algorithms. The report generation module receives the analysis results data, calls the large language model based on the preset report template to generate a structured report, and outputs it after quality review. The reflection and skill optimization module is used to periodically trigger the reflection process through an intelligent agent base with a three-layer memory architecture of short-term working memory, long-term episodic memory and procedural skill memory and a closed-loop learning mechanism. It analyzes task execution records, identifies experiences that can be accumulated and skills that can be optimized, and updates the skill library.

[0017] To achieve the above objectives, a third aspect of this application provides a computer device, including a processor and a memory; wherein the processor reads executable program code stored in the memory to run a program corresponding to the executable program code, so as to implement a multi-agent collaborative intelligent analysis and report generation method for online financial business indicators as described in the first aspect embodiment.

[0018] To achieve the above objectives, the fourth aspect of this application proposes a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a method for intelligent analysis and report generation of multi-agent collaborative online finance business indicators as described in the first aspect embodiment.

[0019] The embodiments of the present invention have the following beneficial effects: This invention overcomes the limitations of traditional agent conversational memory by constructing a three-layer memory mechanism, a closed-loop learning system, and a self-reflection mechanism within a multi-agent collaborative framework. This enables agents to continuously learn and self-evolve, overcoming the limitations of traditional agents' conversational memory. Through a collaborative architecture of indicator analysis agents, multi-dimensional comparison agents, and report generation agents, it achieves full-chain automation from natural language query understanding, automatic indicator collection, multi-dimensional comparison analysis, trend attribution to report generation, significantly improving query efficiency and analytical depth. The multi-dimensional comparison agent supports multi-dimensional comprehensive comparison analysis across institutions, time periods, channels, and product lines, breaking through the limitations of traditional single-dimensional analysis. By leveraging causal links and relationships in the financial knowledge base, combined with time-series analysis algorithms, it achieves in-depth mining from descriptive analysis to attribution analysis. The report generation agent shortens the report generation cycle from days to hours, significantly improving the timeliness of analytical reports. The financial knowledge base construction mechanism effectively integrates and utilizes existing knowledge assets within the bank, combined with self-reflection and continuous optimization mechanisms, forming an end-to-end intelligent analysis closed loop. Attached Figure Description

[0020] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 A flowchart illustrating a method for intelligent analysis and report generation of online finance business indicators through multi-agent collaboration, as provided in an embodiment of the present invention; Figure 2 This is a flowchart of the intelligent agent processing for index analysis provided in an embodiment of the present invention; Figure 3 This is a flowchart of the multi-dimensional comparison agent processing provided in an embodiment of the present invention; Figure 4 A flowchart of the report generation agent processing provided in this embodiment of the invention; Figure 5 This is a structural diagram of a multi-agent collaborative intelligent analysis and report generation device for online finance business indicators, provided in an embodiment of the present invention. Detailed Implementation

[0021] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0022] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0023] The following describes, with reference to the accompanying drawings, a method for intelligent analysis and report generation of online finance business indicators based on multi-agent collaboration, according to an embodiment of the present invention.

[0024] Example 1 This embodiment provides a method for intelligent analysis and report generation of online finance business indicators through multi-agent collaboration, such as... Figure 1 As shown, the method includes the following steps: S1 receives the indicator query request input by the user in natural language form, performs semantic understanding and intent recognition based on a large language model through the indicator parsing agent, retrieves matching indicator metadata from the financial knowledge base, and generates a structured query task.

[0025] S2, through a multi-dimensional comparison agent, receives the structured query task, collects indicator data from a multi-source data system, performs multi-dimensional comparison analysis across institutions, time periods, channels, or product lines, and performs trend identification and attribution analysis based on time-series analysis algorithms.

[0026] S3 receives the analysis results data output by the multidimensional comparison agent through the report generation agent, calls the large language model to generate a structured report based on the preset report template, and outputs it in a predetermined format after quality review.

[0027] S4, through an intelligent agent base with a three-layer memory architecture of short-term working memory, long-term episodic memory and procedural skill memory and a closed-loop learning mechanism, periodically triggers a reflection process, analyzes task execution records, identifies experiences that can be accumulated and skills that can be optimized, generates optimization suggestions and updates the skill library.

[0028] This embodiment uses an improved agent base as a foundation to construct a collaborative system of three dedicated agents: an indicator analysis agent, a multi-dimensional comparison agent, and a report generation agent. The agent base can be implemented using a multi-agent framework such as Hermes Agent, but is not limited to this. The three agents communicate and exchange data asynchronously through message queues and shared memory, forming an end-to-end automated processing pipeline of "parsing—analysis—generation." The agent base provides the three dedicated agents with memory, tool invocation, skill management, and self-reflection capabilities.

[0029] like Figure 2As shown, Figure 2 The flowchart of the intelligent agent processing for index analysis is provided in the embodiments of the present invention.

[0030] Specifically, step S1 includes: S1-1 receives indicator query requests input by users in natural language form through the user interface.

[0031] In S1-2, the indicator parsing agent utilizes the short-term working memory of the improved agent base to maintain the current session context and leverages long-term contextual memory to retrieve users' historical preferences and frequently used indicator combinations. The short-term working memory uses a vector database for real-time context tracking, maintaining the indicator query context, user intent, and interaction state of the current session, supporting cross-session context preservation. The long-term contextual memory employs FTS5 full-text search technology to store cross-session business facts and user preferences, including commonly used indicator combinations, preference comparison dimensions, and business lines of interest. It supports fuzzy matching and semantic association; when a user mentions a relevant business topic in a new session, historical memory is automatically retrieved and injected into the current dialogue.

[0032] In S1-3, the indicator parsing agent invokes a large language model to perform semantic understanding and intent recognition on natural language queries. User queries and predefined intent category descriptions are concatenated into prompt words, which are then input into the large language model for zero-sample or few-sample intent classification. Simultaneously, by combining user historical query records and preference information from long-term contextual memory, the intent is dynamically disambiguated and corrected, extracting query elements such as target indicators, statistical periods, comparison objects, and analysis requirements.

[0033] In steps S1-4, the indicator analysis agent searches and matches data in the financial knowledge base to obtain metadata such as the definition, calculation method, and data source of the target indicator. The financial knowledge base is constructed through five steps: multi-source data acquisition and processing, knowledge extraction, knowledge fusion and alignment, knowledge storage and vectorization, and dynamic updating and maintenance. It integrates existing business policy documents, indicator dictionaries, historical analysis reports, and other knowledge files within the industry. Relevant information is dynamically retrieved using the RAG method and combined with user questions to enhance the accuracy and professionalism of the model's generated answers in the financial field.

[0034] S1-5, the indicator parsing agent generates a structured query task, including parameters such as data source identifier, query fields, filtering conditions, aggregation method, and time window. At the same time, it updates the short-term working memory to cache the current query context and sends the structured task to the message queue to wait for the multidimensional comparison agent to retrieve it.

[0035] like Figure 3 As shown, Figure 3 This is a flowchart of the multidimensional comparison agent processing provided in an embodiment of the present invention.

[0036] Specifically, step S2 includes: S2-1, the multidimensional comparison agent receives structured query tasks and connects to the corresponding multi-source data systems according to the data source identifier.

[0037] S2-2, the multi-dimensional comparative agent dynamically selects and invokes financial data acquisition tools through an improved tool invocation mechanism of the agent base, executing data acquisition operations in parallel. The financial data toolset includes financial data acquisition tools, indicator calculation tools, comparative analysis tools, and report generation tools. The agent dynamically selects the optimal tool combination based on the task type and context, rather than a fixed invocation sequence.

[0038] S2-3, the multi-dimensional comparison agent performs caliber alignment and standardization processing on the collected multi-source data. Calibration alignment rules include: field mapping, unifying naming conventions and enumerated values; unit conversion, unifying ten thousand or one hundred million yuan into yuan and standardizing exchange rates; time granularity alignment, unifying daily, weekly, and monthly data to the task-specified granularity; missing value handling, using linear imputation or filling with the mean of the same source; outlier removal, using the 3σ principle and business threshold for dual verification.

[0039] S2-4, the multi-dimensional comparison agent performs multi-dimensional comparison analysis based on the comparison dimension requirements in the query task, including cross-organization comparison, cross-time comparison, cross-channel comparison, and cross-product line comparison.

[0040] S2-5, the multidimensional comparative agent invokes a time series analysis algorithm to identify the trend of indicator changes. The time series analysis employs STL decomposition and Holt-Winters exponential smoothing, where the level update formula for Holt-Winters exponential smoothing is:

[0041] The trend update formula is:

[0042] The seasonal update formula is:

[0043] Among them, Y t is the actual value, m is the period length, and α, β, γ are smoothing parameters, which are automatically optimized by minimizing RMSE.

[0044] S2-6, the multidimensional comparative agent performs trend attribution analysis based on the relationships and causal links in the financial knowledge base to identify key factors affecting indicator changes. The attribution analysis employs a combination of Shapley value decomposition and Granger causality testing: first, candidate factors such as interest rates, policies, competitors, and channel costs are extracted from the financial knowledge graph; then, the Shapley contribution value of each factor to the target indicator is calculated and ranked according to contribution; finally, the top three factors undergo lag-order Granger tests, with F-statistics and p < 0.05 used to determine causality, outputting a ternary attribution result of factor, contribution, and confidence level.

[0045] In S2-7, the multidimensional comparative agent, through the closed-loop learning system of the improved agent base, determines whether the current analysis process has reusable value. If it involves more than 5 tool calls, errors occur and are fixed, or the user provides corrective feedback, skill generation is automatically triggered, solidifying the current analysis process into a reusable Skill. The automatic skill generation implementation process includes: recording the complete execution trajectory, including task context, tool call chain, parameters, errors and fixes, and user feedback; calling the LLM digester to extract common patterns, generating Skill descriptions, input / output interfaces, and tool dependency lists; converting the trajectory into an executable DSL script based on the agent base's Action sequence; storing it in the skill library and registering a version number; subsequently, similar tasks can recall the Skill through vector retrieval, and it can be reused after manual confirmation.

[0046] like Figure 4 As shown, Figure 4 The flowchart of the report generation agent processing provided in the embodiments of the present invention is shown.

[0047] Specifically, step S3 includes: S3-1, The report generates the analysis results data of the intelligent agent that receives the output of the multidimensional comparative intelligent agent.

[0048] S3-2, The report generation agent determines the report's structural framework and content modules based on the user's preset report type and template configuration.

[0049] S3-3, the report generation agent calls the large language model to organize and textualize the analysis results data according to the structured requirements of the report template.

[0050] S3-4, The report generating agent performs format verification and quality audit on the generated report.

[0051] S3-5, the report generation agent outputs the final report to the user in PDF, Word, or HTML format.

[0052] Specifically, step S4 includes: S4-1, The self-reflection mechanism periodically triggers a reflection process to analyze recent task execution records. This self-reflection mechanism can be implemented using, for example, a self-reflection mechanism like Nudge Engine, but is not limited to this.

[0053] S4-2, Identify experiences that can be accumulated and skills that can be optimized.

[0054] S4-3 generates optimization suggestions and updates the skill library, allowing the system's capabilities to continuously accumulate as it is used.

[0055] This embodiment focuses on the design and optimization of the intelligent agent base architecture to build an intelligent agent base with continuous learning and self-evolution capabilities, specifically including the following architecture design and optimization.

[0056] In terms of memory mechanisms, a three-layer memory architecture is adopted. The first layer is short-term working memory, which uses a vector database for real-time context tracking, maintaining the query context, user intent, and interaction state of the current session, and supporting cross-session context preservation. The second layer is long-term contextual memory, which stores cross-session business facts and user preferences, using FTS5 full-text search technology and supporting fuzzy matching and semantic association. The third layer is procedural skill memory, which automatically creates and continuously iterates reusable analytical skills, solidifying successful indicator analysis workflows into reusable skill files. The three-layer memory adopts a limited capacity design, and information purification is achieved through a dynamic eviction mechanism and semantic compression algorithm to avoid memory bloat.

[0057] Regarding the closed-loop learning system, it follows a workflow of "observation—execution—reflection—consolidation—reuse." The observation phase perceives the user's natural language query requests and business context; the execution phase calls relevant tools to complete indicator data collection, comparative analysis, and report generation; the reflection phase automatically reviews the execution process after task completion, identifying successful steps and failure paths; the consolidation phase abstracts successful workflows into structured skills, generating SKILL.md files stored in the local skills directory; and the reuse phase proactively loads and executes the corresponding skills directly when encountering similar tasks again, without needing to re-explore.

[0058] Regarding self-reflection capabilities, the self-reflection mechanism is enhanced through three triggers to achieve self-reflection and continuous optimization: periodic reflection, which periodically analyzes recent memory usage patterns and task execution records to identify valuable experiences; anomaly detection reflection, which automatically triggers diagnostic reflection when the task failure rate exceeds a threshold or abnormal results occur; and user feedback reflection, which adjusts memory priorities and skill content based on explicit feedback from business personnel. The reflection process includes collecting execution logs, constructing cause-effect graphs, identifying improvement points, generating optimization suggestions, and updating the skill library.

[0059] Regarding automatic skill generation and evolution, skills are automatically triggered when the agent completes a complex metric analysis task (typically involving more than 5 tool calls), encounters an error and automatically corrects it, or receives corrective feedback from the user. Skill files describe the task execution flow in natural language, including step-by-step procedures, tool call order, common problems, and fixes. A built-in offline batch evolution algorithm periodically reviews and optimizes existing skills, automatically updating skill files when a better path is found. Skills employ a three-level progressive loading strategy: name-level, description-level, and complete-level, expanding as needed and optimizing token consumption.

[0060] In summary, this embodiment enables the system to continuously learn and self-evolve through the improved intelligent agent base's three-layer memory mechanism, closed-loop learning system, and the self-reflection capability of the reflection engine; through a three-layer collaborative architecture of indicator analysis agent, multi-dimensional comparison agent, and report generation agent, it achieves end-to-end automation from natural language query understanding, automatic indicator collection, multi-dimensional comparative analysis, trend attribution to report generation; and through the integration of financial knowledge base and RAG, it enhances the accuracy and professionalism of the model's generated answers in the financial field.

[0061] Example 2 This embodiment provides a multi-agent collaborative intelligent analysis and report generation system for online finance business indicators. The system includes an indicator parsing agent, a multi-dimensional comparison agent, a report generation agent, and an agent base.

[0062] The indicator parsing agent receives indicator query requests input by users in natural language, performs semantic understanding and intent recognition based on a large language model, retrieves matching indicator metadata from a financial knowledge base, and generates structured query tasks. This agent utilizes the short-term working memory of an improved agent platform to maintain the current session context, leverages long-term contextual memory to retrieve users' historical preferences and frequently used indicator combinations, and retrieves metadata such as indicator definitions, calculation methods, and data sources from the financial knowledge base using a RAG (Research and Analysis Group) approach.

[0063] A multidimensional comparative agent is used to receive structured query tasks, collect indicator data from multi-source data systems, perform multidimensional comparative analysis across institutions, time periods, channels, or product lines, and conduct trend identification and attribution analysis based on time-series analysis algorithms. This agent dynamically selects and invokes financial data collection tools through an improved agent-based tool invocation mechanism. It performs calibrated and standardized processing on the collected multi-source data, uses STL decomposition and Holt-Winters exponential smoothing for time-series analysis, and combines Shapley value decomposition with Granger causality tests for attribution analysis. Furthermore, a closed-loop learning system automatically solidifies reusable analysis processes into reusable skills.

[0064] The report generation agent receives the analysis results data output by the multidimensional comparison agent, calls the large language model based on the preset report template to generate a structured report, and outputs it in PDF, Word or HTML format after quality review.

[0065] The intelligent agent foundation provides the three dedicated intelligent agents mentioned above with memory, tool invocation, skill management, and self-reflection capabilities. The intelligent agent foundation can be implemented using a multi-agent framework such as Hermes Agent, but is not limited to it. It includes a three-layer memory architecture, a closed-loop learning system, and a self-reflection mechanism (which can be implemented using mechanisms such as Nudge Engine, but is not limited to them). The three-layer memory architecture includes short-term working memory based on a vector database, long-term contextual memory based on FTS5 full-text retrieval, and procedural skill memory. The closed-loop learning system follows an "observation-execution-reflection-retention-reuse" process, automatically solidifying successful analysis processes into skill files. The self-reflection mechanism continuously optimizes system capabilities through three triggers: periodic reflection, anomaly detection reflection, and user feedback reflection.

[0066] The three intelligent agents communicate and exchange data asynchronously via message queues and shared memory, forming an end-to-end automated processing pipeline of "parsing-analysis-generation". The financial knowledge base is constructed according to five steps: multi-source data acquisition and processing, knowledge extraction, knowledge fusion and alignment, knowledge storage and vectorization, and dynamic updating and maintenance. It integrates existing business policy documents, indicator dictionaries, historical analysis reports and other knowledge files within the bank, providing domain knowledge support for indicator parsing and multi-dimensional comparative analysis.

[0067] Example 3 This invention also provides a device for intelligent analysis and report generation of online finance business indicators through multi-agent collaboration, such as... Figure 5 As shown, the device 10 includes: The indicator parsing module 100 is used to receive indicator query requests input by users in natural language form, perform semantic understanding and intent recognition based on a large language model, retrieve matching indicator metadata from the financial knowledge base, and generate structured query tasks.

[0068] The multidimensional comparison analysis module 200 is used to receive the structured query task, collect indicator data from the multi-source data system, perform multidimensional comparison analysis across institutions, time periods, channels, or product lines, and perform trend identification and attribution analysis based on time series analysis algorithms.

[0069] The report generation module 300 is used to receive analysis result data, call the large language model based on the preset report template to generate a structured report, and output it after quality review.

[0070] The Reflection and Skills Optimization Module 400 is used to periodically trigger the reflection process through an intelligent agent base with a three-layer memory architecture of short-term working memory, long-term episodic memory and procedural skills memory and a closed-loop learning mechanism. It analyzes task execution records, identifies experiences that can be accumulated and skills that can be optimized, and updates the skill library.

[0071] Example 4 To implement the methods of the above embodiments, the present invention also provides a computer device, which includes a memory and a processor; wherein the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory, so as to implement the various steps of the methods described above.

[0072] Example 5 To implement the above embodiments, this application also proposes a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the method described in the foregoing embodiments.

[0073] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

[0074] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0075] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

Claims

1. A method for intelligent analysis and report generation of online finance business indicators through multi-agent collaboration, characterized in that, Includes the following steps: It receives indicator query requests input by users in natural language form, performs semantic understanding and intent recognition based on a large language model through an indicator parsing agent, retrieves matching indicator metadata from the financial knowledge base, and generates structured query tasks. The multidimensional comparative agent receives the structured query task, collects indicator data from the multi-source data system, performs multidimensional comparative analysis across institutions, time periods, channels, or product lines, and performs trend identification and attribution analysis based on time series analysis algorithms. The report generation agent receives the analysis results data output by the multidimensional comparison agent, calls the large language model based on the preset report template to generate a structured report, and outputs it in a predetermined format after quality review. Through an intelligent agent base with a three-layer memory architecture of short-term working memory, long-term episodic memory, and procedural skill memory, and a closed-loop learning mechanism, the reflection process is triggered regularly to analyze task execution records, identify experiences that can be accumulated and skills that can be optimized, generate optimization suggestions, and update the skill library.

2. The method according to claim 1, characterized in that, The intelligent agent receives indicator query requests input by users in natural language, performs semantic understanding and intent recognition based on a large language model, retrieves matching indicator metadata from a financial knowledge base, and generates a structured query task, including: The current session context is maintained through short-term working memory, and user historical preferences and commonly used indicator combinations are retrieved through long-term episodic memory. The large language model is invoked to perform semantic understanding and intent recognition on natural language queries, and to extract target indicators, statistical periods, comparison objects and analysis requirements. Search the financial knowledge base for matching indicator metadata to obtain the definition, calculation method and data source of the target indicator; Generate a structured query task that includes data source identifier, query fields, filter conditions, aggregation method, and time window.

3. The method according to claim 1, characterized in that, The process involves receiving the structured query task through a multi-dimensional comparative agent, collecting indicator data from a multi-source data system, performing multi-dimensional comparative analysis across institutions, time periods, channels, or product lines, and conducting trend identification and attribution analysis based on time-series analysis algorithms, including: Connect to the corresponding multi-source data system based on the data source identifier, dynamically select and call financial data acquisition tools to collect data in parallel; Perform caliber alignment and standardization processing on the collected multi-source data; Based on the comparison dimensions required in the query task, perform cross-organizational comparison, cross-time comparison, cross-channel comparison, and cross-product line comparison analysis. Use time-series analysis algorithms to identify trends in indicator changes; Attribution analysis is performed based on the relationships and causal links in the financial knowledge base to identify key factors affecting changes in indicators. When preset conditions are met, the analysis process will be automatically solidified into a reusable skill.

4. The method according to claim 3, characterized in that, The automatic solidification of this analysis process into a reusable skill includes: Record the complete execution trajectory, including task context, tool call chain, parameters, errors and repair operations, and user feedback; By extracting common patterns from the execution trajectory using a large language model, skill descriptions, input / output interfaces, and tool dependency lists are generated. Convert the execution trajectory into an executable script; The executable script is stored in the skill library and its version number is registered. Subsequent similar tasks can retrieve the skill by searching and, after confirmation, reuse it for execution.

5. The method according to claim 1, characterized in that, The process involves a report-generating agent receiving analysis results data output by a multidimensional comparison agent, generating a structured report based on a preset report template using a large language model, and outputting the report in a predetermined format after quality review. This includes: Receive analysis results data output by the multidimensional comparative agent; The report's structure and content modules are determined based on the user's preset report type and template configuration. The large language model is invoked to organize and text-generate the analysis results data according to the structured requirements of the report template; The generated report undergoes format verification and quality review. Once approved, it is output in a predetermined format.

6. The method according to claim 1, characterized in that, The intelligent agent base, employing a three-layer memory architecture (short-term working memory, long-term episodic memory, and procedural skill memory) and a closed-loop learning mechanism, periodically triggers a reflection process, analyzes task execution records, identifies cultivable experiences and optimizable skills, generates optimization suggestions, and updates the skill base, including: The reflection process is initiated based on three triggering methods: periodic review of execution records, task failure or result abnormality detection, and user feedback-based scoring and error correction. Collect execution logs and memories, and perform causal analysis to identify areas for improvement; Execution path optimization to adjust tool invocation strategies, extraction of new skills to generate or update skill files, cleanup of inefficient memory fragments, and completion of deployment updates.

7. A multi-agent collaborative intelligent analysis and report generation device for online finance business indicators, characterized in that, include: The indicator parsing module is used to receive indicator query requests input by users in natural language form, perform semantic understanding and intent recognition based on a large language model, retrieve matching indicator metadata from the financial knowledge base, and generate structured query tasks. The multidimensional comparison analysis module is used to receive the structured query task, collect indicator data from the multi-source data system, perform multidimensional comparison analysis across institutions, time periods, channels, or product lines, and perform trend identification and attribution analysis based on time series analysis algorithms. The report generation module receives the analysis results data, calls the large language model based on the preset report template to generate a structured report, and outputs it after quality review. The reflection and skill optimization module is used to periodically trigger the reflection process through an intelligent agent base with a three-layer memory architecture of short-term working memory, long-term episodic memory and procedural skill memory and a closed-loop learning mechanism. It analyzes task execution records, identifies experiences that can be accumulated and skills that can be optimized, and updates the skill library.

8. A computer device, characterized in that, Including processor and memory; The processor reads the executable program code stored in the memory to run the program corresponding to the executable program code, so as to implement the intelligent analysis and report generation method for multi-agent collaborative online finance business indicators as described in any one of claims 1-6.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements a method for intelligent analysis and report generation of multi-agent collaborative online finance business indicators as described in any one of claims 1-6.