Skip to content
André Borchert edited this page Sep 18, 2026 · 4 revisions

Goals

What this project plans to achieve. Development progress is tracked in one place, the Project Tracker; this page is the design contract: what the AI should be, what it may not do, and how success is measured.

Design targets

  1. One army, one brain. A coalition of up to four allied AI players must act as a single military command — one shared world model, one plan, no conflicting independent decisions, no "my ally didn't come" moments.
  2. Hybrid intelligence. A local, vision-capable language model acts as the strategic commander (posture, main effort, missions, production direction). Deterministic engine code executes every order at tick speed — movement, targeting, pathfinding, formations, and micro stay engine-side. The AI must play a complete, credible game with the model switched off.
  3. Honest fog of war. Exact enemy positions require current allied visibility — explored terrain never grants a hidden actor's live position. Lost contacts become actor-free last-known snapshots. All intelligence carries provenance and confidence (observed / last-known / inferred / suspected / unknown), and confidence decays as information ages. An omniscient mode, where wanted, is a separate, clearly-labeled configuration — never the default.
  4. Fair-but-brutal difficulty. Difficulty is not a single number: command quality, reaction speed, micro precision, coordination strength, economic bonus, and intelligence (fog advantage) are independent axes. The reference configuration is Extreme command / Supreme coordination / Very high reaction and micro / 0% economic bonus / fair fog — an AI that beats skilled humans through play, not resources or x-ray vision.
  5. A full operational playbook. Missions of every class — offensive (breakthrough, assault, raid, siege), defensive (local defense, counterattack, interception, reinforcement), reconnaissance, combined-arms operations with staging, shaping, deception, breach, exploitation, and withdrawal phases, synchronized time-on-target arrivals, and a strategic reserve that is never casually consumed.
  6. Deception that is measured. Feints, baits, and fake retreats are launched with a defined intended enemy reaction; whether the enemy actually redeployed is measured, and the results feed back into planning — effective deception is repeated and funded, ineffective patterns are dropped.
  7. Special operations. Scarce assets (Tanya, spies, engineers) are inserted by transport along low-threat routes into strategically valuable rear areas, and surviving assets are extracted and reused.
  8. An opponent model that adapts. The AI learns how the human plays — composition tendencies, preferred attack lanes, reaction speed, over-response to raids and feints — and exploits reliable patterns while treating history as evidence, not certainty.
  9. No fabricated mechanics. The commander interacts with the engine through validated tools. Read tools compute force ratios, routes, and target values; mutation tools return plan patches rather than issuing orders. Invalid requests are rejected with machine-readable reasons, and the merged plan is validated again on the game thread.
  10. Tunable by self-play. Balance is driven by automated headless evaluation — batch matches across seeds and maps, parameter sweeps, and measured outcomes — not by hand-tuning.

Fairness rules (invariants)

  • The AI receives no hidden enemy positions in fair-fog mode — enforced in engine code, not just by prompt instructions.
  • The AI receives no hidden income — the economic bonus axis defaults to zero.
  • The AI cannot bypass production prerequisites, spend money it does not have, order enemy units, teleport, or create units.
  • LLM timeouts, failures, and invalid output must never freeze or crash the AI — deterministic fallback always keeps the coalition playing.

Success criteria (end-to-end verifications)

The project is feature-complete only when these are demonstrated:

  1. Unified coalition — three or more allied AI players behave as one command.
  2. Combined arms — a synchronized operation involving ground, artillery/AA, air, and naval forces.
  3. Deception — a genuine feint, a measured enemy reaction, and a conditional real attack elsewhere.
  4. Special operations — an asset inserted through a low-threat route, valuable rear-area mission, extraction attempted.
  5. Human attention — several simultaneous coordinated threats, not one army blob.
  6. Counter-composition — the enemy switches composition and coalition production reacts across players.
  7. Reserve — a major attack while a reserve remains, which then reacts to an unexpected threat or exploits a breakthrough.
  8. Counterattack — the AI exploits a committed, failed enemy attack.
  9. Intelligence honesty — losing sight of an enemy force produces uncertainty and reconnaissance, never cheating.
  10. Fairness inspection — fair-fog + 0% bonus verified to grant no hidden positions and no economic edge.
  11. LLM failure — the model goes down mid-battle; missions continue and fallback maintains viable play.
  12. Invalid commander — an impossible/conflicting request is rejected and the commander replans.
  13. Adaptation — a plan that became poor is cancelled or modified rather than blindly continued.
  14. Withdrawal — a strategically losing engagement preserves surviving forces.
  15. Campaign — a complete skirmish shows the full arc: reconnaissance, economy/production, pressure, major operations, adaptation, and end-game.
  16. Brutal fair-AI strength — at the reference configuration, demonstrably much stronger than standard OpenRA bots, without omniscience or resource cheating.

Supreme Allied Command AI

Clone this wiki locally