## 📈 AI Investment Agent

### 🎓 FREE Step-by-Step Tutorial 
**👉 [Click here to follow our complete step-by-step tutorial](https://www.theunwindai.com/p/build-ai-investment-agent-with-gpt-4o) and learn how to build this from scratch with detailed code walkthroughs, explanations, and best practices.**

This AI-powered investment agent is built with Agno's AgentOS framework that analyzes stocks and generates detailed investment reports. By using GPT-5.2 with Yahoo Finance data, this app provides valuable insights to help you make informed investment decisions.

### Features
- Compare the performance of two stocks
- Retrieve comprehensive company information
- Get the latest company news and analyst recommendations
- Beautiful web UI powered by AgentOS

### How to get Started?

1. Clone the GitHub repository

```bash
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd advanced_ai_agents/single_agent_apps/ai_investment_agent
```
2. Install the required dependencies:

```bash
pip install -r requirements.txt
```
3. Get your OpenAI API Key

- Sign up for an [OpenAI account](https://platform.openai.com/) and obtain your API key.
- Export your API key:
```bash
export OPENAI_API_KEY="your-api-key-here"
```

4. Run the AgentOS App
```bash
python investment_agent.py
```

5. Open your web browser and navigate to the URL provided in the console output to interact with the AI investment agent through the playground interface.

6. Connecting Your AgentOS

To manage, monitor, and interact with your financial agent through the AgentOS Control Plane (from your browser), you need to connect your running AgentOS instance:

**Step-by-step guide:**

- Visit the official documentation: [Connecting Your OS](https://docs.agno.com/agent-os/connecting-your-os)
- Follow the steps in the guide to register your local AgentOS and establish the connection.