Submitted:
13 May 2025
Posted:
13 May 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Scalability: Evaluating the scalability of the architecture to handle a large number of agents and complex financial scenarios.
- Real-time Performance: Assessing the system’s ability to operate in real-time and make timely decisions in dynamic market conditions.
- Regulatory Compliance: Ensuring that the system complies with relevant financial regulations and ethical guidelines.
- Integration with Existing Systems: Exploring how the architecture can be integrated with existing financial systems and infrastructure.
1.1. Related Work
1.2. Overview of Modern AI Agent Frameworks
1.2.1. General-Purpose Frameworks
1.2.2. Industry and Cloud Solutions
2. AI Agent Frameworks: A Comparative Analysis
2.1. LangChain
2.2. LangGraph
2.3. CrewAI
2.4. AutoGen
2.5. Other Frameworks
2.6. Comparison and Suitability for Finance
3. Proposed Multi-Agent Architecture
3.1. Architecture Overview
- Data Layer: This layer is responsible for collecting, storing, and managing financial data from various sources. It includes components for data acquisition, preprocessing, and storage. Technologies like Retrieval Augmented Generation (RAG) [52] can be employed to enhance the agent’s ability to access and utilize relevant information from this layer. Data pipelines using LLMs and multi-agent systems are discussed in [4].
- Agent Layer: This layer consists of a collection of intelligent agents, each specialized in a specific financial task. Agents in this layer are powered by LLMs and equipped with capabilities for reasoning, planning, communication, and action execution.
- Orchestration Layer: This layer is responsible for coordinating the activities of agents in the Agent Layer. It manages agent communication, task allocation, conflict resolution, and overall system behavior. Frameworks like Camel [53] can provide useful insights into designing effective communication protocols.
3.2. Agent Design
- LLM-Powered Cognition Module: This module utilizes a pre-trained LLM, fine-tuned on financial data, to perform tasks such as data analysis, forecasting, risk assessment, and report generation.
- Domain Knowledge Base: This module stores domain-specific knowledge, including financial concepts, market regulations, and company information.
- Communication Interface: This module enables agents to communicate with each other and with the Orchestration Layer using a standardized message format.
- Action Execution Engine: This module executes the actions determined by the agent’s cognition module, such as retrieving data, performing calculations, and generating reports. Pydantic [26] can be used to ensure data integrity.
3.3. Orchestration Mechanisms
- Task Decomposition: Complex financial tasks are decomposed into smaller subtasks that can be assigned to individual agents.
- Agent Negotiation: Agents negotiate with each other to determine the best way to execute their assigned tasks.
- Conflict Resolution: Mechanisms are in place to resolve conflicts that may arise between agents.
- System Monitoring: The Orchestration Layer monitors the overall system performance and intervenes when necessary.
4. Evaluation Strategy
4.1. Evaluation Scenarios
- Portfolio Optimization: Agents will collaborate to optimize investment portfolios based on risk tolerance, return objectives, and market conditions.
- Fraud Detection: Agents will analyze transaction data to identify patterns indicative of fraudulent activity. AI agents are being developed to fight financial crime [54].
- Algorithmic Trading: Agents will develop and execute trading strategies in a simulated market environment [33].
- Financial News Analysis: Agents will analyze news articles and social media data to identify market trends and sentiment.
4.2. Evaluation Metrics
- Accuracy: The accuracy of agent predictions and decisions in each scenario.
- Efficiency: The speed and resource consumption of the system in completing tasks.
- Robustness: The ability of the system to handle noisy or incomplete data and unexpected events.
- Explainability: The degree to which agent decisions can be explained and justified.
- Risk-Adjusted Return: A measure of investment performance that considers the level of risk taken.
4.3. Benchmarking and Baselines
- Baseline 1: A traditional rule-based system that uses predefined rules to perform financial analysis.
- Baseline 2: A single-agent system that utilizes an LLM but does not involve multi-agent coordination.
- Baseline 3: Existing state-of-the-art financial models (where applicable to the scenario).
5. Agentic AI in Finance
5.1. Risk Management
5.2. Trading and Investment
5.3. Productivity Enhancements
5.4. Customer Experience
5.5. Financial Trading and Investment
5.6. Decision Support and Workflow Automation
6. AI Agent Framework Landscape
6.1. General Purpose Frameworks
- LangGraph: A low-level orchestration framework from LangChain enabling controllable agents with state management [14]
- CrewAI: Specializes in role-based agent collaboration with built-in task delegation [15]
- AutoGen: Microsoft’s framework for building multi-agent systems with diverse capabilities [16]
- Llama-agents: LlamaIndex’s production-ready framework for enterprise knowledge systems [49]
- Semantic Kernel: Microsoft’s experimental agent framework integrating with AI services [17]
6.2. Industry-Specific Solutions
7. Cloud Python Libraries for AI Agent Development
- Google Cloud Libraries: Google Cloud offers libraries like Vertex AI, which provides tools to build, deploy, and scale machine learning (ML) models. Vertex AI Agent Builder [21] allows for creating virtual AI agents.
- Amazon Web Services (AWS) Libraries: AWS provides services like Amazon Bedrock, and Bedrock Agents [22] which enables the building of generative AI applications.
7.1. Major Cloud Python Libraries
- LangChain/LangGraph: Provides comprehensive tools for building LLM-powered agents with cloud deployment capabilities [14]. The framework supports AWS, GCP, and Azure integration for scalable agent systems.
- Pydantic-AI: Offers cloud-optimized agent development with strong typing and validation, particularly useful for financial data pipelines [26]. The library includes connectors for major cloud platforms.
- IBM watsonx: Delivers enterprise-grade AI agents with native cloud support through Python SDKs [51]. The platform specializes in secure financial applications with built-in compliance features.
- Mosaic AI Agent Framework: Databricks’ solution for building autonomous AI assistants with cloud-native architecture [19]. It integrates seamlessly with Databricks’ Lakehouse platform for financial data processing.
7.2. Cloud-Specific Implementations
7.3. Financial Services Specialization
- FinRobot [34]: Open-source platform with cloud connectors for market data feeds and trading APIs.
- Zetaris Agentic AI [58]: Cloud-native solution for financial data virtualization and agent-based analytics.
- WorkFusion AI Agents [54]: Specialized cloud library for anti-financial crime applications with pre-built AML/KYC workflows.
7.4. Performance Considerations
- Scalability: Multi-agent systems like those built with [15] can automatically scale across cloud regions during market hours.
- Latency: Frameworks such as [10] optimize cloud deployment for low-latency trading applications.
- Cost Efficiency: [9] reports cloud-based agents can reduce infrastructure costs by 30-40% compared to on-premise solutions for equivalent workloads.
7.5. Agno: Cloud-Native Agent Framework
7.6. Best Practices for Cloud Python Environments
7.7. Alternative Libraries and Approaches
7.8. Summary
8. Theoretical Foundations of Agentic AI
- Agentic Design Patterns - Architectural templates for creating autonomous agents capable of iterative planning and tool use [1]. Characterized by:where S=states, =policies, M=memory, T=tools.
- Multi-Agent Scaling Laws - Quantitative relationships between agent count and system performance [53]. Demonstrated through:where is task-dependent.
- Verbal Reinforcement Learning - Conceptual reinforcement through language feedback rather than numeric rewards [7]. Formalized as:
- Financial Market Microfoundations - Agent-based models explaining macro phenomena through individual agent behaviors [33]. Price formation follows:
- Multimodal Fusion Theory - Framework for combining diverse financial data modalities [5]. Uses attention mechanisms:
- Agentic Workflow Optimization - Mathematical formulation of task decomposition in financial processes [6]. Minimizes:
- Conceptual Alignment - Ensuring agent reasoning aligns with financial domain concepts [7]. Measured by:
- Risk-Aware Learning - Adaptation mechanisms considering financial risk constraints [40]. Policies satisfy:
- Computational Principal-Agent Theory - Formalizing delegation in AI-human teams [12]. Models:
- Generative Economic Equilibrium - Stable states in AI-augmented financial systems [33]. Requires:where BR denotes best response.
9. Multi-Agent System Architectures
9.0.1. Microfoundations Market Model
- : Agent state (e.g., portfolio, risk tolerance),
- : Policy function, ,
- : Learning parameters.
9.0.2. FinCon Architecture
| Algorithm 1:AML Agent Workflow |
|
9.1. Specialized Trading Architectures
9.1.1. Multimodal Foundation Agent
- : Textual data encoder,
- : Technical analysis encoder,
- : News sentiment encoder,
- : Learnable fusion weights.
9.1.2. FinRobot Platform
- Data Layer : ,
- LLM Layer : ,
- Agent Layer : .
9.2. Risk Management Architectures
9.2.1. Agentic AI for Credit Risk
- : Specialist risk sub-models (e.g., market, credit, operational),
- : Attention weights derived from agent interactions,
- g: Final risk scoring function.
9.2.2. AML Agent Architecture
| Algorithm 2:AML Agent Workflow |
|
9.3. Architectural Comparisons
10. Proposed Architectures: Mathematical and Algorithmic Foundations
10.1. Agent-Native and Modular Architectures
10.2. Meta-Agent and Hierarchical Planning
10.3. Learning Agents and Reinforcement Learning
10.4. Automated Agent Design
10.5. Multi-Agent Coordination
10.6. Algorithmic Example: Hierarchical Agent Planning
- functionHierarchicalPlan(goal)
- if Atomic(goal) then
- return Execute(goal)
- else
- subgoals ← Decompose(goal)
- for all subgoal in subgoals do
- result ← HierarchicalPlan(subgoal)
- end for
- return Aggregate(results)
- end if
- end function
11. Implementation Challenges
11.1. Workforce Transformation
11.2. Risk Alignment
12. Conclusion
- Specialized frameworks (CrewAI, LangGraph) outperform general solutions for financial use cases
- Productivity gains of 50-80% are achievable in data-intensive tasks
- Risk management and trading show particularly strong benefits
- Workforce transformation remains the largest adoption barrier
12.1. Challenges and Future Directions
References
- Pounds, E. What Is Agentic AI?, 2024.
- Jadhav, B. What is Agentic AI?, 2024.
- Winston, A. What are AI agents and why do they matter?, 2024.
- Schalkwyk, P.v. Part 3 AI at the Core: LLMs and Data Pipelines for Industrial Multi Agent Generative Systems, 2024.
- Zhang, W.; Zhao, L.; Xia, H.; Sun, S.; Sun, J.; Qin, M.; Li, X.; Zhao, Y.; Zhao, Y.; Cai, X.; et al. A multimodal foundation agent for financial trading: Tool-augmented, diversified, and generalist. In Proceedings of the Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining; 2024; pp. 4314–4325. [Google Scholar]
- Han, X.; Wang, N.; Che, S.; Yang, H.; Zhang, K.; Xu, S.X. Enhancing Investment Analysis: Optimizing AI Agent Collaboration in Financial Research. In Proceedings of the Proceedings of the 5th ACM International Conference on AI in Finance, 2024; pp. 538–546.
- Yu, Y.; Yao, Z.; Li, H.; Deng, Z.; Cao, Y.; Chen, Z.; Suchow, J.W.; Liu, R.; Cui, Z.; Xu, Z.; et al. Fincon: A synthesized llm multi-agent system with conceptual verbal reinforcement for enhanced financial decision making. arXiv preprint, arXiv:2407.06567 2024.
- Yee, L.; Chui, M.; Roberts, R.; Xu, S. Why agents are the next frontier of generative AI. Technical report, McKinsey Digital Practice, 2024. tex.dateaccessed: 2025-01-24.
- Arya, S. Top 7 Frameworks for Building AI Agents in 2025, 2024.
- AI Agent Frameworks Compared: LangGraph vs CrewAI vs OpenAI Swarm.
- Top 5 Frameworks for Building AI Agents in 2024 (Plus 1 Bonus), 2024.
- Chen, S.H. Computationally intelligent agents in economics and finance, 2007. Issue: 5 Pages: 1153–1168 Publication Title: Information Sciences Volume: 177.
- Agents.
- LangGraph.
- CrewAI.
- AI Agentic Design Patterns with AutoGen.
- crickman. Semantic Kernel Agent Framework (Experimental), 2024.
- Agentforce: Create Powerful AI Agents Salesforce, US.
- Build an Autonomous AI Assistant with Mosaic AI Agent Framework, 2024.
- What are compound AI systems and AI agents?
- What is Vertex AI Agent Builder?
- AI Agents Amazon Bedrock Agents AWS.
- wmwxwa. AI agents and solutions Azure Cosmos DB, 2024.
- AI Agent Development IBM watsonx.ai.
- Agents PydanticAI.
- pydantic/pydantic-ai, 2025. original-date: 2024-06-21T15:55:04Z.
- Aydın, K. Which AI Agent framework should i use? (CrewAI, Langgraph, Majestic one and pure code), 2024.
- G, A. Best 5 Frameworks To Build Multi Agent AI Applications.
- AI Agent Frameworks: Choosing the Right Foundation for Your Business IBM, 2025.
- Top 5 Free AI Agent Frameworks.
- These 2 AI Agent Frameworks Appear to Be Dominating Headlines—But Which One’s Better? HackerNoon.
- How Agentic AI will transform financial services, 2024.
- Microfoundations, M.A.N.; Nakagawa, K.; Hirano, M. A Multi-agent Market Model Can Explain the Impact of AI Traders in Financial. In Proceedings of the PRIMA 2024: Principles and Practice of Multi-agent Systems: 25th International Conference, Kyoto, Japan, November 18-24, 2024, Proceedings. Springer Nature, 2024, Vol. 15395, p. 97.
- Yang, H.; Zhang, B.; Wang, N.; Guo, C.; Zhang, X.; Lin, L.; Wang, J.; Zhou, T.; Guan, M.; Zhang, R.; et al. FinRobot: An Open Source AI Agent Platform for Financial Applications using Large Language Models. arXiv preprint arXiv:2405.14767, 2024. [Google Scholar]
- Rogerson, K. Sphere for Employees – Agentic AI Copilot for Financial Services, 2024.
- Jadhav, B. How Agentic AI is Redefining Employee Productivity?, 2024.
- Cognizant Neuro, AI.
- Clatterbuck, H.; Castro, C.; Morán, A.M. Risk alignment in agentic AI systems. Technical report, Rethink Priorities, 2024. tex.dateaccessed: 2025-01-24.
- Why 45% of financial firms are turning to GenAI for risk management.
- See, M. AI and gen AI developments in credit risk management. Technical report, International Association of Credit Portfolio Managers, 2024. tex.dateaccessed: 2025-01-24.
- Embracing generative AI in credit risk McKinsey.
- sinclair schuller, E.Y. Wielding the double-edged sword of GenAI.
- Agentic AI – the new frontier in GenAI.
- Artificial intelligence and machine learning in financial services. Technical report, Financial Stability Board, 2024. tex.dateaccessed: 2025-01-24.
- Bank, E.C. Artificial intelligence: a central bank’s view 2024.
- The rise of AI agents. Technical report, Moody’s Analytics, 2023. tex.dateaccessed: 2025-01-24.
- AI and GenAI.
- internationalbanker. Navigating the Generative AI Frontier: Balancing Risk and Workforce Transformation in Banking, 2024.
- Introducing llama-agents: A Powerful Framework for Building Production Multi Agent AI Systems — LlamaIndex Build Knowledge Assistants over your Enterprise Data.
- Deploy Generative AI with NVIDIA NIM NVIDIA.
- IBM watsonx.
- Leveraging Retrieval Augmented Generation (RAG) in Banking: A New Era of Finance Transformation.
- camel-ai/camel, 2025. original-date: 2023-03-17T21:41:54Z.
- AI Agents: Ready to Fight Financial Crime at Your Fingertips.
- Capitec Bank employees save more than 1 hour per week with Microsoft 365 Copilot and Azure Open AI Microsoft Customer Stories.
- Woodie, A. AI Agent Claims 80% Reduction in Time to Complete Data Tasks, 2025.
- JPMorgan Chase rolls out AI assistant powered by ChatGPT-maker OpenAI.
- Zetaris introduces Agentic AI for the financial services sector, 2024.
- AI Agents.
- AI Agent Index – Documenting the technical and safety features of deployed agentic AI systems.
- Agentic AI: The new frontier in generative AI an executive playbook. Technical report, PricewaterhouseCoopers, 2024. tex.dateaccessed: 2025-01-24.
- Gartner Says Generative AI will Require 80% of Engineering Workforce to Upskill Through 2027.
- AI Upskilling Strategy IBM, 2024.
- GenAI 2024 Survey.
- GenAI Doesn’t Just Increase Productivity. It Expands Capabilities., 2024.
- Singh, S. Agentic AI in Banking: Transforming Financial Services.
- Getty, Joel Martin, S.D.D. GenAI isn’t a threat to your job; agentic AI is, 2024.
- AI in Banking: Benefits, Risks, What’s Next.
- generative-ai-for-beginners/17-ai-agents/README.md at main · microsoft/generative-ai-for-beginners.
- Introducing smolagents: simple agents that write actions in code., 2025.
- Google Launches Mariner, A New AI Agent Based On Updated Gemini 2.0.
| Cloud Platform | Library | Key Feature |
|---|---|---|
| AWS | Bedrock Agents | API integration for financial systems [22] |
| Azure | Semantic Kernel | .NET/Python hybrid agents [17] |
| GCP | Vertex AI Agent Builder | Financial recommendation systems [21] |
| Multi-cloud | Camel-AI | Multi-agent coordination [53] |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 1996 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).