GroundControlAI System Architecture

GroundControlAI System Architecture An architecture diagram generated by Archify. Claude Code · JSONL Transcripts · Local Agent Telemetry (Read-Only) · Anthropic Claude Code JSONL Transcripts Kimi Code · Wire Stream Events · Local Agent Telemetry (Read-Only) Kimi Code Wire Stream Events Agy CLI · Brain Logs & Turns · Local Agent Telemetry (Read-Only) Agy CLI Brain Logs & Turns Collector Daemon · Linux Inotify Watcher · GroundControlAI Docker Engine · 0.00% idle CPU · Python Collector Daemon Linux Inotify Watcher 0.00% idle CPU Pricing Engine · Multi-Vendor Rates · GroundControlAI Docker Engine · Cache savings Pricing Engine Multi-Vendor Rates Cache savings Path Normalizer · Canonical Rollup · GroundControlAI Docker Engine · Mono-repo Path Normalizer Canonical Rollup Mono-repo Telemetry DB · SQLite WAL Mode · GroundControlAI Docker Engine · activity.db · SQLite Telemetry DB SQLite WAL Mode activity.db FastAPI Server · Cyber-Cockpit :8080 · GroundControlAI Docker Engine · Uvicorn · FastAPI FastAPI Server Cyber-Cockpit :8080 Uvicorn Cockpit Dashboard · Tailwind + Alpine.js · Architecture component · Reactive Cockpit Dashboard Tailwind + Alpine.js Reactive tokens paths costs canonical telemetry HTTP :8080 Local Agent Telemetry (Read-Only) GroundControlAI Docker Engine Legend Frontend Backend Database External

Zero-Overhead Ingestion

  • • Linux inotify kernel watchers eliminate CPU polling loops
  • • Incremental byte-offset tracking (f.tell()) processes events in <1ms

Economics & Reliability

  • • Multi-vendor token rate calculation with 90% prompt cache discounts
  • • SRE audit stream tracks command line arguments and exit codes

Cyber-Cockpit Deck

  • • Concurrent SQLite WAL reads power high-density telemetry UI
  • • Real-time P90 TTFT latency, token economics, and file hotspots