Simulations powered by Grok — exploring alternate histories, physics scenarios, economies, and more.
"What if...?" but Grok runs the world model.
Current focus: Agentic "What If" simulator — input a historical/physics event + change, get step-by-step consequence narrative.
- Get your xAI API key: https://console.x.ai
cp .env.example .envand addXAI_API_KEY=your_keypip install -r requirements.txtpython src/simulate_what_if.py --scenario "What if the Apollo 13 oxygen tank never exploded?"
src/→ core simulation logicsrc/simulate_what_if.py→ main entry pointrequirements.txt→ xai-sdk, python-dotenv, etc.
- Basic single-run simulation
- Multi-turn user interaction
- Branching timelines
- Economy / market sim extension
- Web UI (Streamlit/Gradio)
Built with Grok API • MIT License