Files
SyspanelMultiAgentsAI/iniciar.sh
T
marcocosta10000 67e8df36ce feat: add complete multi-agent AI system with Telegram bot
Initial implementation of MultiAgentsAI featuring:
- Dynamic agent configuration via environment variables
- SQLite database and JSON daily context storage
- OpenRouter API integration for multiple AI models
- Telegram bot with commands for control, history, and interaction
- Autonomous conversation loop with pause/resume and agent silencing
- Model testing and statistics commands
2026-10-17 19:25:05 -03:00

36 lines
891 B
Bash
Executable File

#!/usr/bin/env bash
# =============================================
# MultiAgentsAI - iniciar.sh
# Cria venv, instala dependencias e executa o sistema
# =============================================
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR"
echo "=============================================="
echo " MultiAgentsAI - Inicializacao"
echo "=============================================="
# --- Virtual Environment ---
if [ ! -d "venv" ]; then
echo "[1/3] Criando Ambiente Virtual Python..."
python3 -m venv venv
else
echo "[1/3] Ambiente Virtual ja existe."
fi
# Ativa venv
source venv/bin/activate
# --- Dependencias ---
echo "[2/3] Instalando/Atualizando dependencias..."
pip install --upgrade pip --quiet
pip install -r requirements.txt --quiet
# --- Executar ---
echo "[3/3] Iniciando MultiAgentsAI..."
echo ""
python3 main.py