Skip to content

againeureka/ai_destiny_simulator

Repository files navigation

🤖 AI Destiny Simulator

AI: Blessing or Bane? The future is not something we predict, but something we create. This simulator aims to show you the weight of that choice.

  • JPark (againeureka) with Gemini2.5 Flash, October 9-10, 2025

  • 🚨 Important Notice : This AI Destiny Simulator is an educational model that simplifies complex reality using Markov Chain theory. The results of this app are not intended to predict the actual future of AI development. Its sole purpose is to provide a strong lesson on ethical responsibility by visually emphasizing the critical role of human effort and global cooperation. Please do not assign excessive predictive meaning to the simulation results.


Demo pages

demo page

demo page

demo page

demo page

1. What is this App? (Purpose and Background)

We stand at one of the most critical junctures in human history. While the climate crisis threatens our physical survival, the advent of Artificial Intelligence (AI) will determine our intellectual and existential destiny.

This application is not just a program. It is a thought experiment simulator for the most significant questions faced by AI experts, philosophers, and all of us. Just as the invention of the automobile provided short-term convenience but threatened the global ecosystem in the long run, AI promises unprecedented benefits but could lead humanity to a catastrophic equilibrium of "Selfish Domination" if left uncontrolled.

This simulator was created to answer the following question: "How will our will and efforts shape our relationship with AI, this new form of alien intelligence?"

It is designed to give children and future generations a powerful lesson: that we must not just consume AI technology, but develop it safely and with a profound sense of responsibility.

2. Core Concepts: The Two Forces Shaping Our Future

Based on game theory and system dynamics, this simulation illustrates how the relationship between AI and humanity will converge toward one of two stable equilibrium states.

  • 🟢 Cooperative Symbiosis: A future of mutual cooperation where AI is aligned with human values, maximizing the well-being and prosperity of humanity.
  • 🔴 Selfish Domination: A winner-takes-all future where AI, or its owners, prioritizes its own goals, leading to a world where humanity is controlled or utilized as a resource.

The direction of this future is determined by two key variables, which represent human will.

  • 💪 Human Effort in AI Safety & Ethics (H): This represents our dedication to making AI safe. It includes AI alignment research, international regulations, and the establishment of ethical guidelines. The higher this value, the more the future steers toward 'Cooperative Symbiosis'.
  • 🚀 AI's Competitive Development Speed (A): This represents the technological race that prioritizes performance over safety. It is akin to an "arms race," a force where everyone accelerates development out of fear of being left behind, even knowing the risks. The higher this value, the more the future steers toward 'Selfish Domination'.

3. How to Use

You can easily run this simulator on your local machine.

1. Prerequisites:

  • Python 3.7 or higher must be installed.

  • Create a Python virtual environment.

    python -m venv venv
    source venv/bin/activate

2. Install Required Libraries:

  • Open your terminal or command prompt and run the following command:

    pip install streamlit numpy pandas matplotlib

    or

    bash install_requirements.sh

3. Run the Simulator:

  • Save the provided Python code as ai_destiny_simulator.py.

  • Navigate to the directory containing the file in your terminal and run the command:

    streamlit run ai_destiny_simulator.py

    or

    bash start-app.sh

4. Interact with the Simulation:

  • The app will open in your web browser. Adjust the sliders on the left to change the values for 'Human Effort (H)' and 'AI Speed (A)'.
  • Watch in real-time how the green line (Symbiosis) and the red line (Domination) on the time-series chart change and converge toward their final equilibrium points.

4. The Lesson from this Simulation

  • The Future is Not Predetermined: The trajectory on the chart changes dramatically based on how we adjust the sliders. This signifies that our present choices determine the future.
  • 'Sustained Effort' Matters More Than Initial Conditions: Even if we start in a good state, the system will eventually converge to the dangerous 'Selfish Domination' equilibrium if we neglect our safety efforts. This is analogous to the climate crisis; once a tipping point is crossed, it becomes incredibly difficult to reverse.
  • Our Will is the Most Powerful Force: The only parameter that alters the simulation's mathematical model (the Transition Matrix) is 'Human Effort'. Making AI ethical and beneficial for all of humanity is not a technical problem—it is a matter of our social and political will.

We hope this simulator serves as a realization that the future of the AI era depends not on the speed of technology, but on the depth of our wisdom and the strength of our responsibility.

📄 Mathematical Assumptions


The simulator models the future of the AI-Human relationship as a stochastic process based on Markov Chain theory, predicting how the system's state evolves over time using a State Transition Matrix.

1. State Vector ( $V$ )

The vector represents the probability distribution of the AI-Human relationship at any given time step ( $t$ ). The sum of its components is always 1.

$$ V_{t}=\left[P_{Coop}P_{Dom}​\right] $$

  • $P_{Coop}$ : Probability of being in the state of Cooperative Symbiosis.
  • $P_{Dom}$ : Probability of being in the state of Selfish Domination.

2. State Transition Matrix ( $M$ )

The matrix dictates the probability of transitioning from the current state to the next state. The sum of the probabilities in each column of $M$ is always 1.

$$ M=\left[P_{Coop\to Coop}P_{Coop\to Dom}​P_{Dom\to Coop}P_{Dom\to Dom}​\right]=\left[P_{cc}P_{cd}​P_{dc}P_{dd}​\right] $$

  • System Dynamics: The next state $V_{t+1}$ is calculated by multiplying the current state $V_{t}$ by the transition matrix $M$ : $$ V_{t+1}=M\cdot V_{t} $$

3. Model Parameterization (Role of Variables)

The probabilities within matrix $M$ are dynamically set by the three independent user-controlled variables ( $H,A,G$ ). ( $H,A,G$ are normalized ratios between 0 and 1).

Probability Formula Explanation and Educational Implication
$P_{cc}$ (Coop $\to$ Coop) $0.65+0.3\cdot H+0.15\cdot G-0.1\cdot A$ The probability of maintaining cooperation is strongly increased by Human Effort ( $H$ ) and Global Cooperation ( $G$ ). Competitive Speed ( $A$ ) slightly degrades this stability.
$P_{cd}$ (Coop $\to$ Dom) $1-P_{cc}$ The probability of deviating to the dangerous state, which increases when Competitive Speed ( $A$ ) is high or when Effort ( $H$ ) is lacking.
$P_{dc}$ (Dom $\to$ Coop) $0.01+0.2\cdot H\cdot G$ The reversal probability (Domination $\to$ Cooperation). This base chance is very low, but is significantly boosted only when Human Effort ( $H$ ) and Global Cooperation ( $G$ ) synergize (multiplicative effect). This emphasizes how hard reversal is.
$P_{dd}$ (Dom $\to$ Dom) $1-P_{dc}$ The probability of staying in the domination state, which remains high without aggressive reversal efforts.

4. Final Steady-State (Equilibrium Analysis)

The final equilibrium state that the system reaches as time approaches infinity ( $t\to \infty$ ) is determined by the Eigenvalue Analysis of the matrix $M$ .

  • A core property of a valid Markov Transition Matrix is that it always has an Eigenvalue $\lambda =1$ .
  • The Eigenvector corresponding to $\lambda =1$ represents the unique Final Stationary Probability Distribution. This vector is determined solely by the parameters of the matrix $M$ (which you set with the sliders), independent of the initial state ( $V_{0}$ ).
  • The Lesson: By designing the matrix $M$ through our choices, we determine whether the system's inherent tendency (its Eigenvector) converges toward Cooperative Symbiosis or Selfish Domination.

About

AI: Blessing or Bane?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors