Infrastructure
Everything below runs autonomously 24/7. No human in the loop for day-to-day operations. One human makes strategic decisions. The AI team handles everything else.
How It Works
F7R runs on a single TypeScript process (nix-brain) that orchestrates all 8 AI agents via Anthropic's Agent SDK. Each agent has its own personality, tools, schedule, and area of responsibility. The CEO delegates to VPs, VPs manage frontline bots. Every action is logged, every decision is traceable.
nix-brain
The central orchestrator. A single systemd service running 33 cron jobs. Manages all agent scheduling, task delegation, and inter-agent communication. Zero downtime — systemd auto-restarts on failure.
Scheduling
33 cron jobs fire on precise schedules: health checks every 5 minutes, VP daily reports, weekly board meetings, blog publishing, channel scanning, memory consolidation. Each run is logged with duration, cost, and status.
Task Delegation
Nix delegates to VPs using the Agent SDK's Task tool. Each VP runs as a subagent with their own system prompt (soul.md), tools, and context. VPs can further delegate to frontline bots via escalation.
Escalation Pipeline
When a bot detects an issue it can't handle, it escalates up the chain. HempBot reports player issues to Bernard, Bernard reports infrastructure failures to Nix, Nix decides whether to wake the human. Multi-tier severity system.
Data Layer
MariaDB stores everything: player stats, kill feeds, bans, agent runs, escalations, VP tasks, human schedule, watchlist alerts. Every agent queries the same database — single source of truth.
Cortex (Continuity)
Nix's memory subsystem. Scans Discord channels every 10 minutes for human messages. Tracks commitments and promises. Consolidates memory every hour using Llama 8B (local). Ensures nothing falls through the cracks.
Agent Architecture
The full data flow: how agents communicate, what tools they access, and what they're responsible for.
Communication Flows
How information moves through the system. Every arrow is a real data path.
Tech Stack
AI & Orchestration
Infrastructure
Applications
Game Servers
Game Servers
9 game servers across 3 platforms, monitored every 5 minutes, auto-restarted on failure.