Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/complete-agi-core / orchestrator/api-daemon.sh |
| Date | Not specified in source |
| Repository | Janady13/complete-agi-core |
| Revision | 33aa84f2aa61cedbe010240ada7f4efbdfe795a7 |
| Branch | claude/improve-math-logic-ehIW1 |
| Path or archive member | orchestrator/api-daemon.sh |
| Original SHA-256 | 24b75d2d9850622ebaa8216258383114bf82c6433dd83b2eec8366e90b8b5e6d |
| Git blob SHA | 03debae80fe2c412ec903e54a50e25a5aac83888 |
| Reading-copy SHA-256 | 24b75d2d9850622ebaa8216258383114bf82c6433dd83b2eec8366e90b8b5e6d |
Recovered source transcript
Download complete source text ↓18 lines · 0.4 KB
#!/bin/bash
# AGIAGI API Daemon
# Runs the HTTP API server on port 8000
API_DIR="${HOME}/AGICore/api"
LOG_DIR="/tmp/agi_core_logs"
PID_FILE="${HOME}/.agi_core/pids/api.pid"
mkdir -p "$LOG_DIR" "$(dirname $PID_FILE)"
echo "[API Daemon] Starting AGIAGI API on port 8000..."
cd "$API_DIR"
python3 server.py >> "${LOG_DIR}/api.log" 2>&1 &
echo $! > "$PID_FILE"
echo "[API Daemon] Started with PID: $(cat $PID_FILE)"