Initial commit: Natiris AI Agent Orchestration System
This commit is contained in:
43
natiris_start.sh
Executable file
43
natiris_start.sh
Executable file
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
# natiris_start.sh – Manueller Start des Natiris Companion
|
||||
# Nutzt Ollama, ComfyBridge (simuliert), SignalBridge (simuliert), API + WebUI
|
||||
|
||||
set -e
|
||||
|
||||
cd ~/natiris
|
||||
|
||||
echo "========================================"
|
||||
echo " Natiris Companion v4.x – Start"
|
||||
echo "========================================"
|
||||
echo ""
|
||||
|
||||
# Core-Orchestrator ausführen
|
||||
echo "[1/5] Core-Engine initialisieren..."
|
||||
python3 core/OrchestratorAll.py > /dev/null || { echo "❌ Core-Engine fehlgeschlagen"; exit 1; }
|
||||
|
||||
echo ""
|
||||
echo "[2/5] Expressions vorbereiten..."
|
||||
python3 core/ExpressionEngine.py > /dev/null || { echo "❌ ExpressionEngine fehlgeschlagen"; exit 1; }
|
||||
|
||||
echo ""
|
||||
echo "[3/5] Ollama-Bridge kontaktieren..."
|
||||
python3 bridges/OllamaBridge.py > /dev/null || { echo "❌ OllamaBridge fehlgeschlagen"; exit 1; }
|
||||
|
||||
echo ""
|
||||
echo "[4/5] API-Server starten..."
|
||||
python3 "runtime/Web chat API (FastAPI)/app.py" > /tmp/natiris_api.log 2>&1 &
|
||||
sleep 3
|
||||
if curl -s http://localhost:8000/api/v1/health > /dev/null 2>&1; then
|
||||
echo "✅ API läuft auf http://localhost:8000"
|
||||
else
|
||||
echo "❌ API-Fehler (s. /tmp/natiris_api.log)"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "[5/5] TUI bereit (manuell starten mit ./natiris_tui.sh)"
|
||||
echo ""
|
||||
echo "========================================"
|
||||
echo " Natiris läuft – WebUI auf:"
|
||||
echo " http://localhost:8000"
|
||||
echo " http://localhost:8000/webui"
|
||||
echo "========================================"
|
||||
Reference in New Issue
Block a user