// DCS World External AI Engine — v0.9 Stable
A real-time AI engine for DCS World PvE dynamic campaigns — no server restart required. Powered by ONNX neural inference, military doctrine, and a C# .NET 10 backend that thinks, adapts, and reacts at combat speed.
Six AI-driven systems working in concert to power living, breathing campaigns.
Clean separation of concerns from the DCS Lua bridge to the persistence layer.
Non-blocking async TCP listener and CommandDispatcher. Reads newline-delimited JSON from DCS Lua, publishes to EventBus, writes priority-queued commands back.
EventBus orchestrating all subsystems, WorldStateManager applying DCS events to the mutable world model, and the main update loop with precise 500ms ticks.
Hierarchical AI: StrategicAI (30s), CampaignManager (60s), TacticalAI & LogisticsAI (500ms), ThreatAssessment (500ms). All running in parallel via Task.WhenAll.
OnnxSessionManager loads and caches N models at startup. Batched tensor execution with ArrayPool recycling. FeaturePipeline normalises WorldState vectors to float[64].
DoctrineEngine maps unit categories to real-world formation offsets. HistoricalAccuracyValidator enforces era-correct unit selection per coalition. UnitRegistry covers all ED units.
CampaignSerializer stores world state as compressed JSON. CheckpointManager auto-saves every 5 minutes. RollbackService detects incoherence and restores the last valid checkpoint automatically.
IASER's AI pipeline mirrors real military decision-making: Observe, Orient, Decide, Act — at machine speed.
Verified targets under full load: 200 players, thousands of units, all AI tiers active.
All Eagle Dynamics theatres and unit catalogues supported out of the box, plus full mod compatibility.
quality over deadlines — every version is fully stable before the next begins.
TCP bridge, ONNX pipeline, CampaignSerializer, UnitRegistry, 8 map adapters, DoctrineEngine.
✓ CompletedTacticalAI with 7 actions, ONNX fallback heuristics, StrategicAI, CampaignManager phase transitions, LOD performance system.
✓ CompletedSwarm AI formations, Admin API, LogisticsAI convoys & depots, full state resync, hot-reload support.
✓ CompletedDynamic weather AI adaptation, environmental awareness, stability hardening, pre-release QA pass.
✓ CompletedFull unit test coverage, CI pipeline, public documentation, final ONNX demo model set, official release.
⟳ In ProgressIASER v1.0 is coming. Join the waitlist and be first in line when the external AI engine for DCS World opens to the public.