|
1 | | -# NoirVest |
2 | | -Making investing Easy |
| 1 | +# NoirVest - AI-Powered Investment Assistant |
| 2 | + |
| 3 | +[](https://www.python.org/downloads/) |
| 4 | +[](https://nextjs.org/) |
| 5 | +[](https://fastapi.tiangolo.com/) |
| 6 | + |
| 7 | +NoirVest is an intelligent investment platform that leverages AI to simplify and enhance your investment journey. Whether you're a seasoned investor or just getting started, NoirVest provides personalized investment recommendations, market analysis, and portfolio management tools powered by advanced AI agents. |
| 8 | + |
| 9 | +I had the idea to build this because I recently earned some money and was like "I should invest this money", but I am lazy and didn't want to do research so I build this app instead. |
| 10 | + |
| 11 | +## 🚀 Features |
| 12 | + |
| 13 | +- **AI-Powered Investment Analysis**: Get real-time market insights and analysis using advanced AI models |
| 14 | +- **Personalized Portfolio Recommendations**: Receive tailored investment suggestions based on your risk profile and financial goals |
| 15 | +- **Multi-Agent System**: Utilizes specialized AI agents for different aspects of investment management |
| 16 | +- **Interactive Dashboards**: Visualize your portfolio performance and market trends with beautiful, interactive charts |
| 17 | +- **Real-time Market Data**: Stay updated with the latest market information and price movements |
| 18 | + |
| 19 | +## 🛠️ Tech Stack |
| 20 | + |
| 21 | +### Frontend |
| 22 | +- **Next.js 13+** - React framework for building the user interface |
| 23 | +- **TypeScript** - Type-safe JavaScript for better developer experience |
| 24 | +- **Radix UI** - Accessible, unstyled UI components |
| 25 | +- **Tailwind CSS** - Utility-first CSS framework for styling |
| 26 | +- **Chart.js** - Interactive data visualization |
| 27 | +- **Next Themes** - For dark/light mode support |
| 28 | + |
| 29 | +### Backend |
| 30 | +- **Python 3.9+** - Core programming language |
| 31 | +- **FastAPI** - Modern, fast web framework for building APIs |
| 32 | +- **Google Cloud AI** - For advanced AI/ML capabilities |
| 33 | +- **Google Gemini** - AI models for natural language understanding and generation |
| 34 | +- **Google Cloud Services** - For storage, logging, and deployment |
| 35 | +- **Uvicorn** - ASGI server for running FastAPI applications |
| 36 | + |
| 37 | +### Infrastructure |
| 38 | +- **Docker** - Containerization for consistent development and deployment |
| 39 | +- **Google Cloud Platform** - Hosting and cloud services |
| 40 | +- **Firebase** - Authentication and real-time database (if applicable) |
| 41 | + |
| 42 | +## 🏗️ Project Structure |
| 43 | + |
| 44 | +``` |
| 45 | +NoirVest/ |
| 46 | +├── backend/ # Backend services |
| 47 | +│ ├── investment_agent/ # AI investment agent implementation |
| 48 | +│ │ ├── agent.py # Main agent definitions |
| 49 | +│ │ ├── helper_tool.py # Helper functions and tools |
| 50 | +│ │ └── instructions/ # Agent instructions and prompts |
| 51 | +│ ├── main.py # FastAPI application entry point |
| 52 | +│ ├── requirements.txt # Python dependencies |
| 53 | +│ └── Dockerfile # Container configuration |
| 54 | +│ |
| 55 | +├── frontend/ # Frontend application |
| 56 | +│ ├── components/ # Reusable UI components |
| 57 | +│ ├── pages/ # Next.js pages |
| 58 | +│ ├── public/ # Static assets |
| 59 | +│ ├── styles/ # Global styles |
| 60 | +│ ├── package.json # Frontend dependencies |
| 61 | +│ └── next.config.js # Next.js configuration |
| 62 | +│ |
| 63 | +└── README.md # Project documentation (you are here) |
| 64 | +``` |
| 65 | + |
| 66 | +## 🚀 Getting Started |
| 67 | + |
| 68 | +### Prerequisites |
| 69 | + |
| 70 | +- Python 3.9 or higher |
| 71 | +- Node.js 18+ and npm/yarn |
| 72 | +- Google Cloud SDK (for deployment) |
| 73 | +- Docker (optional, for containerized development) |
| 74 | + |
| 75 | +### Local Development |
| 76 | + |
| 77 | +1. **Clone the repository** |
| 78 | + ```bash |
| 79 | + git clone https://github.com/yourusername/NoirVest.git |
| 80 | + cd NoirVest |
| 81 | + ``` |
| 82 | + |
| 83 | +2. **Set up the backend** |
| 84 | + ```bash |
| 85 | + cd backend |
| 86 | + python -m venv venv |
| 87 | + source venv/bin/activate # On Windows: .\venv\Scripts\activate |
| 88 | + pip install -r requirements.txt |
| 89 | + ``` |
| 90 | + |
| 91 | +3. **Set up the frontend** |
| 92 | + ```bash |
| 93 | + cd ../frontend |
| 94 | + npm install |
| 95 | + ``` |
| 96 | + |
| 97 | +4. **Configure environment variables** |
| 98 | + |
| 99 | + Create `.env` files in both the backend and frontend directories with the required environment variables. |
| 100 | + |
| 101 | + **Frontend (`.env.local`):** |
| 102 | + ```env |
| 103 | + # Firebase Configuration |
| 104 | + NEXT_PUBLIC_FIREBASE_APP_ID=your_firebase_app_id |
| 105 | + NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id |
| 106 | + NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_storage_bucket |
| 107 | + NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id |
| 108 | + NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_auth_domain |
| 109 | + NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key |
| 110 | + |
| 111 | + # API Configuration |
| 112 | + NEXT_PUBLIC_AGENT_API_URL=your_backend_api_url |
| 113 | + ``` |
| 114 | + |
| 115 | + **Backend (`.env` in the backend directory):** |
| 116 | + ```env |
| 117 | + # Google Cloud & AI Configuration |
| 118 | + GOOGLE_GENAI_USE_VERTEXAI=false |
| 119 | + GOOGLE_API_KEY=your_google_api_key |
| 120 | + |
| 121 | + # Financial Data API |
| 122 | + FINANCIAL_PREP_API_KEY=your_financial_prep_api_key |
| 123 | + |
| 124 | + # Server Configuration |
| 125 | + PORT=8000 |
| 126 | + DEBUG=true |
| 127 | + ``` |
| 128 | + |
| 129 | + > **Note**: Replace all placeholder values with your actual configuration. Never commit the actual `.env` files to version control. |
| 130 | +
|
| 131 | +5. **Run the development servers** |
| 132 | + - Backend: |
| 133 | + ```bash |
| 134 | + cd backend |
| 135 | + uvicorn main:app --reload |
| 136 | + ``` |
| 137 | + - Frontend: |
| 138 | + ```bash |
| 139 | + cd frontend |
| 140 | + npm run dev |
| 141 | + ``` |
| 142 | + |
| 143 | +6. **Access the application** |
| 144 | + - Frontend: http://localhost:3000 |
| 145 | + - API Docs: http://localhost:8000/docs |
| 146 | + |
| 147 | +## 🤖 AI Agents Overview |
| 148 | + |
| 149 | +NoirVest utilizes a multi-agent system where each agent specializes in a specific aspect of investment management: |
| 150 | + |
| 151 | +1. **Planner Agent**: Develops the overall investment strategy |
| 152 | +2. **Asset Selector**: Identifies promising investment opportunities |
| 153 | +3. **Market Analyzer**: Analyzes market conditions and trends |
| 154 | +4. **Portfolio Recommender**: Suggests optimal portfolio allocations |
| 155 | +5. **Explainer Agent**: Provides clear explanations of investment concepts |
| 156 | +6. **Graph Generator**: Creates visual representations of data and trends |
| 157 | + |
| 158 | +## 🌟 Why NoirVest? |
| 159 | + |
| 160 | +- **Democratizing Investment**: Makes sophisticated investment strategies accessible to everyone |
| 161 | +- **Data-Driven Decisions**: Leverages real-time market data and AI analysis |
| 162 | +- **Transparent**: Clear explanations for all recommendations |
| 163 | +- **Customizable**: Adapts to your unique financial situation and goals |
| 164 | +- **Secure**: Built with security best practices in mind |
| 165 | + |
| 166 | +## 📄 License |
| 167 | + |
| 168 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
| 169 | + |
| 170 | +## 🙏 Acknowledgments |
| 171 | + |
| 172 | +- Built with ❤️ using cutting-edge AI and web technologies |
| 173 | +- Special thanks to the open-source community for their invaluable contributions |
| 174 | + |
| 175 | +## 🤝 Contributing |
| 176 | + |
| 177 | +Contributions are welcome! Please read our [contributing guidelines](CONTRIBUTING.md) to get started. |
| 178 | + |
| 179 | +## 📧 Contact |
| 180 | + |
| 181 | +For any inquiries or support, please contact [ [email protected]](mailto: [email protected]). |
| 182 | + |
| 183 | +--- |
| 184 | + |
| 185 | +<div align="center"> |
| 186 | + Made with 💙 by Sparsh Jain |
| 187 | +</div> |
0 commit comments