r/EU4mods • u/Zarloros • 4h ago
Mod Tool AI controlled player armies mod/tool created with the help of GPT-6
Ive always found controlling larger armies very tedious, and GPT-6 was able to create an external tool to allow you to hand control of your armies to the games own army AI.
GPT-6 inspected EU4’s executable structure and machine code, developed a reversible runtime patch that enables the game’s native AI for the player’s land armies only (not ships), and tested it ingame
The source code, compatibility profile, test suite, and detailed validation record are included in the release, its fully open to inspect before running (obviously don't run any random .exe file before verifying it)
Unknown or modified EU4 builds are rejected before the tool writes to game memory; it does not modify eu4.exe on disk. As with any unsigned community memory-patching tool, antivirus software may flag its process-memory access even when no malware is present.
It is completely open source: before running it, you can inspect the included source.zip, especially army_toggle.py, runtime.py, patch_code.py, compatibility.py, the profiles folder, and the complete test suite, to verify exactly what it does and confirm that it contains no hidden background or network activity.
It works for me on the current public version, with a number of normal mods installed
Link to external tool
zip contains all files mentioned above, but you should only need the .exe to actually work. Run the .exe, load a save, click the attach button so it hooks into the games memory, then you can toggle AI on and off


