The first AI history strategy simulator that abolishes hardcoded branching stories. Uses an LLM (DeepSeek) directly as the game's logic simulation engine.

See how the LLM generates narratives and executes logic under the hood
Testing the boundaries of LLMs acting as autonomous strategic game brains
Abolishes hardcoded story trees. AI dynamically calculates faction growth, military campaigns, and diplomatic choices based on current database state.
Allows players to type any strategic command. The AI parses the text, calculates its logical viability, and executes the results.
The simulator measures how far you deviate from actual history. As divergence rises, the AI shifts to sandboxed logical simulation.
Faction databases and storylines are completely modular. Players can inject custom campaigns by editing simple JSON config files.
Leverages ultra-low LLM pricing. Playing a full 100-turn historical campaign costs less than 5 cents (USD 0.007).
Future releases will support the OpenClaw protocol, allowing you to play the game inside WeChat, Feishu, or Telegram.
git clone https://github.com/emergencescience/histrategy.git cd histrategy pip install -e .
export DEEPSEEK_API_KEY="sk-your-deepseek-key"
histrategy
Once our GitHub repository reaches 100 stars, Emergence Science will release the OpenClaw client, allowing you to play directly via instant messengers.