#!/bin/bash echo "🔧 Setting up your AI Agent environment..." # Create virtual environment python3 -m venv .venv source .venv/bin/activate # Upgrade pip echo "📦 Upgrading pip..." pip install --upgrade pip # Install dependencies echo "📚 Installing requirements..." pip install -r requirements.txt # Confirm .env setup if [ -f ".env" ]; then echo "🔐 .env file detected. API keys will be loaded automatically in your Python scripts." else echo "⚠️ .env file not found. Create one with your OpenAI and SerpAPI keys." fi echo "✅ Setup complete. Activate your environment with:" echo "source .venv/bin/activate"