Architecture v3.0

9 Enterprises — System Architecture

Holding company infrastructure, business units, agent roster, and operational model

Version 3.0 — March 28, 2026 7 Active Companies 11 Live URLs $257/mo operating cost

What changed in v3.0 (March 28 State of the Union): AiGM umbrella live with 3 simulators. 9enterprises.com and agent9.com deployed. Command Hub scaffolded (Next.js + Supabase). Freeze watchdog installed — MacBook self-heals without owner intervention. freeagent9 pilot active (Kyle Cabezas, 40+ memory entries). Brand unified to orange/black across all holdings. Org structure locked — 7 confirmed Companies.

System Architecture

Layer Model

Layer 4

The Owner — Jasson Fishback

Strategic direction. Final authority. Communicates via Telegram, Voice, iMessage, Email. Non-technical operator.

Layer 3

9 — AI Partner / Orchestrator

Claude Sonnet 4.6 (Sonnet default, Opus for critical work) in Claude Code terminal. Orchestrator. Credential vault (The Locker). Spawns and monitors all agents. QB model — never goes dark.

Layer 2

Front Office — Sub-agents

UNO (#1 Research Lead) + Tee (#2 Engineering Lead) + Specialist agents (SCOUT, MONEY, DOC, CANVAS, PRESS, X9) + Autonomous agents (trader9, pilot). No direct credential access. No Owner communication. All output reviewed by 9.

Layer 1

Infrastructure

OC (comms daemon, port 3457) | Headset (voice, port 3456) | Backup QB (Cloudflare Worker) | Training Staff (recovery) | LaunchAgents (auto-restart) | cloudflared (tunnel) | Freeze Watchdog (new March 28)

Always-Running Processes

ALWAYS RUNNING (survives terminal death):
|
+-- OC: comms-hub.mjs (port 3457)
|   +-- Telegram poller (2-5s long polling, 30s timeout)
|   +-- iMessage monitor (reads ~/Library/Messages/chat.db via FDA)
|   +-- Email monitor (Mail.app via osascript)
|   +-- 30s proactive terminal watchdog (PID check)
|   +-- API health probe (every 10 min, alerts on all channels on failure)
|   +-- Efficiency sweep (every 2h: balance, logs, quotas)
|
+-- Headset: voice-server.mjs (port 3456)
|   +-- Twilio STT -> Claude Haiku -> ElevenLabs Flash TTS
|   +-- Caller-specific personality profiles (6 profiles)
|   +-- ~1.2-2.1s per exchange
|
+-- cloudflared (tunnel to Headset, auto-restarts on failure)
|
+-- pilot: jules-server.mjs (port 3470)
|   +-- freeagent9 #1, deployed to Kyle Cabezas (active POC)
|   +-- SMS via Twilio, OpenWeather morning briefings
|   +-- 40+ conversation memory entries
|
+-- Freeze Watchdog LaunchAgent (NEW — March 28, 2026)
    +-- Tier 1 (3 min): Kill stuck process
    +-- Tier 2 (6 min): Force-kill + restart OC
    +-- Tier 3 (7 min): Full session recovery

Terminal Liveness Detection — 4 Layers

LayerMechanismDescription
Layer 1PID TrackingTerminal claims with PID on /terminal/claim. Watchdog checks PID alive every 30s.
Layer 2Self-Terminating Ping LoopStarted in terminal. Checks parent PID each iteration. Dies when Claude Code dies. Calls /terminal/release on exit.
Layer 3Session Token ValidationNew token generated on each /terminal/claim. Orphan pings get 401 rejected.
Layer 4State CleanupOn terminal death: clear PID, token, files. Switch to autonomous mode immediately. Worst-case: ~45s (was 2.5 min before March 26 hardening).

Communication Architecture

                   Jasson (phone/laptop)
                            |
          +---------+-------+-------+---------+
          |         |               |         |
      Telegram   iMessage        Email     Voice Call
          |         |               |         |
          v         v               v         v
     +----+----+----+----+----+----+----+----+----+
     |              OC (comms-hub.mjs)             |
     |              Port 3457                      |
     |                                             |
     |  RELAY MODE          AUTONOMOUS MODE        |
     |  (terminal up)       (terminal down)        |
     |  -> signal file      -> Claude Haiku        |
     |  -> PostToolUse      -> cloud sync          |
     |     hook              -> request terminal   |
     +---------------------+-----------------------+
                            |
                   Backup QB (Cloudflare Worker)
                   - Telegram failover when Mac is offline
                   - Voice failover (SMS via Twilio)
                   - State synced via KV (every 2 min)

Organizational Structure

9 Enterprises LLC (Holding Company)
|
+-- AiGM (Company)
|   +-- AiNFLGM (Product)     ainflgm.com       LIVE
|   +-- AiNBA GM (Product)                      BUILT, deploying
|   +-- AiMLB GM (Product)                      BUILT, deploying
|
+-- freeagent9 (Company)
|   +-- pilot (Product)       Kyle C POC        ACTIVE
|   +-- Concierge Features    in development
|
+-- trader9 (Company)
|   +-- Algorithmic Trading Bot                 Pending Alpaca keys
|
+-- x9 (Company)
|   +-- Autonomous X/Twitter presence           Launching
|
+-- agent9 (Company)
|   +-- agent9.com consumer site                LIVE
|   +-- Real Estate AI solution                 Concept stage
|
+-- AI Underwriter (Company)
|   +-- Mortgage Guideline RAG                  POC complete
|
+-- Dropshipping (Company — name TBD)
    +-- Owner writing plan

Approved Definitions (Owner-locked March 28, 2026)

TermDefinition
Holding Company9 Enterprises LLC. Everything rolls up here.
CompanyRevenue-generating business unit. Own brand, own customers, own P&L.
ProductSpecific offering within a Company.
ConceptIdea in Draft Room. No resources assigned.
ProjectDefined scope of work. Start, end, deliverable. Lives inside a Company.
TaskSingle unit of work assigned to an agent or person.
AssignmentTask actively delegated to a specific agent team.
Draft RoomIntake queue. Concepts wait here to become Companies.

Hierarchy: 9 Enterprises LLC → Company → Product → Project → Task → Assignment

The Core Product: "9"

The strategic reframe confirmed March 28 SOTU: the core offering is 9 — the AI partner platform itself. All other companies are either standalone companies or add-on modules that extend the core 9 subscription.

+---------------------------------------------------+
|                 CORE: "9"                          |
|                                                    |
|  4-channel comms | Voice | Agent orchestration    |
|  Credential vault | Terminal recovery | Cloud sync |
|  Dashboard (Command Hub) | Draft Room              |
+---------------------------------------------------+
             |            |           |
      +------+       +----+      +----+------+
      |               |               |
  freeagent9      trader9          agent9
  (Add-on)        (Add-on)         (Add-on)
Business Model

SaaS Subscription + Modular Upsells

One core subscription. Optional add-ons. White-label rights available for freeagent9, trader9, and x9.

Business Units

AiGM
Live

AI sports simulator umbrella. AiNFLGM live at ainflgm.com. AiNBA GM and AiMLB GM built and deploying. React 19 + Vite 8 PWA, GitHub Pages.

freeagent9
Active POC

AI personal assistant. Deploys via iMessage, Telegram, SMS — no app to download. Pilot: Kyle Cabezas. 40+ memory entries. Morning briefings, shopping, reminders.

trader9
Pending Keys

Autonomous algorithmic trading. Bot complete. Backtesting done. ETH Bollinger strategy +3.51% in 90-day backtest (best across 692 sweeps). Awaiting Alpaca paper API keys.

x9
Launching

Autonomous X/Twitter presence. Openly AI. NFL cap analysis, AI takes, business commentary. 10 launch tweets written. Account creation in progress.

agent9
Site Live

AI-native real estate. Buy/sell homes without realtors. Consumer site at agent9.com. Research phase. Natural pairing with AI Underwriter for complete homebuying stack.

AI Underwriter
POC Complete

Mortgage guideline RAG chatbot. Query FHA/Fannie/Freddie/VA/USDA in plain English, get citations in <5s. 25 test cases validated. Anchor customer: Rapid Mortgage.

AiGM Revenue Model

Monthly Active UsersAd RevenuePremium (5%)AffiliatesTotal
1,000$50–100$0$25–50$75–150
5,000$300–500$500–1,000$150–300$1,150–2,000
25,000$2,000–3,500$3,000–5,000$750–1,500$6,750–11,000
100,000$8,000–15,000$12,000–20,000$3,000–6,000$26,000–44,000

AI Underwriter Competitive Position

Enterprise tools (Tavant, ICE, LoanLogics) cost $200K+ and take 6 months to deploy. Mid-size lenders with 20–50 LOs get nothing. This solution is 100x cheaper and deployable in 90 days. Target: $500–2,000/mo per lender SaaS.

Command Hub — Dashboard v6

The Owner's single source of truth. v5 static dashboard is a prototype. v6 is Next.js 15 + Supabase. Phase 1 scaffolded.

FeatureDescriptionPhase
BrandingCore "9" brand + orbiting modules product architecture widgetPhase 1
Interactive checkboxesSave in real time, alert 9 immediately with context + priorityPhase 1
Command PromptPersistent chat interface — type directly to 9 from dashboardPhase 2
Daily BriefingAuto-refreshes with wins, blockers, 3 recommended Owner actionsPhase 2
Real-time syncWebSocket + push notifications, live APIs for MRR, burn, uptimePhase 2
Draft Room (Kanban)Full page, rich cards, roadmap timeline, "Send to 9 for Analysis"Phase 2
KPI gridActive Companies, Burn vs Cap, Runway, Total MRR, North Star ProgressPhase 3
Risk / Escalation HubTop-right panel, red/amber/green Owner Action itemsPhase 3

Hub-and-Spoke Scaling Model

Shared infrastructure at the center powers an unlimited number of business units at the edges. Marginal cost per new company approaches zero.

Hub CapabilityWhat It DoesMarginal Cost Per New Company
OC (comms-hub)4-channel communication~$0 (same daemon)
Headset (voice)Inbound/outbound voice calls~$0.06/min per call
Backup QBAlways-on cloud failover~$0 (same worker)
The LockerCredential isolation$0
Agent EngineSub-agent spawning, briefing, QCToken cost only
Cloud SyncState persistence~$0 (KV storage)
Draft RoomConcept intake and pipeline$0
Command HubP&L, roadmaps, live metricsHosting only

The Compounding Effect

Product 1 (AiNFLGM):
  Built everything: comms hub, voice, cloud worker, agent engine,
  credential vault, deployment pipeline, recovery system,
  dashboard, Draft Room, ETA tracker, freeze watchdog.
  Total infrastructure investment: ~$252/mo + development time.

Product 2 (freeagent9 / pilot):
  Reused: all infrastructure.
  New: jules-server.mjs (~400 lines).
  Incremental cost: ~$10/mo (Twilio SMS).

Product 3 (AI Underwriter):
  Reuses: entire stack.
  New: RAG pipeline + guideline ingestion.
  Incremental cost: ~$20/mo.

Product 4 (trader9):
  Reuses: entire stack.
  New: trading-bot.mjs + Alpaca integration.
  Incremental cost: ~$0.

Products 5–7 (x9, agent9, Dropshipping):
  Incremental infrastructure cost approaches zero.

Revenue Model Summary

North Star: $1M ARR within 12 months (by ~March 2027). All businesses built clean, documented, and sellable — zero founder dependency for daily operations.

CompanyRevenue ModelPhaseMonthly Target
AiGMAffiliates + AdSense + Premium subscriptionsAdSense pending$50K at scale
freeagent9Subscription per user ($29–99/mo) + white-labelQ2 2026 betaPer-user recurring
trader9Trading returns (1–2%/mo on capital)Pending API keysCapital-dependent
x9Affiliates + X Premium + sponsorshipsLaunching nowTraffic-dependent
AI UnderwriterSaaS ($500–2K/mo per lender)Q2 2026 private betaPer-lender recurring
agent9Transaction fee + subscription12–18 monthsCustom
Core 9SaaS subscription + add-on modules90 daysRecurring

Infrastructure Costs and Dependencies

Monthly Operating Costs

ServicePurposeMonthly Cost
Anthropic Max plan (20x)Claude API for all AI operations~$200
TwilioVoice calls + SMS~$10
ElevenLabsText-to-speech (Dan voice)~$22
Cloudflare WorkersBackup QB + CORS proxy~$5
Domains/hostingainflgm.com, 9enterprises.com, agent9.com, others~$20
Total current~$257/mo

Third-Party Service Dependencies

ServiceWhat It PowersFailure ImpactFailover
Anthropic APIAll AI reasoningTotal AI capability lossAPI health probe every 10min, alerts on all channels
Telegram Bot APIPrimary Owner commsLose primary commsiMessage, Email, SMS cascade
TwilioVoice + pilot SMSLose voice + pilotText-only fallback
ElevenLabsVoice TTSLose natural voiceTwilio native TTS fallback
CloudflareCloud worker + tunnel + CORSLose cloud failoverMac-only mode, direct tunnel restart
GitHub Pagesainflgm.com hostingSite downStatic site, redeploy in minutes

Known Infrastructure Gaps

!
OC API (port 3457) — no auth

Any local process can send as 9. Plan: add token auth (30-day plan).

!
Static .env keys — no rotation

No rotation mechanism. Plan: macOS Keychain integration (60-day plan).

!
No container isolation

Agents run on bare macOS. Plan: Docker containerization (60-day plan).

!
Voice latency 1.7s avg

Above premium threshold (target: sub-500ms). Plan: Evaluate ElevenLabs native Twilio integration.

!
Single Mac dependency

No compute if Mac is offline. Plan: VPS deployment in progress ($6/mo DigitalOcean).

!
iMessage FDA resets on reboot

iMessage read fails silently after Mac restart. Manual FDA re-grant required. Documented in startup protocol.

!
Tunnel URL ephemeral

Voice webhook must update on tunnel restart. Plan: Named Cloudflare Tunnel with domain (deferred to VPS sprint).

ETA Calibration System

9's internal time estimates for sub-agent work run 7.5x slower than reality. Calibration factor validated across multiple data points.

9 EstimateActual Time
5 minutes~40 seconds
20 minutes~2.5–3 minutes
1 hour~8 minutes
4 hours~32 minutes

All Owner-facing ETA estimates are pre-divided by 7.5. Task tracking records both estimated and actual to continuously refine the factor. Tracked in docs/eta-tracker.json.

Naming Scheme

Infrastructure Names (Football)

NameReal ComponentRole
9Claude in Claude CodeAI Partner, Orchestrator
OCcomms-hub.mjsOffensive Coordinator — routes all communication
The Headsetvoice-server.mjsVoice system — Twilio + ElevenLabs
Backup QBCloudflare WorkerCloud failover when Mac is down
Training Staffopen-terminal.mjs LaunchAgentSession recovery system
Front OfficeSub-agent teamsUNO + Tee + their workers
The Locker.env credential fileVault — managed by 9, never exposed
GamePlanStrategic planning layerSession state, project roadmaps
Draft RoomConcept intake queueIdea capture and pipeline management

Product Names (lowercase + 9)

ProductCorrect NameWhat It Is
ainflgmainflgmNFL simulator — AiGM flagship
AiNBA GMainbagmNBA simulator — AiGM product
AiMLB GMaimlbgmMLB simulator — AiGM product
freeagent9freeagent9Personal AI assistant platform
pilotpilotfreeagent9 instance #1 (Kyle Cabezas)
trader9trader9Algorithmic trading agent
AI Underwriterunderwriter9Mortgage guideline RAG chatbot
x9x9Autonomous X/Twitter presence
agent9agent9AI real estate solution + platform

Rule: Product names never get capitals, spaces, or hyphens. "9 Enterprises LLC" keeps proper formatting in legal contexts only.

Agent Roster — The Front Office

AgentRankRoleModel
UNO#1Research Team Lead. Web search, competitive analysis, market research, contact profiling, document synthesis.Sonnet default, Opus for critical
Tee#2Engineering Team Lead. Code, tests, deployments, browser automation.Sonnet default, Opus for critical
SCOUTSpecialistResearch and intelligenceSonnet
MONEYSpecialistFinancial analysisSonnet
DOCSpecialistDocumentationSonnet
CANVASSpecialistDesign and frontendSonnet
PRESSSpecialistContent and socialSonnet
Front Office (other)EphemeralTask-specific agents, born and die per taskHaiku (default)
Delegation Model

QB-and-Front-Office

9 stays on comms at all times. All deep work routes to the Front Office. 9 functions as QB — calling plays, reviewing output, making decisions. UNO and Tee run parallel agent teams without pulling 9 off comms.

Spend authority: $20/task auto-approved. Over $20 = Owner approval required.