Introducing FinAgents<p>As an educational endeavor, with the launch of Claude 3.7 and while waiting for $NVDA (NVIDIA Corporation) to publish results, I decided to fool around with langchain and created a multi-agent system that simulates a debate between famous investors analyzing stock investment opportunities.<p>You can find the github repo if you want to check it out.<p>Currently it is hardcoded to have Warren Buffett, Ray Dalio, Cathie Wood, Peter Lynch and Michael Burry debate about $MSFT (Microsoft) based on analysis provided to them by a team of analyst agents.<p>github.com/weirdapps/finagents<p>## Overview<p>FinAgents is an educational project. It creates a virtual investment committee where AI agents with personas of famous investors like Warren Buffett debate whether stocks are good investments. The system:<p>1. Gathers real financial data using yfinance
2. Has specialized analyst agents evaluate different aspects of the stock
3. Has investor agents with unique investment philosophies debate the merits
4. Synthesizes a comprehensive investment recommendation<p>## Key Features<p>- *Parallel Processing*: Agents run concurrently for faster analysis
- *Diverse Perspectives*: 5 famous investor personas with unique philosophies
- *Specialized Analysis*: 5 types of analyst agents focus on different aspects
- *Real Market Data*: Uses yfinance to pull actual stock information
- *Comprehensive Output*: Generates detailed reports saved as Markdown files<p>The system will analyze Microsoft (MSFT) by default, using all agents in parallel, and save detailed reports to the `results` directory.<p>## Output Files<p>For each analyzed stock (e.g., MSFT):<p>- results/MSFT_decision.md: Final synthesized investment recommendation
- results/MSFT_detailed_analysis.md: Detailed reports from all analysts and investors<p>## Requirements<p>- Python 3.8+
- Anthropic API key (for Claude 3.7)
- Internet connection (for financial data retrieval)<p>## License: MIT<p>Happy to get your thoughts.