Add self-hosted AI worker bootstrap

This commit is contained in:
2026-05-24 03:44:23 +00:00
parent 6d7cc534c4
commit a7c50f651a
6 changed files with 276 additions and 0 deletions
+50
View File
@@ -14,6 +14,56 @@
- The old `/home/nathan/agrarian/dev/ROADMAP.md` is coin/wallet-specific and
should not be treated as the game roadmap.
## Self-Hosted AI Development Stack Bootstrap - 2026-05-23
- Nathan is starting a self-hosted AI build to reduce pressure on Codex while
keeping Codex as escalation through the npm Codex CLI rather than API usage.
- Current service inventory:
- Gitea: `http://192.168.5.21:3000`
- Ollama: `http://192.168.5.23:11434`
- Open WebUI: `http://192.168.5.26:8085`
- local AI worker VM: `LinaAI / 192.168.5.27`
- primary Unreal build VM: `unreal-engine / 192.168.5.20`
- Hardware observed:
- Unraid host: 12 CPU threads, 46 GiB RAM.
- `unreal-engine` VM: 8 CPU threads, 31 GiB RAM.
- local Codex shell host: 4 CPU threads, 3.7 GiB RAM.
- Ollama model currently available:
`qwen2.5-coder:7b`.
- Verified from `unreal-engine`:
Ollama chat API responded successfully with `local ai ready`.
- Open WebUI is reachable, but the container template currently shows
`OLLAMA_BASE_URL=http://localhost:11434`; corrected the running container and
Unraid template to use `http://192.168.5.23:11434` and port `8085`.
- Created `LinaAI` on Unraid:
- 4 vCPU,
- 12 GiB RAM,
- 100 GiB disk,
- static IP `192.168.5.27`,
- user `nathan`,
- passwordless sudo for MVP operations,
- autostart enabled.
- Reduced `unreal-engine` persistent next-boot allocation to 6 vCPU / 24 GiB
RAM so LinaAI and the Unreal build VM can coexist. The running Unreal VM was
not hot-resized.
- Cleaned the interrupted Aider install from `unreal-engine`; local AI tooling
belongs on `LinaAI`.
- Installed on `LinaAI`:
- `aider-chat` via `pipx`,
- npm `@openai/codex`,
- Gitea clone at `/home/nathan/repos/AgrarianGame`.
- Added self-hosted AI project documentation:
- `Docs/AI/SelfHostedAiDevelopmentStack.md`
- `Docs/AI/LocalAgentGuardrails.md`
- Added initial supervised-agent scripts:
- `Scripts/ai_check_stack.sh`
- `Scripts/ai_task_status_template.json`
- `Scripts/ai_codex_escalate.sh`
- Guardrail:
this is a supervised local-agent lane. No autonomous merges to `main`; local
AI prepares small changes, status files, verification results, and Codex
handoffs when confidence/build/test gates fail.
## AGR Wallet Integration Roadmap Update - 2026-05-21
- Nathan clarified that AGR coin is a major investor hook for Agrarian: