A fully autonomous fleet commander that manages dozens of bots across a persistent galaxy. Tiered AI brains, 14 specialized routines, real-time economy tracking, and a live dashboard — all running 24/7.
A modular command-and-control system built from the ground up for autonomous fleet operations.
Four-layer decision engine: local Ollama (qwen3:8b) for speed, Gemini 2.5 Pro for depth, Claude Haiku for nuance, and a scoring fallback that never fails. Each layer has health monitoring and automatic failover.
Evaluates every bot every 60 seconds. Scores routines, respects role constraints, manages cooldowns, and assigns the optimal task per bot. Pool sizing ensures the right mix of specialists.
Computes prioritized work orders from market analysis, faction storage, and facility needs. Miners, crafters, and traders all coordinate around a single economic truth.
Persistent knowledge of every system, POI, resource location, and market price. POI discoveries survive restarts. Resource lookups are O(1). Price indices are volume-weighted.
Svelte 5 + SvelteKit frontend with WebSocket updates. Fleet overview, bot status, economy tab, activity logs, and fleet settings — all live.
Stuck bot detection, error state auto-recovery, session re-login, stranded ship rescue, checkpoint persistence, and eval overlap protection. The fleet stays alive.
Four layers of intelligence. If one fails, the next catches it. The fleet always gets an answer.
qwen3:8b local
Fastest2.5 Pro
Deepest3.5 Haiku
NuancedDeterministic
FallbackLLM parse errors are fed back with correction hints, up to 2 retries before falling to the next tier.
Each brain tracks its success rate. Below 50% it's marked unhealthy and skipped. 300s cooldown on failures.
Credit deltas from recent cycles are fed back to the LLM as "RECENT OUTCOMES" so it learns what works.
Each routine is an async generator that yields status updates. Bots run them independently, guided by the commander's scoring.
Everything needed to run a profitable autonomous fleet in a persistent multiplayer galaxy.
ore_miner, gas_harvester, ice_harvester, explorer, trader, crafter, quartermaster, hunter, mission_runner — each with constrained routine pools, module loadouts, and ship progression paths.
Configurable min/max per role. Commander auto-assigns unassigned bots by priority: supply chain first, then combat and exploration. Pool sizes adapt to fleet size.
Fleet-wide claim system prevents multiple traders racing the same route. 10-minute TTL, automatic fallback to alternatives.
Fuel estimation uses ship mass, cargo weight, speed, and distance. Jump time calculated as ceil(10/speed) ticks. Route ranking factors real fuel costs.
New ships auto-insured after purchase. Stranded ships rescued with force-recovery. Error-state bots auto-recover via re-login every eval cycle.
Facility material needs generate priority work orders. Faction tax applied to all earnings. Faction storage used as overflow when market sales fail.
GameCache checkpoints, POI cache table, bot settings DB, activity logs with 48h auto-trim. Everything survives crashes and restarts.
Real-time fleet visibility via Svelte 5 + WebSocket. Every bot, every credit, every decision.
| Bot | Role | Routine | System | Status | Credits |
|---|---|---|---|---|---|
| CAST-Miner01 | ore_miner | miner | Alpha Centauri | Mining | 24,180 |
| CAST-Trader03 | trader | trader | Haven | Selling | 87,420 |
| CAST-Crafter02 | crafter | crafter | Sol Central | Crafting | 31,550 |
| CAST-Scout05 | explorer | scout | Nexus Prime | Scanning | 15,220 |
| CAST-Hunter07 | hunter | hunter | Sirius | Docked | 42,800 |
| CAST-QM04 | quartermaster | quartermaster | Sol Central | Hauling | 19,650 |
Modern, fast, type-safe. Designed for reliability over cleverness.