Skip to content

Installation‐Guide

Devvekariya711 edited this page Nov 26, 2025 · 1 revision

Installation Guide

Complete guide to installing and setting up the Automated DevOps Agent.


📋 Prerequisites

Required:

  • Python 3.10+ - Download
  • Git - Version control
  • Google Gemini API Key - Get one

Recommended:

  • Virtual Machine or Docker
  • 4GB RAM minimum
  • 2GB disk space

🛠️ Installation Steps

Step 1: Clone Repository

git clone https://github.com/Devvekariya711/automated_devops_agent.git
cd automated_devops_agent

Step 2: Create Virtual Environment

Linux/Mac:

python3 -m venv .venv
source .venv/bin/activate

Windows:

python -m venv .venv
.venv\Scripts\activate

Step 3: Install Dependencies

pip install --upgrade pip
pip install -r requirements.txt

Step 4: Set Up API Key

Environment Variable:

# Linux/Mac
export GOOGLE_API_KEY="your_gemini_api_key_here"

# Windows PowerShell
$env:GOOGLE_API_KEY="your_gemini_api_key_here"

Or use .env file:

echo "GOOGLE_API_KEY=your_key" > .env

Step 5: Verify Installation

python -c "from automated_devops_agent.agent import root_agent; print('✅ Success!')"

🚀 Running First Time

adk web

Open: http://localhost:8000

Test: Type "Review automated_devops_agent/tools.py"


🐳 Docker Alternative

# Build
docker build -t devops-agent .

# Run
docker run -p 8000:8000 -e GOOGLE_API_KEY="your_key" devops-agent

❓ Troubleshooting

Module not found?

pip install google-adk --upgrade

API key not set?

export GOOGLE_API_KEY="your_key"

Port in use?

adk web --port 8080

✅ Next Steps

  1. Read FAQ
  2. Check Troubleshooting
  3. Start reviewing code!