PortfoliAI is an AI-powered portfolio assistant that analyzes usersβ investment portfolios, evaluates risks, conducts research, and provides actionable recommendations. Leveraging a multi-agent system, it integrates LLMs via the Gemini API, custom web search tools using Google Programmable Search, and automated CSV/PDF data ingestion. The system demonstrates scalable, asynchronous agent collaboration to deliver structured insights with minimal user input.
Investors often face challenges in tracking portfolio performance, understanding risks, and gathering relevant market research. PortfoliAI addresses these challenges by employing a multi-agent architecture, where specialized agents handle portfolio analysis, risk assessment, research, and recommendation generation. Users can upload CSV or PDF files, and the system converts them into structured data for analysis.
Key motivations:
PortfoliAI employs a modular, asynchronous multi-agent workflow:
InputConverter
agent processes CSV or PDF files to extract portfolio tables in a structured format.PortfolioAgent
analyzes the holdings, valuations, and performance.RiskAgent
evaluates potential risks and volatility.ResearchAgents
gather market insights on portfolio and risks using a custom Google search tool.RecommendationAgent
combines outputs from other agents and provides actionable suggestions.Orchestration & Tools Used:
Architecture Diagram:
Users upload CSV/PDF β InputConverter β PortfolioAgent β RiskAgent β ResearchAgents β RecommendationAgent β Output
PortfoliAI was tested with sample portfolios in CSV and PDF formats. Key observations:
Task | Observation |
---|---|
Portfolio Analysis | Summarizes assets, quantities, and valuations accurately. |
Risk Assessment | Identifies high-risk holdings and volatility patterns. |
Research | Fetches relevant market news and trends efficiently. |
Recommendations | Provides actionable steps for portfolio optimization. |
User Interaction:
PortfoliAI demonstrates how multi-agent systems can effectively automate portfolio analysis and decision-making. By integrating LLMs, orchestration frameworks, and custom search tools, the system provides real-time insights and actionable recommendations, reducing the manual effort required by users. This project highlights the potential of agentic AI in financial technology applications.
GitHub Repository: https://github.com/shanks1554/portfoliai.git
Live Demo: https://portfoliai.onrender.com/