File size: 638 Bytes
a0a2f87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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"