Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/complete-agi-core / thataiguy/agent-daemon.sh |
| Date | Not specified in source |
| Repository | Janady13/complete-agi-core |
| Revision | 223c58f8857eb60c4d020e6d6feacdbfb482d71d |
| Branch | main |
| Path or archive member | thataiguy/agent-daemon.sh |
| Original SHA-256 | 0af25b063cb407ee06251884c52d38ffff41bed0a0f6f7e7aebc7a5a7c03a2c1 |
| Git blob SHA | 69fe4b5e88d94087c549d7eb0541f20ae3ba66fb |
| Reading-copy SHA-256 | 0af25b063cb407ee06251884c52d38ffff41bed0a0f6f7e7aebc7a5a7c03a2c1 |
Recovered source transcript
Download complete source text ↓19 lines · 0.5 KB
#!/bin/bash
# ThatAIGuyAGI Autonomous Agent Daemon
# Runs goal-directed behavior loop
AGENT_SCRIPT="${HOME}/ThatAIGuyCore/api/agent.py"
LOG_DIR="/tmp/thataiguy_logs"
PID_FILE="${HOME}/.thataiguy/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"