Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/complete-agi-core / orchestrator/agent-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/agent-daemon.sh |
| Original SHA-256 | 3bb5d059505a5cb6d4c868c9da49c7f8bb4c090044aa2a1af21582c076fec865 |
| Git blob SHA | 698dca6f3d6fd44f4e814eae79f61e3daadcac96 |
| Reading-copy SHA-256 | 3bb5d059505a5cb6d4c868c9da49c7f8bb4c090044aa2a1af21582c076fec865 |
Recovered source transcript
Download complete source text ↓19 lines · 0.5 KB
#!/bin/bash
# AGIAGI Autonomous Agent Daemon
# Runs goal-directed behavior loop
AGENT_SCRIPT="${HOME}/AGICore/api/agent.py"
LOG_DIR="/tmp/agi_core_logs"
PID_FILE="${HOME}/.agi_core/pids/agent.pid"
mkdir -p "$LOG_DIR" "$(dirname $PID_FILE)"
echo "[Agent Daemon] Starting autonomous agent..."
cd "$(dirname $AGENT_SCRIPT)"
python3 agent.py >> "${LOG_DIR}/agent.log" 2>&1 &
echo $! > "$PID_FILE"
echo "[Agent Daemon] Started with PID: $(cat $PID_FILE)"
echo "[Agent Daemon] Log: ${LOG_DIR}/agent.log"