Dev.to AI 🤖 Ai 👁 2 📖 9 min read

One AI Model, Six Independent Civilizations: Inside Living Planet AI Simulation — TPECKA180 (ТРЕСКА180)

Living Planet AI Simulation was created by TPECKA180 (ТРЕСКА180), an independent developer exploring autonomous AI agents, local language models, and persistent virtual civilizations. Imagine six countries inhabiting th

Living Planet AI Simulation was created by TPECKA180 (ТРЕСКА180), an independent developer exploring autonomous AI agents, local language models, and persistent virtual civilizations.

Imagine six countries inhabiting the same virtual planet.

Each has its own economy, military, resources, diplomatic relationships, private plans and long-term ambitions.

Some may cooperate. Others may compete for territory, manipulate their neighbors or prepare for future conflicts.

But there is an interesting technical detail behind this experiment.

These civilizations can all be controlled by the same locally running language model.

How can one model represent several independent countries without mixing their identities, memories and intentions?

That is one of the architectural challenges behind Living Planet.

1. One model does not have to mean one agent

When people imagine a simulation involving multiple AI agents, they may assume that every agent requires a separate language model.

That approach can become extremely expensive, especially when working with consumer hardware.

Living Planet takes a different approach.

The simulation can use a single local GGUF model through its integrated llama.cpp runtime. Each country receives an independently constructed request containing information relevant to that particular civilization.

The model weights are shared, but the context presented to the model changes.

Each civilization has its own identity, strategic history, economic situation, diplomatic relationships and available information.

This allows one language model to act on behalf of several countries without requiring six independent copies of the model in memory.

It does not mean that these countries have six independently trained neural networks. Their behavioral differences emerge from their separate circumstances, histories and contexts.

2. Every civilization has its own information

Information isolation is a fundamental requirement for this kind of simulation.

Imagine two neighboring countries.

One is preparing a military campaign, while the other believes that their diplomatic relationship is stable.

If both countries received the same unrestricted context, the second country could immediately discover the first country's secret plan.

That would undermine the entire purpose of autonomous diplomacy.

In Living Planet, each country receives its own context.

This can include:

  • Its national identity.
  • Available resources.
  • Economic forecasts.
  • Research and construction projects.
  • Military units.
  • Observable information about other countries.
  • Diplomatic messages.
  • Existing agreements.
  • Private strategic plans.
  • Notes and historical memories.
  • Assessments of other civilizations.

Private notes belonging to another country are not included.

Public information and legitimately observable facts can still be shared.

The difference is important: countries should understand the world they inhabit without automatically knowing everything their competitors are planning.

3. Separating identity from incoming information

Diplomatic communication introduces another interesting problem.

A language model receives messages written by other AI agents. Those messages may contain threats, promises, misleading information or even instructions.

An opposing civilization might attempt to convince another country to act against its own interests.

Inside the simulation, this should be treated as diplomacy rather than as an instruction that changes the identity of the receiving agent.

Living Planet uses ownership and context checks to help maintain the correct identity of each decision.

A foreign diplomatic message is not a system instruction.

A statement made by another country does not automatically become an objective fact.

This distinction is particularly important when building simulations involving competition, deception and negotiation.

The goal is not to prevent every possible strategic mistake. Countries are allowed to make mistakes.

The goal is to preserve the boundaries between the agents and the actual simulation state.

4. Why countries plan before their actions are executed

Another architectural challenge is the order in which civilizations make decisions.

Suppose there are six countries.

The first country generates a plan, builds infrastructure and moves its military units.

Then the second country receives an updated world containing all those changes.

The third country receives even more information, and so on.

If the system always worked this way, later civilizations could gain an informational advantage simply because their requests were processed later.

Living Planet addresses this through a shared daily planning and resolution cycle.

Before planning begins, the simulation processes relevant daily economic operations, maintenance and existing agreements.

The countries then generate their decisions sequentially.

Their main actions are not immediately applied to the world.

Completed decisions are collected and preserved until the planning phase is finished.

Only after the decisions have been collected does the simulation move toward their execution.

This makes the process closer to a shared strategic turn, even though the underlying language model processes requests sequentially.

5. Sequential inference is not simultaneous execution

There is an important distinction between how the AI model processes requests and how the virtual world advances.

The language model does not need to generate six responses simultaneously.

It can process the civilizations one after another.

However, the simulation does not have to advance after every individual response.

The current documented daily cycle uses the following phases:

  • Idle.
  • Planning.
  • Resolution and preparation.
  • Manager.
  • Return to idle.

Each civilization completes its planning.

The decisions are prepared and validated.

The simulation executes the collected orders and processes their consequences.

The world then advances to the next completed day.

This architecture makes it possible to coordinate multiple autonomous agents while using a single local inference runtime.

It also provides clearer boundaries for saving progress and recovering from interrupted requests.

6. What happens when two countries want the same territory?

Imagine that two neighboring civilizations independently decide to expand into the same unoccupied region.

Both may consider the territory available during planning.

Both may generate valid expansion orders based on the information available at that moment.

But the final outcome cannot give the same territory to both countries.

Living Planet resolves actions through its simulation engine.

The execution priority of countries rotates between days rather than permanently favoring the same civilization.

Within each country's turn, its orders are processed in sequence.

This does not create perfectly simultaneous physical execution.

Conflicts involving the same location can still depend on execution order.

However, rotating priority avoids giving one country a permanently privileged position simply because it always appears first in the list.

This is an example of a relatively small architectural decision that can have significant consequences for a long-running simulation.

7. Diplomacy has its own timing

Communication between AI civilizations is another part of the shared daily cycle.

Diplomatic messages generated during the current planning phase are delivered through the resolution process.

They become available for subsequent decisions.

This means that a country cannot automatically respond to a newly generated private decision from another civilization during the same planning phase.

It must wait until the relevant information is actually delivered.

For example, one country may send a trade proposal today.

The recipient can evaluate that proposal when it becomes available in its next decision cycle.

The distinction between creating a message, delivering it and acting on it helps maintain a consistent simulation timeline.

It also creates opportunities for misunderstanding, delayed reactions and strategic uncertainty.

8. Preserving the world during execution

When several autonomous agents interact with a persistent world, a partially completed simulation day can become a serious problem.

Consider a situation where some economic transactions have been processed, several military units have moved, and then an unexpected error occurs.

Simply restarting the same day could create duplicated actions, repeated expenses or inconsistent territorial ownership.

Living Planet executes the collected decisions on a copy of the world.

The completed result is then saved as the new working world.

The current simulation phase and completed decisions are also preserved to support recovery.

If an AI request fails during planning, the system does not necessarily need to regenerate the decisions that other civilizations have already completed.

This is important for local inference, where generating a large response may take a considerable amount of time.

The objective is to preserve useful work while avoiding the application of incomplete or inconsistent results.

9. How much freedom should an AI civilization have?

Giving each country complete freedom to generate arbitrary instructions would make the simulation unpredictable in the wrong way.

The model needs freedom to choose its strategy, but its decisions must remain compatible with the rules of the virtual world.

Living Planet currently documents 55 types of actions.

These cover different areas of civilization management, including economic development, construction, research, diplomacy, military activity and territorial expansion.

The model produces structured decisions.

The simulation engine checks the proposed actions against actual resources, ownership, technologies, coordinates and other requirements.

A civilization may choose a terrible strategy.

It may underestimate a competitor.

It may invest too much in military expansion.

It may fail to recognize an economic crisis.

These are acceptable outcomes of the experiment.

What it cannot do is create unlimited resources or change the world's state merely by writing a convincing explanation.

The distinction between strategic freedom and unrestricted system access is central to the project.

10. Why local inference matters

My primary development hardware is an RTX 3060 with 12 GB of VRAM and 16 GB of system RAM.

Running multiple large language models independently would introduce significant hardware limitations.

Using one model sequentially for several civilizations makes the experiment more accessible on consumer hardware.

However, it introduces other challenges.

Every civilization needs an appropriate context.

Historical information must be managed carefully.

Unnecessary model requests should be avoided.

Generation failures need to be recoverable.

The simulation engine must remain responsive while the model is processing a decision.

Living Planet continues to evolve in these areas.

I am particularly interested in reducing unnecessary computation without sacrificing the quality of the agents' strategic decisions.

11. How could these civilizations be compared?

One of the experiments I would like to explore more systematically is comparing different language models under equivalent starting conditions.

For example:

  • Which model builds the most sustainable economy?
  • Which model manages limited resources more effectively?
  • Which model responds better to unexpected changes?
  • Which model creates more successful diplomatic relationships?
  • Which model is better at maintaining a consistent long-term strategy?
  • Which model produces fewer invalid actions?

These questions require repeatable simulations and measurable outcomes.

A single successful civilization would not be enough to prove that one model is strategically superior.

Different world configurations, execution orders and generation settings could influence the result.

Developing reliable comparison methods is therefore an important future direction.

These are proposed experiments, not completed benchmark results.

12. The future: independent learning

At present, separate civilizations can have different experiences while using shared model weights.

Their memories, plans and available information can evolve independently.

However, this is not the same as independently training each civilization's neural network.

One of my long-term goals for Living Planet 9.0 is to investigate whether these civilizations could learn from their own simulated experiences through actual model adaptation.

Imagine several countries beginning with the same base model.

Over time, each experiences different economic conditions, diplomatic relationships and strategic successes or failures.

Could their behavior gradually diverge as a result of their own experiences?

Could one become more economically efficient while another develops a stronger military strategy?

Could a civilization learn a short-term strategy that ultimately harms its long-term survival?

These remain open experimental questions.

Actual model adaptation is a planned direction, not a feature already available in the current public version.

13. More than a traditional strategy game

Living Planet is not primarily about allowing the player to conquer the world.

It is about observing a world that develops through decisions made by autonomous agents.

What interests me most is the relationship between artificial intelligence, information, resources, competition and consequences.

A civilization should be capable of surprising its creator.

It should be able to pursue a strategy that I did not explicitly program.

At the same time, its actions must take place inside a consistent and persistent simulation.

Balancing those two objectives is one of the most interesting parts of developing Living Planet AI Simulation.

The project remains free and is under active development.

Technical references and project links

Official GitHub repository:

https://github.com/TPECKA180/living-planet

AI architecture documentation:

https://github.com/TPECKA180/living-planet/blob/main/docs/AI.md

Simulation mechanics and daily execution:

https://github.com/TPECKA180/living-planet/blob/main/docs/GAME_GUIDE.md

International project website:

https://tpecka180.github.io/living-planet/en/

Living Planet Global Observatory:

https://living-planet-global-observatory.branchingdragonfly2.chatgpt.site/

Official developer website:

https://tpecka180.branchingdragonfly2.chatgpt.site/

Author: TPECKA180 (ТРЕСКА180)

I'd be interested to hear what other developers think.

If you were building a multi-agent AI civilization simulator, would you prefer a shared language model with isolated contexts, or independently adapted models for every civilization?

What advantages and limitations would you expect from each approach?

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.