@echo off
chcp 65001 >nul
cd /d "%~dp0"
title AGI Bridge Control

echo ========================================
echo   AGI Bridge - Starting Services
echo ========================================
echo.

start "Task API" cmd /c python\python.exe scripts\task_api_server.py
timeout /t 3 >nul
start "Listener v2.6" cmd /c python\python.exe scripts\listener_v2.5.py

echo.
echo Both services started!
echo.
pause
