AlphaForge AI — Understand the impact before you invest
Inspiration
Investment decisions are rarely just about choosing an asset. Adding a new stock or ETF to a portfolio can change its risk profile, sector exposure, diversification, and alignment with an investor's values.
We wanted to make these trade-offs easier to understand. Our goal was to build an AI-powered educational tool that helps investors explore the potential impact of their decisions before making them.
What it does
AlphaForge AI is an interactive portfolio simulation platform that compares a fictional portfolio before and after adding a new asset.
Users can explore how an investment decision may affect:
- Portfolio allocation and concentration.
- Sector exposure and diversification.
- Risk and volatility.
- ESG alignment and potential contradictions.
- The overall balance of the portfolio.
An AI assistant helps users understand the results, explain detected risks, and explore the trade-offs behind each scenario.
Three investor journeys
We designed three fictional investor personas to demonstrate how the same investment decision can have different implications depending on an investor's profile.
- Amira — Growth-oriented investor: Explores the impact of adding NVIDIA to a portfolio already exposed to technology stocks, highlighting concentration risk and overlapping exposure.
- Mateo — ESG-conscious investor: Examines the addition of ExxonMobil to an ESG-oriented portfolio and explores potential conflicts with sustainability preferences.
- Robert — Capital preservation investor: Evaluates adding Tesla to a more conservative portfolio, focusing on volatility, drawdowns, and capital preservation.
These scenarios demonstrate why investment decisions should be evaluated in the context of the entire portfolio rather than in isolation.
How we built it
We built AlphaForge AI as a Python application with an interactive Streamlit interface.
The project combines:
- Portfolio analysis and simulation logic.
- Financial and market data processing.
- ESG evidence and profile consistency checks.
- AWS Bedrock for AI-powered explanations through the Converse API.
- An AI assistant that uses the investor profile, portfolio, and simulation results as context.
We also structured the application into separate modules for the portfolio engine, investor context, evidence handling, and AI services.
Challenges we faced
One of our main challenges was connecting financial analysis with AI in a way that remained useful and understandable. The assistant needed to interpret simulation results without inventing figures or presenting uncertain information as fact.
Integrating AWS Bedrock also required configuring temporary AWS credentials, model access, and the Converse API.
Another challenge was designing meaningful scenarios for three investors with very different priorities, while keeping the simulation experience consistent.
What we learned
We learned how to combine financial analysis, ESG evidence, portfolio simulation, and generative AI into a single interactive application.
Most importantly, we learned that an investment decision cannot be evaluated independently of the investor's objectives and existing portfolio.
AlphaForge AI is an educational simulation tool, not a financial advisor. It does not execute transactions or guarantee investment outcomes.
Built With
- ai
- amazon
- amazon-web-services
- analysis
- artificial
- bedrock
- boto3
- claude
- data
- esg
- financial
- generative
- intelligence
- management
- npm
- portfolio
- python
- technology