@echo off echo ============================================================ echo Ajarbot Quick Start for Windows 11 echo ============================================================ echo. REM Check if Python is installed python --version >nul 2>&1 if %errorlevel% neq 0 ( echo [ERROR] Python is not installed or not in PATH echo Please install Python from https://www.python.org/downloads/ echo Make sure to check "Add Python to PATH" during installation pause exit /b 1 ) echo [1/5] Python detected python --version REM Check if virtual environment exists if not exist "venv\" ( echo. echo [2/5] Creating virtual environment... python -m venv venv if %errorlevel% neq 0 ( echo [ERROR] Failed to create virtual environment pause exit /b 1 ) echo Virtual environment created ) else ( echo. echo [2/5] Virtual environment already exists ) REM Activate virtual environment echo. echo [3/5] Activating virtual environment... call venv\Scripts\activate.bat if %errorlevel% neq 0 ( echo [ERROR] Failed to activate virtual environment pause exit /b 1 ) REM Install dependencies echo. echo [4/5] Installing dependencies... pip install -r requirements.txt --quiet if %errorlevel% neq 0 ( echo [ERROR] Failed to install dependencies pause exit /b 1 ) echo Dependencies installed REM Check for API key echo. echo [5/5] Checking for API key... if "%ANTHROPIC_API_KEY%"=="" ( echo. echo [WARNING] ANTHROPIC_API_KEY not set echo. echo Please set your API key using one of these methods: echo. echo Option 1: Set for current session only echo set ANTHROPIC_API_KEY=sk-ant-your-key-here echo. echo Option 2: Add to system environment variables echo Win + X -^> System -^> Advanced -^> Environment Variables echo. echo Option 3: Create .env file echo echo ANTHROPIC_API_KEY=sk-ant-your-key-here ^> .env echo pip install python-dotenv echo. set /p API_KEY="Enter your Anthropic API key (or press Enter to skip): " if not "!API_KEY!"=="" ( set ANTHROPIC_API_KEY=!API_KEY! echo API key set for this session ) else ( echo Skipping API key setup echo You'll need to set it before running examples ) ) else ( echo API key found ) echo. echo ============================================================ echo Setup Complete! echo ============================================================ echo. echo Your environment is ready. Try these commands: echo. echo python example_usage.py # Basic agent test echo python example_bot_with_pulse_brain.py # Pulse ^& Brain monitoring echo python example_bot_with_scheduler.py # Task scheduler echo python bot_runner.py --init # Generate adapter config echo. echo For more information, see docs\WINDOWS_DEPLOYMENT.md echo. pause