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