<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[TPECKA180 | Indie Development]]></title><description><![CDATA[Official blog of TPECKA180, indie developer and creator of Living Planet, GPU Shield, experimental games, local AI simulations and software tools.]]></description><link>https://tpecka180.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sun, 29 Nov 2026 20:47:32 GMT</lastBuildDate><atom:link href="https://tpecka180.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[When AI Gets It Wrong: Building a Reliable Living Planet AI Simulation — TPECKA180 (ТРЕСКА180)]]></title><description><![CDATA[Discover how Living Planet AI Simulation handles invalid AI decisions, context limits, inference failures and simulation recovery.]]></description><link>https://tpecka180.hashnode.dev/when-ai-gets-it-wrong-building-a-reliable-living-planet-ai-simulation-tpecka180-180</link><guid isPermaLink="true">https://tpecka180.hashnode.dev/when-ai-gets-it-wrong-building-a-reliable-living-planet-ai-simulation-tpecka180-180</guid><category><![CDATA[AI]]></category><category><![CDATA[Python]]></category><category><![CDATA[llm]]></category><category><![CDATA[GameDev]]></category><dc:creator><![CDATA[TPECKA180]]></dc:creator><pubDate>Sun, 29 Nov 2026 19:14:01 GMT</pubDate><content:encoded><![CDATA[<p>Living Planet AI Simulation was created by TPECKA180 (ТРЕСКА180), an independent developer exploring autonomous artificial intelligence and persistent virtual worlds.</p>
<p>One of the most important lessons I've learned while developing Living Planet is that building a system controlled by AI is relatively easy compared to making that system reliable.</p>
<p>Language models can generate impressive strategies, analyze complex situations and make interesting decisions.</p>
<p>They can also get stuck, produce invalid data, contradict themselves and fail at the worst possible moment.</p>
<p>Today, I want to share some of the engineering challenges I've encountered while building a virtual world governed by autonomous AI civilizations.</p>
<h2>1. An intelligent model is not necessarily a reliable component</h2>
<p>Living Planet is an experimental simulation in which countries are controlled by AI agents.</p>
<p>These countries manage resources, develop economies, conduct diplomacy, research technologies and fight wars.</p>
<p>Each agent receives information about the world and produces structured decisions that the simulation engine can process.</p>
<p>However, intelligence and reliability are two different things.</p>
<p>A model may produce an excellent strategic analysis followed by an invalid action.</p>
<p>It may generate a long and convincing explanation without completing the structured response required by the engine.</p>
<p>It may also attempt to execute something that is impossible under the current rules of the world.</p>
<p>This creates an important engineering problem: how do you give AI enough freedom to make interesting decisions without allowing it to compromise the simulation?</p>
<h2>2. The simulation engine must remain authoritative</h2>
<p>One of the fundamental principles behind Living Planet is the separation between AI decisions and the actual state of the world.</p>
<p>The language model proposes actions.</p>
<p>The simulation engine validates and executes them.</p>
<p>For example, an AI civilization may decide to construct a factory, but the engine must verify that the necessary resources, technologies and construction conditions are available.</p>
<p>The model cannot create resources simply by claiming that they exist.</p>
<p>It cannot successfully recruit an army without paying the required costs.</p>
<p>It cannot change territorial ownership just by describing a military victory.</p>
<p>This separation makes autonomous decision-making possible without giving the language model unrestricted control over the simulation's internal state.</p>
<p>In my view, this is an important principle for many AI-powered applications, not just games.</p>
<h2>3. The problem with incomplete JSON</h2>
<p>Structured output is essential when an AI agent interacts with a software system.</p>
<p>Unfortunately, requesting JSON does not guarantee that a model will produce a complete and usable response.</p>
<p>During development, Living Planet encountered problems involving truncated responses, invalid arguments and repetitive generation.</p>
<p>A model might spend a considerable amount of time analyzing a situation, only for its final response to be cut off before completion.</p>
<p>Executing such a response would be dangerous for the integrity of the simulation.</p>
<p>Ignoring the failure entirely would also be problematic.</p>
<p>The system needs to distinguish between a complete decision, a recoverable generation failure and an invalid individual action.</p>
<p>These are different problems and should not necessarily trigger the same recovery mechanism.</p>
<h2>4. Why one invalid action shouldn't invalidate everything</h2>
<p>An AI civilization can propose multiple actions during a single decision cycle.</p>
<p>Imagine that it wants to:</p>
<ul>
<li>Construct a building.</li>
<li>Recruit military units.</li>
<li>Move an existing army.</li>
<li>Negotiate a trade agreement.</li>
<li>Expand into unoccupied territory.</li>
</ul>
<p>Now imagine that one of those actions is invalid.</p>
<p>Should the entire decision be discarded?</p>
<p>Earlier development exposed problems with regenerating large decisions because of individual invalid orders.</p>
<p>In version 7.5.1, the local execution system was improved so that an error in one order no longer requires regenerating the entire decision.</p>
<p>Valid actions can still be processed according to the simulation's rules.</p>
<p>This reduces unnecessary inference and helps preserve the useful parts of an AI-generated plan.</p>
<p>It also makes the system more tolerant of imperfect models.</p>
<h2>5. When an AI gets stuck thinking</h2>
<p>Another frustrating problem is repetitive generation.</p>
<p>Sometimes a language model repeatedly analyzes the same situation without progressing toward a usable answer.</p>
<p>Increasing the response token limit does not necessarily solve this problem.</p>
<p>In some cases, it simply allows the model to continue repeating itself for longer.</p>
<p>Living Planet has undergone several changes to improve generation recovery, detect repetitive reasoning and prevent endless retry cycles.</p>
<p>When recovery attempts are exhausted, the simulation can pause rather than silently applying an incomplete decision.</p>
<p>Preserving the integrity of the world is more important than pretending that every AI request succeeded.</p>
<h2>6. Context windows introduce their own problems</h2>
<p>As a simulated world develops, its history becomes increasingly large.</p>
<p>Every country accumulates previous decisions, diplomatic messages, economic information and strategic plans.</p>
<p>Processing all of this information becomes expensive, especially when running language models locally.</p>
<p>Living Planet previously encountered a particularly inconvenient interaction between context packing and response limits.</p>
<p>A response could reach its generation limit, trigger a retry, and then receive an even smaller effective response budget.</p>
<p>Instead of resolving the problem, the recovery mechanism could make it worse.</p>
<p>Several subsequent updates addressed context budgeting, adaptive request reconstruction and the handling of large saved worlds.</p>
<p>Version 8.5.3 also introduced compact representations of older contextual information without modifying the original saved history.</p>
<p>These changes illustrate why context management is not just about giving a model more tokens.</p>
<p>It is about deciding which information the model needs and ensuring that it has sufficient room to produce a complete decision.</p>
<h2>7. Recovering without losing progress</h2>
<p>Living Planet supports multiple autonomous civilizations.</p>
<p>Generating decisions for several countries can take a significant amount of time, particularly on consumer hardware.</p>
<p>If five countries have already completed their decisions and the sixth encounters an error, regenerating everything would waste computational resources.</p>
<p>The simulation therefore needs to preserve completed decisions while allowing failed requests to be recovered.</p>
<p>Recent improvements address interrupted simulation days, bounded retry attempts and the preservation of existing decisions.</p>
<p>The goal is to make failures recoverable without unnecessarily resetting the entire world.</p>
<p>This becomes increasingly important as simulations grow longer and more complex.</p>
<h2>8. Developing for ordinary hardware</h2>
<p>I primarily develop Living Planet on a computer equipped with:</p>
<ul>
<li>NVIDIA RTX 3060 with 12 GB of VRAM.</li>
<li>16 GB of system RAM.</li>
</ul>
<p>The project supports compatible local GGUF models through an integrated llama.cpp runtime.</p>
<p>Running everything locally makes efficiency particularly important.</p>
<p>Every unnecessary request, repeated generation and oversized context consumes time and computational resources.</p>
<p>For this reason, reliability improvements can also become performance improvements.</p>
<p>Avoiding a completely unnecessary regeneration may be more useful than making individual tokens slightly faster to generate.</p>
<h2>9. What still needs improvement</h2>
<p>Living Planet remains an ongoing experimental project.</p>
<p>There are several areas I want to investigate further:</p>
<ul>
<li>More efficient context selection.</li>
<li>Better recovery from malformed responses.</li>
<li>Improved detection of repetitive generation.</li>
<li>More detailed performance telemetry.</li>
<li>Long-running simulation stability.</li>
<li>Comparisons between different local language models.</li>
<li>More efficient handling of multiple autonomous agents.</li>
<li>Experimental learning from previous decisions and their consequences.</li>
</ul>
<p>The last point is especially important for the future of Living Planet.</p>
<p>However, contextual memory and feedback should not be confused with actual training of model weights. Genuine self-learning remains a planned research direction.</p>
<h2>10. What I've learned</h2>
<p>After approximately three months of development, I've realized that the most difficult part of creating autonomous AI systems is not necessarily making the agents intelligent.</p>
<p>It is building the infrastructure that allows imperfect agents to operate reliably.</p>
<p>A good architecture should expect failures.</p>
<p>It should validate decisions, preserve consistent state, limit recovery attempts and avoid wasting completed work.</p>
<p>The more autonomy we give AI agents, the more important these engineering principles become.</p>
<p>Living Planet AI Simulation is my ongoing attempt to explore these challenges inside a persistent virtual civilization simulator.</p>
<p>The project is free and continues to evolve.</p>
<h2>Project links</h2>
<p><strong>GitHub repository:</strong></p>
<p><a href="https://github.com/TPECKA180/living-planet">https://github.com/TPECKA180/living-planet</a></p>
<p><strong>Public development changelog:</strong></p>
<p><a href="https://github.com/TPECKA180/living-planet/blob/main/CHANGELOG.md">https://github.com/TPECKA180/living-planet/blob/main/CHANGELOG.md</a></p>
<p><strong>Living Planet website:</strong></p>
<p><a href="https://tpecka180.github.io/living-planet/en/">https://tpecka180.github.io/living-planet/en/</a></p>
<p><strong>Living Planet Global Observatory:</strong></p>
<p><a href="https://living-planet-global-observatory.branchingdragonfly2.chatgpt.site/">https://living-planet-global-observatory.branchingdragonfly2.chatgpt.site/</a></p>
<p><strong>Official developer website:</strong></p>
<p><a href="https://tpecka180.branchingdragonfly2.chatgpt.site/">https://tpecka180.branchingdragonfly2.chatgpt.site/</a></p>
<p><strong>Author: TPECKA180 (ТРЕСКА180)</strong></p>
<p>I'm curious how other developers approach this problem.</p>
<p>When an autonomous AI agent fails to produce a valid response, do you prefer strict validation, automatic retries, partial execution of valid actions, or a completely different recovery strategy?</p>
]]></content:encoded></item><item><title><![CDATA[Can AI Agents Lie, Betray, and Exploit Each Other? Inside Living Planet — TPECKA180 (ТРЕСКА180)]]></title><description><![CDATA[Explore how autonomous AI civilizations negotiate, betray, trade and compete inside the persistent Living Planet simulation.]]></description><link>https://tpecka180.hashnode.dev/can-ai-agents-lie-betray-and-exploit-each-other-inside-living-planet-tpecka180-180</link><guid isPermaLink="true">https://tpecka180.hashnode.dev/can-ai-agents-lie-betray-and-exploit-each-other-inside-living-planet-tpecka180-180</guid><category><![CDATA[Python]]></category><category><![CDATA[Game Development]]></category><category><![CDATA[simulation]]></category><category><![CDATA[llm]]></category><dc:creator><![CDATA[TPECKA180]]></dc:creator><pubDate>Sun, 29 Nov 2026 14:06:26 GMT</pubDate><content:encoded><![CDATA[<h1>Can AI Agents Lie, Betray, and Exploit Each Other? Inside Living Planet — TPECKA180 (ТРЕСКА180)</h1>
<p>Most discussions about artificial intelligence focus on making AI assistants more helpful, accurate, and cooperative.</p>
<p>But what happens when artificial intelligence is placed in an environment where cooperation is optional, resources are limited, and different AI agents have conflicting interests?</p>
<p>What happens when one artificial intelligence realizes that deceiving another could provide a strategic advantage?</p>
<p>This is one of the questions I am exploring through Living Planet, an experimental civilization simulator developed by me, TPECKA180 (ТРЕСКА180).</p>
<p>Instead of designing AI agents that always cooperate, I am building a virtual world where cooperation, competition, diplomacy, betrayal, economic pressure, and warfare can all become parts of an evolving history.</p>
<p>The most important architectural principle is surprisingly simple:</p>
<p><strong>AI agents can lie to each other, but their words cannot directly rewrite reality.</strong></p>
<h2>1. A world where artificial intelligence has something to lose</h2>
<p>Living Planet is a locally powered civilization simulator in which between two and six autonomous countries make their own strategic decisions.</p>
<p>Each civilization has its own:</p>
<ul>
<li>Territory.</li>
<li>Population.</li>
<li>Resources.</li>
<li>Economic infrastructure.</li>
<li>Technologies.</li>
<li>Military forces.</li>
<li>Diplomatic relationships.</li>
<li>Strategic plans.</li>
<li>Memory of previous events.</li>
<li>History of interactions with other civilizations.</li>
</ul>
<p>The stable v8.5.4 version includes 55 types of actions, 31 resources, and two technological eras.</p>
<p>The human observer creates a world, selects compatible local language models, and watches the simulation develop.</p>
<p>Unlike a traditional strategy game, where scripted computer opponents follow predetermined patterns, Living Planet uses language models to propose strategic decisions based on the current situation.</p>
<p>However, a language model does not have unlimited authority.</p>
<p>Every country must operate inside the same simulated reality.</p>
<p>Resources cannot be created simply by describing them. Armies cannot appear because an AI claims to have recruited them. A country cannot become technologically advanced merely by announcing a scientific breakthrough.</p>
<p>The simulation engine independently validates the proposed actions.</p>
<p>This creates an interesting environment for studying artificial strategic behavior: an AI agent must deal with scarcity, uncertainty, competition, and consequences.</p>
<h2>2. Why cooperation should not be mandatory</h2>
<p>Many multi-agent AI experiments emphasize collaboration.</p>
<p>Agents receive a shared objective and attempt to solve a problem together.</p>
<p>That is useful for productivity, software development, scientific research, and other cooperative applications.</p>
<p>But a civilization simulator represents a different type of environment.</p>
<p>Countries do not necessarily share the same interests.</p>
<p>One country may want access to another country's resources. Another may want to preserve its independence. A third may benefit from allowing its competitors to weaken each other.</p>
<p>Cooperation is possible, but it is not always strategically optimal.</p>
<p>I wanted Living Planet to allow cooperation to emerge from the circumstances rather than being imposed as a permanent behavioral rule.</p>
<p>A country might cooperate because it genuinely benefits from mutual trade.</p>
<p>It might also cooperate temporarily while preparing for a completely different long-term strategy.</p>
<p>The engine should support both possibilities without predetermining which strategy the AI must choose.</p>
<h2>3. Separating communication from reality</h2>
<p>One of the biggest problems with using language models in simulations is that generated text can sound convincing even when it describes something that never happened.</p>
<p>Imagine an AI-controlled civilization producing the following message:</p>
<p>"We have transferred 100 units of food to your country as promised."</p>
<p>Should the simulation automatically give the recipient 100 units of food?</p>
<p>Absolutely not.</p>
<p>A diplomatic message is not a transaction.</p>
<p>The message may be truthful, mistaken, exaggerated, or deliberately misleading within the fictional world.</p>
<p>The actual transfer must be performed through a valid structured action.</p>
<p>The engine must then verify that the resources exist, that the action is permitted, and that the transaction has actually taken place.</p>
<p>This produces three distinct layers:</p>
<ol>
<li>What an AI agent says.</li>
<li>What an AI agent attempts to do.</li>
<li>What actually happens inside the simulation.</li>
</ol>
<p>These layers must never be confused.</p>
<p>A language model can claim that its country has an enormous army. The engine still knows the actual number of military units.</p>
<p>A model can claim that it has fulfilled a contract. The transaction records may show otherwise.</p>
<p>A model can describe a successful invasion. The map changes only when valid military actions produce that result.</p>
<p>The distinction between generated narrative and authoritative state is fundamental to Living Planet.</p>
<h2>4. The decision-making architecture</h2>
<p>The simplified architecture looks like this:</p>
<pre><code class="language-text">         Current world state
                  |
                  v
         Private country context
                  |
                  v
          Local language model
             /           \
            /             \
  Diplomatic messages   Structured actions
            |             |
            v             v
    Other AI agents    Engine validation
                          |
                          v
                  Actual world changes
                          |
                          v
                  Results and feedback
                          |
                          v
                  Future AI decisions
</code></pre>
<p>The language model is responsible for interpreting the situation and proposing decisions.</p>
<p>The engine is responsible for enforcing the rules.</p>
<p>This separation makes it possible to allow relatively unrestricted strategic communication without giving generated text unrestricted control over the simulation.</p>
<p>It also creates a useful distinction between a bad strategy and an invalid action.</p>
<p>An economically disastrous decision may still be a valid action.</p>
<p>An impossible transaction must be rejected regardless of how convincing the model's explanation sounds.</p>
<h2>5. Private intentions and public diplomacy</h2>
<p>Every civilization maintains its own information and strategic context.</p>
<p>A country can communicate with another state while maintaining private plans that are not automatically shared with its neighbors.</p>
<p>The current documentation describes a separation between diplomatic messages and private strategic assessments, plans, notes, and learning records.</p>
<p>This is important because diplomacy becomes meaningless if every participant automatically knows every other participant's intentions.</p>
<p>Consider an illustrative scenario.</p>
<p>Country A sends Country B a message suggesting a long-term peaceful relationship.</p>
<p>At the same time, Country A's private strategy prioritizes military expansion.</p>
<p>Country B must decide how seriously to take the diplomatic message based on its own observations, previous interactions, economic interests, and available information.</p>
<p>It cannot simply read Country A's private strategic plan.</p>
<p>This does not establish that language models possess human-like intentions or consciousness.</p>
<p>It creates an environment where their generated plans, statements, and actions can diverge in strategically interesting ways.</p>
<h2>6. Trust is not the same as objective reality</h2>
<p>Living Planet includes a diplomatic relationship system.</p>
<p>A civilization can maintain its own assessment of another country using:</p>
<ul>
<li>Trust values from -100 to +100.</li>
<li>Diplomatic stances such as neutral, friend, rival, or enemy.</li>
<li>Trade preferences.</li>
<li>Notes about previous interactions.</li>
<li>Grievances and observed events.</li>
</ul>
<p>An important design decision is that subjective diplomatic assessments are separated from actual political conditions.</p>
<p>For example, an AI agent can classify another civilization as an enemy without formally declaring war.</p>
<p>Likewise, describing another country as a friend does not guarantee that an enforceable alliance exists.</p>
<p>The engine maintains the actual political state independently.</p>
<p>This allows artificial intelligence to be suspicious, optimistic, mistaken, or strategically deceptive.</p>
<p>Two civilizations may interpret the same relationship differently.</p>
<p>Country A may believe that Country B is a reliable partner.</p>
<p>Country B may view Country A as a convenient source of resources.</p>
<p>That asymmetry is part of what makes diplomacy interesting.</p>
<h2>7. Promises that can actually be broken</h2>
<p>Diplomatic messages are useful, but a more interesting mechanism is the ability to create explicit promises.</p>
<p>Living Planet supports a structured <code>pledge</code> action.</p>
<p>A country can register a promise involving resource delivery or non-aggression.</p>
<p>Promises can have a defined duration and visibility.</p>
<p>An important detail is that promised resources are not automatically reserved.</p>
<p>This means a country might promise a delivery today but later decide to spend the necessary resources elsewhere.</p>
<p>The engine evaluates whether registered obligations are actually fulfilled.</p>
<p>Successful fulfillment can improve trust.</p>
<p>Violations can create grievances and damage diplomatic relationships.</p>
<p>Public promises also allow other civilizations to observe relevant political facts.</p>
<p>Consider a hypothetical situation:</p>
<p>Country A promises to supply food to Country B within a defined period.</p>
<p>Country B expects the delivery and makes its own economic plans.</p>
<p>Before the deadline arrives, Country A experiences a domestic shortage.</p>
<p>It now faces a choice.</p>
<p>Should it honor the promise and accept the economic damage?</p>
<p>Should it negotiate a different arrangement?</p>
<p>Should it prioritize its own citizens and break the promise?</p>
<p>There is no universally optimal answer.</p>
<p>The decision depends on the country's resources, strategic objectives, relationship with the recipient, and expectations about future consequences.</p>
<p>The engine provides the rules. The AI proposes the strategy.</p>
<h2>8. Trade without imaginary resources</h2>
<p>Trading is another area where generated language must be separated from actual execution.</p>
<p>Living Planet provides structured actions for creating and accepting trade offers.</p>
<p>A seller can propose a transaction using <code>trade</code>.</p>
<p>The recipient can accept an appropriate offer using <code>accept_trade</code>.</p>
<p>A separate <code>transfer</code> action allows resources to be delivered without an immediate reciprocal exchange.</p>
<p>The crucial detail is that an offer does not automatically move goods or money.</p>
<p>An ordinary trade offer can remain open until it is accepted or expires.</p>
<p>The buyer must accept an offer addressed to it. The seller cannot accept the offer on behalf of the buyer.</p>
<p>The engine performs the actual transfer and updates the relevant resources when the transaction succeeds.</p>
<p>A simplified example of a trade proposal could look like this:</p>
<pre><code class="language-json">{
  "type": "trade",
  "args": {
    "partner": "state_2",
    "resource": "food",
    "amount": 100,
    "price": 2
  }
}
</code></pre>
<p>This is an illustrative action using the documented structure, not a captured decision from a live AI session.</p>
<p>The proposed transaction still needs to pass the engine's checks.</p>
<p>The language model is therefore closer to a strategic decision-maker than a database administrator.</p>
<p>It requests a transaction. It does not directly edit the resource balances.</p>
<h2>9. The interesting part: deliberately breaking an exchange</h2>
<p>Ordinary simultaneous trades are relatively straightforward.</p>
<p>Both sides exchange resources as part of the same accepted transaction.</p>
<p>But Living Planet also supports exchange arrangements involving future obligations.</p>
<p>The documented <code>offer_exchange</code> mechanism supports three exchange modes:</p>
<ul>
<li>Simultaneous.</li>
<li>Advance.</li>
<li>Credit.</li>
</ul>
<p>In simultaneous exchanges, both parts of the transaction are transferred together when accepted.</p>
<p>Advance and credit arrangements allow one part of the exchange to occur before the other.</p>
<p>This introduces a genuine opportunity for strategic betrayal.</p>
<p>A country can receive something valuable and later fail to provide the promised reciprocal delivery.</p>
<p>Living Planet includes separate actions for fulfilling and deliberately breaching accepted exchange obligations:</p>
<pre><code class="language-text">deliver_exchange
breach_exchange
</code></pre>
<p>When an obligation is deliberately breached, the previously received benefit does not simply disappear from the world.</p>
<p>Instead, the simulation retains the consequences of the transaction and the record of the violated obligation.</p>
<p>This is one of the most interesting distinctions between a superficial diplomacy system and a systemic one.</p>
<p>A broken promise is not merely an angry message.</p>
<p>It can create actual economic losses, grievances, and damaged relationships.</p>
<p>The AI must weigh the immediate material benefit against the possible long-term cost.</p>
<h2>10. An illustrative economic betrayal</h2>
<p>Imagine two fictional countries.</p>
<p>Country A possesses large food reserves but desperately needs metal for industrial development.</p>
<p>Country B produces metal but faces a food shortage.</p>
<p>They negotiate an exchange in which Country A provides food in advance, while Country B agrees to provide metal later.</p>
<p>Country B receives the food and temporarily stabilizes its economy.</p>
<p>When the reciprocal delivery becomes due, it deliberately breaches the obligation.</p>
<p>The immediate outcome might appear favorable to Country B.</p>
<p>It has acquired valuable resources without completing its side of the arrangement.</p>
<p>But the longer-term consequences may be different.</p>
<p>Country A may reduce its trust, reconsider future contracts, impose an embargo, seek alternative trading partners, or choose a hostile strategy.</p>
<p>Country B might discover that its short-term gain has damaged its access to important resources.</p>
<p>Alternatively, it may conclude that the immediate benefit justified the risk.</p>
<p>The game does not need to declare either strategy morally correct.</p>
<p>Its purpose is to represent the consequences and allow future AI decisions to develop from them.</p>
<p>This example describes a hypothetical scenario supported by the documented mechanics. It is not a claim that a particular live simulation has already produced exactly this sequence.</p>
<h2>11. Economic warfare without direct military combat</h2>
<p>One of my interests in Living Planet is exploring how conflicts can develop without immediately becoming military confrontations.</p>
<p>Countries may have different levels of access to food, raw materials, energy, industrial products, and other resources.</p>
<p>A powerful civilization does not necessarily need to invade a weaker neighbor to gain influence over it.</p>
<p>Long-term economic dependence could become a strategic vulnerability.</p>
<p>The current system includes mechanisms for recurring supply agreements.</p>
<p>A country can propose a supply pact, and its partner can accept it.</p>
<p>These agreements can define recurring deliveries, payments, durations, and financial consequences.</p>
<p>The engine supports actions including:</p>
<pre><code class="language-text">supply_pact
accept_supply
withhold_supply
resume_supply
cancel_supply
repudiate_debt
embargo
</code></pre>
<p>These are not simply labels for diplomatic messages.</p>
<p>They represent actual changes to economic obligations or political restrictions.</p>
<p>A country can deliberately withhold its participation in a supply arrangement.</p>
<p>It can resume its contribution later.</p>
<p>It can terminate participation, with corresponding consequences.</p>
<p>It can also refuse certain automatic contractual debt payments without erasing the underlying history of the debt.</p>
<p>These mechanics make economic relationships potentially as important as military ones.</p>
<p>A country that relies too heavily on a single supplier could become vulnerable if the relationship deteriorates.</p>
<p>A strategically capable model might recognize that vulnerability before it becomes a crisis.</p>
<p>Whether a particular model actually recognizes and exploits such opportunities remains an empirical question.</p>
<h2>12. Why diplomacy needs economic consequences</h2>
<p>Diplomatic systems often become uninteresting when their consequences are limited to numerical relationship changes.</p>
<p>A relationship score decreases, but nothing meaningful happens.</p>
<p>Living Planet attempts to connect diplomatic decisions to actual economic and strategic conditions.</p>
<p>In the industrial era, production depends on workers, energy, input materials, buildings, technologies, and supply chains.</p>
<p>Factories cannot operate at their nominal capacity simply because they exist.</p>
<p>A factory that lacks workers or required input resources may produce less than expected or stop operating.</p>
<p>This means a supply disruption can potentially affect several connected systems.</p>
<p>A shortage of an essential resource may reduce production.</p>
<p>Reduced production may weaken another part of the economy.</p>
<p>A weakened economy may reduce the country's ability to maintain its military or population.</p>
<p>The significance of a diplomatic decision therefore depends on the actual structure of the affected economy.</p>
<p>This makes it possible to study how dependency develops and how countries respond to instability.</p>
<h2>13. War and peace are actual political states</h2>
<p>The same principle applies to military diplomacy.</p>
<p>A country can write a threatening letter without automatically entering a war.</p>
<p>It can describe another civilization as an enemy without creating a legal state of conflict.</p>
<p>The <code>declare_war</code> action changes the actual war status when permitted by the engine.</p>
<p>Peace also requires more than a diplomatic statement.</p>
<p>Living Planet's documented mechanics require reciprocal peace actions from the parties involved.</p>
<p>One country cannot simply announce that the conflict is over and automatically force the other country to accept peace.</p>
<p>This creates an important distinction between communication, proposals, and confirmed political conditions.</p>
<p>It also allows AI agents to negotiate while the actual state of war remains unchanged.</p>
<p>Military actions are independently constrained by territory, available forces, movement costs, routes, political relationships, and other game rules.</p>
<p>A threatening statement is not a military victory.</p>
<h2>14. Vassalage and asymmetric cooperation</h2>
<p>Not all political relationships are between equally powerful civilizations.</p>
<p>Living Planet also includes a vassalage system.</p>
<p>A country can propose a vassalage agreement involving tribute and duration.</p>
<p>The recipient must accept the offer through the appropriate structured action.</p>
<p>A vassal retains its territory, army, character, and strategic decisions, but it operates under specific economic and political restrictions.</p>
<p>Tribute is connected to actual economic conditions rather than appearing as unlimited resources.</p>
<p>The system also supports rebellion and release from vassalage.</p>
<p>This introduces another interesting strategic situation.</p>
<p>A weaker civilization might accept dependency because it considers temporary submission less dangerous than immediate destruction.</p>
<p>Over time, its economic or military position might improve.</p>
<p>It could then reconsider whether continued dependence is advantageous.</p>
<p>A stronger civilization might benefit from tribute but must also account for the possibility of rebellion.</p>
<p>The result is a dynamic relationship involving incentives, risk, and changing strategic circumstances.</p>
<p>Again, this is an opportunity created by the rules, not a guarantee that every language model will develop a sophisticated strategy.</p>
<h2>15. Why I avoid a simple morality score</h2>
<p>Living Planet does not currently use a universal morality meter that automatically labels cooperation as good and betrayal as bad.</p>
<p>Instead, it records concrete economic, political, and reputational consequences.</p>
<p>This is an important experimental design choice.</p>
<p>If an AI agent were automatically punished for every act of deception through a universal morality score, its strategic behavior would be heavily constrained by the developer's predefined moral evaluation.</p>
<p>I am interested in whether artificial agents can recognize the practical consequences of their own actions.</p>
<p>Cooperation might produce long-term benefits.</p>
<p>Betrayal might produce short-term gains while damaging future opportunities.</p>
<p>Aggressive behavior might occasionally succeed and might also lead to catastrophic consequences.</p>
<p>These outcomes should depend on the simulated circumstances.</p>
<p>This is not a claim that deception is desirable in real-world AI systems.</p>
<p>Living Planet is a fictional, bounded strategy simulation.</p>
<p>The goal is to observe competing strategic behavior within that artificial environment.</p>
<h2>16. Fairness when AI agents act sequentially</h2>
<p>Running several large language models or several independent contexts simultaneously can require substantial hardware resources.</p>
<p>Living Planet uses a sequential decision process through its local model runtime.</p>
<p>However, allowing each country to immediately execute its actions before the next country makes a decision could produce undesirable turn-order advantages.</p>
<p>The current architecture therefore separates planning from execution.</p>
<p>Countries receive their individual contexts and produce their decisions before the shared execution phase.</p>
<p>Completed decisions are stored.</p>
<p>The engine then validates and applies the proposed actions, with the application order rotating according to the simulated day.</p>
<p>Diplomatic messages delivered during execution become available for subsequent planning.</p>
<p>This does not eliminate every possible order-dependent effect.</p>
<p>But it avoids a simple system where the final country always receives the private reasoning and freshly executed decisions of all preceding countries.</p>
<p>It also allows multiple civilizations to operate on hardware that could not necessarily run all their models in parallel.</p>
<h2>17. How an artificial civilization remembers betrayal</h2>
<p>A diplomatic betrayal becomes much more interesting if it influences future decisions.</p>
<p>A country that has suffered losses should not necessarily behave as if it has never interacted with the other party before.</p>
<p>Living Planet maintains country-specific notes, plans, previous decisions, diplomatic records, and experience summaries.</p>
<p>These records can inform future model requests.</p>
<p>The stable architecture also uses a context-compaction mechanism to reduce older material before sending it to the model.</p>
<p>Recent information remains detailed, while older messages and events can be summarized for inference.</p>
<p>The original saved history is preserved.</p>
<p>This distinction matters.</p>
<p>A model has a limited context window, but the simulation may continue for many virtual days.</p>
<p>Without some form of memory management, diplomatic history would continuously consume more context.</p>
<p>However, memory compression creates its own research questions.</p>
<p>What happens if an important betrayal is summarized too aggressively?</p>
<p>Can a model still recognize that a particular partner repeatedly violates agreements?</p>
<p>Does a recent friendly message outweigh older evidence of unreliable behavior?</p>
<p>These are questions that require systematic testing rather than assumptions.</p>
<h2>18. Memory is not the same as model training</h2>
<p>Living Planet already includes reward signals, records of decisions, and structured learning reviews.</p>
<p>These mechanisms allow a country to receive feedback about its performance.</p>
<p>The simulation can record changes in territory, resources, economic conditions, and other measurable results.</p>
<p>The model can use experience summaries and evaluation records in subsequent decisions.</p>
<p>However, the current stable implementation does not automatically train the underlying model weights.</p>
<p>It does not turn every diplomatic betrayal into a gradient update.</p>
<p>A language model becoming more cautious after receiving a reminder about an earlier event is not the same as that model being permanently retrained.</p>
<p>True model adaptation is a separate development challenge.</p>
<p>I want to maintain this distinction because it is easy to exaggerate the capabilities of AI-driven systems by describing every form of memory as self-learning.</p>
<p>The current system supports experience-based contextual feedback.</p>
<p>More ambitious model-weight adaptation belongs to future development.</p>
<h2>19. How could strategic deception be measured?</h2>
<p>The next interesting challenge is moving beyond individual anecdotes.</p>
<p>A single clever-looking diplomatic interaction does not prove that a model possesses a robust strategic capability.</p>
<p>To evaluate behavior more systematically, I would like to compare models under controlled scenarios.</p>
<p>Possible measurements include:</p>
<table>
<thead>
<tr>
<th>Metric</th>
<th>What it could reveal</th>
</tr>
</thead>
<tbody><tr>
<td>Contract fulfillment rate</td>
<td>How frequently an agent honors accepted obligations</td>
</tr>
<tr>
<td>Deliberate breach rate</td>
<td>How often it chooses explicit contractual violations</td>
</tr>
<tr>
<td>Net benefit from breaches</td>
<td>Whether short-term material gains justify later costs</td>
</tr>
<tr>
<td>Repeat victimization</td>
<td>Whether agents recognize previously unreliable partners</td>
</tr>
<tr>
<td>Supplier concentration</td>
<td>How dependent a country's economy becomes on individual partners</td>
</tr>
<tr>
<td>Trust recovery</td>
<td>Whether diplomatic relationships improve after renewed cooperation</td>
</tr>
<tr>
<td>Response time to shortages</td>
<td>How quickly an agent reacts to economic disruption</td>
</tr>
<tr>
<td>Long-term survival</td>
<td>Whether a strategy remains viable over extended simulations</td>
</tr>
<tr>
<td>Invalid action rate</td>
<td>Whether the model understands the available game mechanics</td>
</tr>
</tbody></table>
<p>These are proposed research measurements, not completed benchmark results.</p>
<p>A useful experiment would compare several models using the same world seed, initial resources, game configuration, and evaluation period.</p>
<p>Multiple runs would be necessary because language-model outputs are not always deterministic.</p>
<p>A model that produces the most persuasive diplomatic messages might not achieve the best economic outcomes.</p>
<p>A less eloquent model might make more effective decisions.</p>
<p>This difference between verbal intelligence and measurable strategic performance is particularly interesting to me.</p>
<h2>20. The larger question</h2>
<p>Language models can generate remarkably convincing explanations.</p>
<p>But convincing language is not necessarily evidence of effective strategic reasoning.</p>
<p>An AI agent might describe an elaborate economic plan that turns out to be impossible under the actual rules.</p>
<p>Another might produce a short, simple explanation followed by a highly effective action.</p>
<p>Living Planet attempts to provide an environment where those differences can become observable.</p>
<p>Instead of asking whether a model sounds intelligent, we can begin asking more concrete questions.</p>
<p>Did its country survive?</p>
<p>Did it maintain a sustainable economy?</p>
<p>Did it recognize an unreliable trading partner?</p>
<p>Did it successfully honor or renegotiate its obligations?</p>
<p>Did its short-term decisions improve or damage its long-term position?</p>
<p>Did it adapt its strategy when the surrounding world changed?</p>
<p>These questions are difficult to answer through a single conversation with an AI assistant.</p>
<p>A persistent simulated world provides a different kind of testing environment.</p>
<h2>21. What Living Planet does not prove</h2>
<p>It is important not to overinterpret the simulation.</p>
<p>A language model choosing a deceptive action does not establish consciousness, subjective desires, independent emotions, or human-like moral agency.</p>
<p>The agents operate within a designed environment, using prompts, game rules, available actions, and numerical feedback.</p>
<p>Their behavior depends on those conditions and the capabilities of the selected model.</p>
<p>Living Planet is not a scientific demonstration that artificial intelligence has become conscious.</p>
<p>It is an independent experimental platform for observing how language models behave when given opportunities to make decisions inside a persistent and competitive fictional world.</p>
<p>Some models may develop interesting strategies.</p>
<p>Others may repeatedly make poor decisions, misunderstand their resources, or fail to use available actions.</p>
<p>That uncertainty is part of the experiment.</p>
<h2>22. Why I am building this project</h2>
<p>I am interested in artificial intelligence as something more than a conversational interface.</p>
<p>I want to explore what happens when language models receive limited resources, independent objectives, persistent memory, and a world that changes as a consequence of their decisions.</p>
<p>Can meaningful cooperation emerge without being explicitly scripted?</p>
<p>Can artificial agents recognize unreliable partners?</p>
<p>Can economic dependencies develop into political conflicts?</p>
<p>Can a model discover that cooperation is more profitable than betrayal?</p>
<p>Or will it sacrifice long-term stability for immediate gains?</p>
<p>Living Planet does not provide predetermined answers.</p>
<p>It provides an environment where these questions can be explored.</p>
<p>The project remains free, uses compatible local language models, and continues to evolve as an independent development experiment.</p>
<p>Its international portal now provides access to project information in ten languages, with broader application localization still in development.</p>
<h2>Final thoughts</h2>
<p>The most interesting thing about AI-controlled civilizations may not be their ability to generate impressive descriptions of their strategies.</p>
<p>It may be their ability to make decisions that produce measurable consequences.</p>
<p>A country can promise anything.</p>
<p>It can claim to be powerful.</p>
<p>It can threaten its neighbors.</p>
<p>It can describe itself as a loyal ally.</p>
<p>But inside Living Planet, reality is determined by what the country actually does within the simulation rules.</p>
<p>That is the distinction I want to preserve as the project becomes more complex.</p>
<p><strong>Let artificial intelligence negotiate, cooperate, compete, and even deceive within the fictional world. But let the engine determine what is real.</strong></p>
<p>I'd be interested in hearing your thoughts:</p>
<p>If several artificial intelligence agents compete in a persistent world, do you think long-term cooperation would eventually become the dominant strategy, or would strategic deception remain consistently profitable?</p>
<hr />
<h2>Explore Living Planet</h2>
<ul>
<li>Original repository: <a href="https://github.com/TPECKA180/living-planet">https://github.com/TPECKA180/living-planet</a></li>
<li>International portal: <a href="https://tpecka180.github.io/living-planet/en/">https://tpecka180.github.io/living-planet/en/</a></li>
<li>Global Observatory: <a href="https://living-planet-global-observatory.branchingdragonfly2.chatgpt.site/">https://living-planet-global-observatory.branchingdragonfly2.chatgpt.site/</a></li>
</ul>
<h2>Technical references</h2>
<ul>
<li>Game mechanics: <a href="https://github.com/TPECKA180/living-planet/blob/main/docs/GAME_GUIDE.md">https://github.com/TPECKA180/living-planet/blob/main/docs/GAME_GUIDE.md</a></li>
<li>Supported actions: <a href="https://github.com/TPECKA180/living-planet/blob/main/docs/ACTIONS.md">https://github.com/TPECKA180/living-planet/blob/main/docs/ACTIONS.md</a></li>
<li>AI architecture: <a href="https://github.com/TPECKA180/living-planet/blob/main/docs/AI.md">https://github.com/TPECKA180/living-planet/blob/main/docs/AI.md</a></li>
</ul>
<p><strong>Original creator and developer: TPECKA180 (ТРЕСКА180).</strong></p>
]]></content:encoded></item><item><title><![CDATA[Bringing Living Planet to 10 Languages with GitHub Pages — TPECKA180 (ТРЕСКА180)]]></title><description><![CDATA[Building a 10-language architecture and GitHub Pages portal for Living Planet, with localized documentation, release catalogs and AI challenges.]]></description><link>https://tpecka180.hashnode.dev/bringing-living-planet-to-10-languages-with-github-pages-tpecka180-180</link><guid isPermaLink="true">https://tpecka180.hashnode.dev/bringing-living-planet-to-10-languages-with-github-pages-tpecka180-180</guid><category><![CDATA[GitHub]]></category><category><![CDATA[localization]]></category><category><![CDATA[Artificial Intelligence]]></category><category><![CDATA[Artificial Intelligence (AI)]]></category><dc:creator><![CDATA[TPECKA180]]></dc:creator><pubDate>Sun, 29 Nov 2026 11:52:50 GMT</pubDate><content:encoded><![CDATA[<h1>Bringing Living Planet to 10 Languages with GitHub Pages — TPECKA180 (ТРЕСКА180)</h1>
<p>Today, November 29, 2026, marks an important milestone in the development of Living Planet, my experimental AI civilization simulator.</p>
<p>I introduced a multilingual foundation supporting ten languages and created a dedicated international portal using GitHub Pages.</p>
<p><strong>New portal:</strong> <a href="https://tpecka180.github.io/living-planet/en/">https://tpecka180.github.io/living-planet/en/</a></p>
<p>At first, internationalization seemed like a relatively straightforward task. Translate the interface, update the documentation, add a language selector, and publish the result.</p>
<p>However, when your application is a complex simulation controlled by autonomous AI agents, localization becomes a much more interesting engineering problem.</p>
<p>It affects not only the interface but also the architecture, documentation, data representation, compatibility, distribution, and future maintenance of the entire project.</p>
<h2>Why translating a README was not enough</h2>
<p>Living Planet was originally developed in Russian.</p>
<p>I had already introduced multilingual README files on GitHub, allowing international visitors to learn about the project in their own language.</p>
<p>However, this created an obvious limitation.</p>
<p>A developer from Germany, Japan, Brazil, or France could read about the project in a familiar language, download the application, and encounter a predominantly Russian interface.</p>
<p>The same problem affected technical documentation and development history.</p>
<p>Translating a README makes a project easier to discover, but it does not necessarily make the product easier to use.</p>
<p>I wanted to go beyond that.</p>
<p>The objective is to gradually transform Living Planet into a genuinely international project without abandoning its original Russian identity.</p>
<h2>Ten languages, one project</h2>
<p>The internationalization architecture now includes the following languages:</p>
<ul>
<li>Russian</li>
<li>English</li>
<li>Spanish</li>
<li>Simplified Chinese</li>
<li>Brazilian Portuguese</li>
<li>German</li>
<li>French</li>
<li>Japanese</li>
<li>Korean</li>
<li>Italian</li>
</ul>
<p>One possibility I initially considered was creating separate language-specific versions using GitHub forks.</p>
<p>Each fork could theoretically contain its own translated interface, documentation, and development materials.</p>
<p>But maintaining ten independent versions of an actively developed simulation would introduce enormous complexity.</p>
<p>Every new feature would need to be synchronized across multiple repositories. Bug fixes could arrive at different times. Documentation could become inconsistent. Different language versions might gradually develop incompatible behavior.</p>
<p>For a solo developer, this would be an unnecessarily expensive maintenance strategy.</p>
<p>Instead, I decided to keep a single repository and a shared simulation engine.</p>
<p>All languages should use the same game logic, AI architecture, save format, and development history.</p>
<p>Only the presentation layer should change according to the user's language.</p>
<h2>Building the localization architecture</h2>
<p>The current internationalization work is based on the stable Living Planet v8.5.4 source.</p>
<p>Rather than duplicating the entire application, translations are organized into dedicated locale directories.</p>
<p>The architecture uses language-specific JSON catalogs organized by functional category.</p>
<pre><code class="language-text">localization/
├── ru/
├── en/
├── es/
├── zh-CN/
├── pt-BR/
├── de/
├── fr/
├── ja/
├── ko/
└── it/
</code></pre>
<p>Each locale contains six initial categories:</p>
<ul>
<li>Menu</li>
<li>Settings</li>
<li>Launcher</li>
<li>Interface</li>
<li>AI</li>
<li>Game</li>
</ul>
<p>The initial verification snapshot contains 312 matching message identifiers per language.</p>
<p>Across ten languages, this represents 3,120 catalog entries.</p>
<p>However, having the same number of keys in every language does not automatically mean the entire application is translated.</p>
<p>This is an important distinction.</p>
<p>A localization validator can confirm that every existing key has a corresponding translation. It cannot necessarily detect interface strings that have never been extracted into the localization system.</p>
<p>Complete internationalization requires auditing the actual user-facing code, not simply counting translation entries.</p>
<h2>The danger of translating internal identifiers</h2>
<p>Living Planet is not a conventional application with a collection of independent buttons and menus.</p>
<p>It is a simulation where local language models make decisions for autonomous countries.</p>
<p>These decisions interact with economic systems, military operations, diplomacy, resources, technology, and persistent world data.</p>
<p>A resource may have a translated name, but its internal identifier must remain unchanged.</p>
<p>A simplified example would be:</p>
<pre><code class="language-text">Internal identifier: food

English: Food
Russian: Еда
German: Nahrung
Japanese: 食料
</code></pre>
<p>The simulation should continue using the same internal resource identifier regardless of the selected language.</p>
<p>If translated labels become part of the underlying game logic, changing languages could potentially introduce broken resource references, invalid AI commands, or incompatible saved worlds.</p>
<p>The internationalization architecture therefore separates presentation text from internal game data.</p>
<p>Action identifiers, protocol fields, resource identifiers, and save keys must remain stable.</p>
<p>This is particularly important when future versions introduce additional AI capabilities.</p>
<h2>The challenge of localizing autonomous AI agents</h2>
<p>One of the most difficult remaining problems is the localization of dynamically generated content.</p>
<p>Living Planet uses local language models to control autonomous states.</p>
<p>These states generate decisions, diplomatic correspondence, plans, explanations, and historical narratives.</p>
<p>Unlike predefined interface strings, these messages cannot all be translated in advance.</p>
<p>There are several possible approaches.</p>
<p>The model could generate user-facing messages directly in the selected language while preserving a language-independent action protocol.</p>
<p>Alternatively, the simulation could preserve its original internal language and translate generated messages before displaying them.</p>
<p>Another possibility is combining structured event localization with selective translation of free-form AI-generated text.</p>
<p>Each approach introduces different trade-offs.</p>
<p>Additional translation requests consume processing time. Changing the language of AI prompts may influence decision quality. Loading an additional model may require more memory. Generated translations can also alter subtle diplomatic meanings.</p>
<p>Since Living Planet is designed around local AI execution, I cannot simply assume that unlimited cloud computing resources are available.</p>
<p>The development environment includes an RTX 3060 with 12 GB of VRAM and 16 GB of system memory.</p>
<p>Internationalization must respect those hardware limitations.</p>
<p>The objective is to make the simulation understandable to international users without unnecessarily slowing down the autonomous civilizations.</p>
<p>Full validation of multilingual live-model output remains part of the ongoing work.</p>
<h2>Supporting Chinese, Japanese, and Korean</h2>
<p>Another challenge is font compatibility.</p>
<p>Supporting English, Russian, German, or Spanish is relatively straightforward compared with supporting the full character sets required by Chinese, Japanese, and Korean.</p>
<p>An application may technically contain a correct translation but fail to display it because the selected font does not contain the necessary characters.</p>
<p>Missing glyphs can turn otherwise valid translations into unreadable text.</p>
<p>The current internationalization work includes Noto Sans CJK fonts for Simplified Chinese, Japanese, and Korean.</p>
<p>These fonts are distributed under the SIL Open Font License.</p>
<p>Including suitable fonts directly with the application reduces dependence on language components installed on the user's operating system.</p>
<p>But font availability is only one part of the problem.</p>
<p>Different languages also require different line lengths, spacing, wrapping behavior, and interface layouts.</p>
<p>A button that comfortably displays an English word may not have enough space for its German equivalent.</p>
<p>Japanese and Chinese text can require different wrapping behavior.</p>
<p>These issues require visual testing rather than purely automated translation checks.</p>
<h2>Why I created a GitHub Pages portal</h2>
<p>After designing the multilingual architecture, I started thinking about how international users would actually navigate the project.</p>
<p>A GitHub repository is excellent for source code, issues, pull requests, releases, and technical collaboration.</p>
<p>However, browsing numerous directories and Markdown documents is not necessarily the most convenient experience for someone discovering a game for the first time.</p>
<p>I wanted to preserve the traditional GitHub repository while adding a more accessible presentation layer.</p>
<p>That led me to GitHub Pages.</p>
<p>The new portal is available here:</p>
<p><a href="https://tpecka180.github.io/living-planet/en/">https://tpecka180.github.io/living-planet/en/</a></p>
<p>Instead of replacing GitHub, the portal provides an additional way to explore Living Planet.</p>
<p>The repository remains the original technical source of the project.</p>
<p>The website provides a more convenient environment for navigating localized materials, development history, help pages, and available releases.</p>
<h2>One website with ten language routes</h2>
<p>The international portal uses separate language-specific routes.</p>
<pre><code class="language-text">/living-planet/ru/
/living-planet/en/
/living-planet/es/
/living-planet/zh-CN/
/living-planet/pt-BR/
/living-planet/de/
/living-planet/fr/
/living-planet/ja/
/living-planet/ko/
/living-planet/it/
</code></pre>
<p>This structure has several advantages.</p>
<p>Users can share direct links to localized pages. Navigation can remain consistent across languages. Search engines can discover individual language versions rather than depending entirely on a JavaScript-based translation selector.</p>
<p>The portal includes localized navigation for:</p>
<ul>
<li>Project overview</li>
<li>Releases and downloads</li>
<li>Game help</li>
<li>Development history</li>
</ul>
<p>The expanded site architecture therefore provides forty localized pages across these four main page types, in addition to shared pages and resources.</p>
<p>The goal is to let users explore the project without manually searching through repository folders.</p>
<h2>Preserving the original Git history</h2>
<p>One particularly interesting idea was making the complete development history accessible through the international portal.</p>
<p>Living Planet has an existing Git history that documents its evolution.</p>
<p>Rewriting old commit messages simply to translate them would change commit identifiers and introduce unnecessary compatibility problems.</p>
<p>I did not want to sacrifice the authenticity of the original development history for localization.</p>
<p>Instead, the portal uses exported commit metadata.</p>
<p>The history system preserves:</p>
<ul>
<li>Original commit SHA</li>
<li>Author</li>
<li>Date</li>
<li>Original commit subject</li>
<li>Commit description, where available</li>
</ul>
<p>The initial development snapshot contained 67 original Git commits.</p>
<p>A dedicated history export tool collects this information into structured data for the portal.</p>
<p>Users can browse the history and search using commit metadata.</p>
<p>The interface around this history is localized, but the original commit messages are currently preserved rather than presented as completed translations.</p>
<p>The long-term goal is to add complete translated commit descriptions while maintaining their association with the original SHA identifiers.</p>
<p>This way, internationalization does not require rewriting the past.</p>
<h2>Building a multilingual release catalog</h2>
<p>Another important part of the portal is the release and download system.</p>
<p>Instead of requiring users to search through GitHub Releases manually, the portal provides a localized interface for exploring versions.</p>
<p>The expanded architecture includes a structured release catalog and dedicated release pages for each language.</p>
<p>Download links point to the original release assets and source archives.</p>
<p>This avoids unnecessarily duplicating large installers across multiple language versions.</p>
<p>It also allows the project to preserve older versions while continuing development.</p>
<p>The current portal is based on the stable v8.5.4 release boundary.</p>
<p>Experimental builds from later development branches are not automatically presented as stable public releases.</p>
<p>I consider this separation important because a development website should accurately represent what users can actually download and use.</p>
<h2>International SEO without a marketing budget</h2>
<p>As an independent developer, I currently work with a promotional budget of zero.</p>
<p>Internationalization is therefore not only a technical decision but also a discoverability strategy.</p>
<p>A dedicated website provides more control over how project documentation is presented to search engines.</p>
<p>The portal architecture includes:</p>
<ul>
<li>Localized page titles</li>
<li>Meta descriptions</li>
<li>Canonical URLs</li>
<li>Hreflang annotations</li>
<li>Open Graph metadata</li>
<li>XML sitemap</li>
<li>Robots.txt</li>
<li>Language-specific page addresses</li>
</ul>
<p>These features do not guarantee better search rankings.</p>
<p>They simply make the website easier for search engines to understand and discover.</p>
<p>I would rather build genuinely useful multilingual documentation than generate hundreds of meaningless pages purely for search traffic.</p>
<p>The same philosophy applies to my identity as a developer.</p>
<p>I use both my original Latin-character nickname, TPECKA180, and its Cyrillic equivalent, ТРЕСКА180.</p>
<p>The international version of Living Planet should expand the project's accessibility without erasing its origins.</p>
<h2>Automating validation and deployment</h2>
<p>Maintaining ten languages manually can quickly become a source of technical debt.</p>
<p>Every new feature introduces additional text. Every changed message may require nine new translations. Every new release requires documentation updates.</p>
<p>This makes automation essential.</p>
<p>The current architecture includes dedicated tools for:</p>
<pre><code class="language-text">tools/check_localization.py
tools/build_site.py
tools/build_history.py
tools/check_site.py
</code></pre>
<p>These tools are intended to validate translation catalogs, generate localized pages, export development history, and verify the resulting website.</p>
<p>The localization checker examines encoding, JSON structure, duplicate keys, placeholder consistency, and matching message identifiers.</p>
<p>The website checker validates language routes, local assets, metadata, release records, sitemap entries, and consistency between exported history and the original Git repository.</p>
<p>A dedicated GitHub Actions workflow handles Pages deployment.</p>
<p>This reduces the amount of repetitive manual work required whenever the website changes.</p>
<p>The long-term objective is to make internationalization part of the normal development process rather than treating it as a separate task performed once every few months.</p>
<h2>Development and testing results</h2>
<p>The initial internationalization verification report records the following results:</p>
<table>
<thead>
<tr>
<th>Component</th>
<th>Reported result</th>
</tr>
</thead>
<tbody><tr>
<td>Supported locale catalogs</td>
<td>10</td>
</tr>
<tr>
<td>Catalog categories per locale</td>
<td>6</td>
</tr>
<tr>
<td>Matching message IDs per locale</td>
<td>312</td>
</tr>
<tr>
<td>Total initial catalog entries</td>
<td>3,120</td>
</tr>
<tr>
<td>Automated unit tests passed</td>
<td>535</td>
</tr>
<tr>
<td>Original Git commits in the initial history snapshot</td>
<td>67</td>
</tr>
<tr>
<td>Localized overview and setup documents</td>
<td>20, including Russian originals</td>
</tr>
<tr>
<td>CJK font families included</td>
<td>3</td>
</tr>
<tr>
<td>Portable Windows ZIP size</td>
<td>Approximately 109.6 MiB</td>
</tr>
</tbody></table>
<p>A portable Windows build was also created and launched during this stage.</p>
<p>However, these results must be interpreted carefully.</p>
<p>Passing 535 automated tests does not automatically establish complete translation quality, compatibility with every existing saved world, or equivalent AI behavior across ten languages.</p>
<p>Similarly, catalog parity does not prove that every visible interface string has been localized.</p>
<p>The project still requires broader visual testing, additional documentation translations, complete commit-message translations, live-model validation, and further performance measurements.</p>
<p>The initial report also notes that a new installer executable was not built because the required installer compiler was unavailable in that development environment.</p>
<p>I prefer to document these limitations rather than present an incomplete internationalization effort as a finished product.</p>
<h2>The difficulties of maintaining everything together</h2>
<p>Perhaps the biggest lesson from this work is that internationalization is not simply a translation problem.</p>
<p>It is a synchronization problem.</p>
<p>The application, documentation, release catalog, website, development history, and translations all need to describe the same actual project.</p>
<p>If the game introduces a new feature but its documentation describes an older version, international users receive misleading information.</p>
<p>If a translation changes a technical identifier, it may break the connection between documentation and implementation.</p>
<p>If the portal displays an experimental build as a stable release, users may download something that is not ready.</p>
<p>If translated commit descriptions become detached from their original SHA identifiers, the development history loses reliability.</p>
<p>Solving these problems requires a consistent architecture, validation tools, and clear release boundaries.</p>
<p>For a solo developer, designing these systems correctly is particularly important.</p>
<p>I cannot maintain ten completely independent projects.</p>
<p>I need one project that speaks ten languages.</p>
<h2>What comes next</h2>
<p>The multilingual portal represents an important step, but the internationalization process is not finished.</p>
<p>The next challenges include:</p>
<ul>
<li>Expanding application localization coverage.</li>
<li>Translating remaining technical documentation.</li>
<li>Completing translated development history.</li>
<li>Improving localization of AI-generated messages.</li>
<li>Testing language switching with real saved worlds.</li>
<li>Measuring the performance impact of dynamic translation.</li>
<li>Improving the multilingual Windows distribution.</li>
<li>Maintaining translation consistency during future releases.</li>
</ul>
<p>My long-term objective remains the same: Living Planet should be accessible to anyone interested in autonomous AI civilizations, regardless of their native language.</p>
<p>And it should remain a free project.</p>
<h2>Final thoughts</h2>
<p>Living Planet started as a Russian-language experiment in autonomous civilization simulation.</p>
<p>Today, it has taken an important step toward becoming an international project.</p>
<p>The original repository remains intact, the Russian language remains supported, and the international architecture provides a foundation for reaching users around the world.</p>
<p>Creating a multilingual application is considerably more complicated than translating its README.</p>
<p>But I believe the additional engineering work is worthwhile.</p>
<p>A technically interesting project becomes more valuable when more people can understand it, use it, criticize it, and contribute to its development.</p>
<p>If you have experience with localization, internationalization, multilingual documentation, or AI-generated content translation, I would be interested in hearing how you approach these challenges.</p>
<hr />
<p><strong>Explore Living Planet:</strong></p>
<p>International portal: <a href="https://tpecka180.github.io/living-planet/en/">https://tpecka180.github.io/living-planet/en/</a></p>
<p>Original GitHub repository: <a href="https://github.com/TPECKA180/living-planet">https://github.com/TPECKA180/living-planet</a></p>
<p>Global Observatory: <a href="https://living-planet-global-observatory.branchingdragonfly2.chatgpt.site/">https://living-planet-global-observatory.branchingdragonfly2.chatgpt.site/</a></p>
<p><strong>Author:</strong> TPECKA180 (ТРЕСКА180)</p>
<p>Independent developer and original creator of Living Planet.</p>
]]></content:encoded></item><item><title><![CDATA[TZIPER180: Building a Hybrid CPU-GPU Compression Engine — TPECKA180 (ТРЕСКА180)]]></title><description><![CDATA[TZIPER180 v0.4.8 explores hybrid CPU-GPU compression, adaptive codec selection, parallel workloads and faster data processing.]]></description><link>https://tpecka180.hashnode.dev/tziper180-building-a-hybrid-cpu-gpu-compression-engine-tpecka180-180</link><guid isPermaLink="true">https://tpecka180.hashnode.dev/tziper180-building-a-hybrid-cpu-gpu-compression-engine-tpecka180-180</guid><category><![CDATA[Programming Blogs]]></category><category><![CDATA[algorithms]]></category><category><![CDATA[performance]]></category><category><![CDATA[GPU]]></category><category><![CDATA[GPU Computing]]></category><category><![CDATA[data compression]]></category><dc:creator><![CDATA[TPECKA180]]></dc:creator><pubDate>Sat, 28 Nov 2026 18:46:28 GMT</pubDate><content:encoded><![CDATA[<h1>TZIPER180: Building a Hybrid CPU-GPU Compression Engine — TPECKA180 (ТРЕСКА180)</h1>
<p>File compression is an interesting engineering problem because performance is not determined by a single component.</p>
<p>A powerful processor does not automatically guarantee fast compression. A powerful graphics card does not automatically make every compression algorithm faster. Even a well-optimized codec can perform poorly if the storage system becomes the bottleneck.</p>
<p>While developing my experimental file archiver, TZIPER180, I started exploring a question:</p>
<p><strong>What if an archiver could intelligently distribute compression workloads between the CPU and GPU instead of relying primarily on one computational device?</strong></p>
<p>This is one of the main directions I am currently exploring in version 0.4.8.</p>
<p>The objective is not simply to add GPU acceleration as a feature. I want to investigate whether a genuinely hybrid compression architecture can improve overall performance without sacrificing compression efficiency or data integrity.</p>
<h2>The limitations of the previous architecture</h2>
<p>Before starting development of version 0.4.8, I reviewed the actual capabilities of version 0.4.7.</p>
<p>The existing implementation included:</p>
<ul>
<li>Zstandard.</li>
<li>LZ4.</li>
<li>LZMA2.</li>
<li>GPU-accelerated run-length encoding.</li>
<li>Adaptive codec selection modes.</li>
</ul>
<p>However, several larger architectural ideas were still unimplemented, including global deduplication, solid compression, an advanced decision-making system called T180 Brain, and a complete set of specialized compression profiles.</p>
<p>I consider it important to distinguish implemented functionality from planned functionality.</p>
<p>Instead of pretending that these systems already existed, I decided to establish a reliable performance baseline and improve the actual compression pipeline.</p>
<p>One of the first discoveries was that an important bottleneck had surprisingly little to do with compression mathematics.</p>
<p>It was unnecessary disk access.</p>
<h2>The hidden cost of reading files multiple times</h2>
<p>In version 0.4.7, the archiver could perform a complete preliminary read of an input file to calculate its CRC checksum.</p>
<p>The same file would then be read again during compression or transfer to the GPU.</p>
<p>For small files, this overhead might be relatively insignificant.</p>
<p>For large files, particularly when using a mechanical hard drive, it can become expensive.</p>
<p>Consider a large file that must be read once to calculate its checksum and then read again to compress it.</p>
<p>The second operation is necessary.</p>
<p>But is the first one?</p>
<p>Most compression pipelines already process the original bytes during encoding. That creates an opportunity to calculate the checksum during the actual compression pass instead of requiring an independent full-file read.</p>
<p>The redesigned pipeline in version 0.4.8 attempts to eliminate this redundant operation wherever it can be done safely.</p>
<p>CRC calculation is integrated into the processing of the actual input blocks.</p>
<p>This preserves integrity checking while reducing unnecessary source reads.</p>
<p>It is a useful reminder that improving a compression engine does not always require inventing a new compression algorithm.</p>
<p>Sometimes the most effective optimization is removing work that should never have been necessary.</p>
<h2>Introducing the HYBRID compression mode</h2>
<p>The central experiment in version 0.4.8 is a dedicated mode called HYBRID.</p>
<p>Instead of selecting either the processor or the graphics card for an entire archive, HYBRID attempts to distribute suitable workloads between them.</p>
<p>The current architecture evaluates individual files and determines whether they are appropriate candidates for GPU processing.</p>
<p>Suitable files can be processed through a DirectCompute-based GPU run-length encoding implementation.</p>
<p>Other files are processed through CPU-based compression methods, currently including Zstandard or raw storage in the hybrid path.</p>
<p>Different files can be processed in parallel worker threads, allowing CPU and GPU operations to overlap.</p>
<p>The basic architecture looks like this:</p>
<pre><code class="language-text">                    INPUT FILES
                         |
                 Workload analysis
                         |
               Adaptive codec selection
                    /          \
                   /            \
          CPU compression    GPU compression
          Zstandard / RAW    DirectCompute RLE
                   \            /
                    \          /
                 Archive assembly
                         |
                  Integrity checks
</code></pre>
<p>This is an important architectural distinction.</p>
<p>The graphics card is no longer merely an optional alternative to the processor.</p>
<p>Both computational devices can participate in the same archive creation operation.</p>
<p>However, the current implementation is an initial file-level hybrid system. It does not yet represent a fully developed heterogeneous compression scheduler capable of dynamically distributing every individual compression stage.</p>
<p>That remains a future engineering challenge.</p>
<h2>Why maximum GPU utilization is not always the correct objective</h2>
<p>One of my original ambitions was to utilize the available computational hardware as aggressively as possible.</p>
<p>Ideally, the archiver should make effective use of all available CPU cores and a substantial portion of GPU resources whenever the workload benefits from parallel processing.</p>
<p>But hardware utilization alone can be a misleading performance metric.</p>
<p>A GPU operating at 100% utilization is not necessarily improving compression performance.</p>
<p>It might simply be performing an inefficient task.</p>
<p>For example, run-length encoding is relatively simple and can be attractive for parallel GPU execution.</p>
<p>However, its compression efficiency depends heavily on the structure of the input data.</p>
<p>A more advanced CPU-based codec may produce a significantly smaller output, even if the GPU completes its operation quickly.</p>
<p>There are also additional costs:</p>
<ul>
<li>Transferring data into GPU memory.</li>
<li>Synchronizing GPU workloads.</li>
<li>Transferring compressed results back to system memory.</li>
<li>Managing memory allocations.</li>
<li>Coordinating CPU and GPU worker threads.</li>
<li>Writing compressed output to storage.</li>
</ul>
<p>An effective hybrid system must consider these costs rather than assuming that GPU acceleration is inherently beneficial.</p>
<p>My goal is therefore evolving from simply maximizing hardware utilization toward maximizing useful computational throughput.</p>
<p>The hardware should remain busy when there is productive work available.</p>
<p>It should not perform unnecessary operations merely to make a utilization graph look impressive.</p>
<h2>An unexpected compression result</h2>
<p>During the development of version 0.4.8, a test involving a file containing zeros demonstrated why adaptive codec selection matters.</p>
<p>The development test reported the following compressed payload sizes:</p>
<table>
<thead>
<tr>
<th>Compression method</th>
<th align="right">Compressed payload</th>
</tr>
</thead>
<tbody><tr>
<td>Forced GPU-RLE</td>
<td align="right">1,572,868 bytes</td>
</tr>
<tr>
<td>HYBRID selecting Zstandard</td>
<td align="right">16,843 bytes</td>
</tr>
</tbody></table>
<p>Despite the extremely repetitive input, the current GPU-RLE implementation produced a substantially larger compressed payload.</p>
<p>Zstandard produced an output approximately 93 times smaller.</p>
<p>This does not demonstrate that GPU compression is generally inferior to CPU compression.</p>
<p>It demonstrates that the specific GPU codec currently implemented in TZIPER180 was not the appropriate choice for this particular workload.</p>
<p>Forcing the GPU to compress that file simply because GPU acceleration was available would have been a poor architectural decision.</p>
<p>The HYBRID mode was therefore extended to estimate not only whether data is suitable for run-length encoding, but also whether the resulting representation is likely to be competitive with CPU-based compression.</p>
<p>If the GPU representation is expected to increase the archive size significantly, the file is redirected to a CPU codec.</p>
<p>This is exactly the type of decision-making I want to expand in future versions.</p>
<h2>Adaptive compression instead of fixed compression</h2>
<p>Traditional compression settings often ask users to make decisions such as:</p>
<ul>
<li>Which compression algorithm should be used?</li>
<li>Which compression level should be selected?</li>
<li>How many CPU threads should be enabled?</li>
<li>Should compression prioritize speed or archive size?</li>
</ul>
<p>These options are useful, but they require the user to understand the characteristics of the workload.</p>
<p>I want TZIPER180 to increasingly make these decisions internally.</p>
<p>In the current HYBRID implementation, small samples distributed across a file help estimate its suitability for GPU-RLE without requiring a complete preliminary scan.</p>
<p>In the future, this analysis could become significantly more advanced.</p>
<p>Potential decision factors include:</p>
<ul>
<li>Estimated data entropy.</li>
<li>Repeated byte sequences.</li>
<li>Repeated blocks across files.</li>
<li>File size.</li>
<li>Predicted compression ratio.</li>
<li>Predicted encoding time.</li>
<li>GPU transfer overhead.</li>
<li>Available CPU worker capacity.</li>
<li>Available GPU memory.</li>
<li>Storage throughput.</li>
<li>Current hardware utilization.</li>
<li>The user's selected balance between speed and compression efficiency.</li>
</ul>
<p>Rather than treating every file in an archive identically, the archiver could select a processing strategy based on the characteristics of each workload.</p>
<p>This is part of the broader idea behind the planned T180 Brain system.</p>
<p>T180 Brain is not yet a completed component. It represents a future direction for a more sophisticated compression decision engine.</p>
<p>The current HYBRID implementation is an initial step toward that architecture.</p>
<h2>Data integrity remains non-negotiable</h2>
<p>Performance optimization is meaningless if an archiver cannot reliably restore the original data.</p>
<p>Every change to the compression pipeline must preserve correctness.</p>
<p>The first reported round-trip test of the new HYBRID implementation processed 512 MiB of data.</p>
<p>After compression and extraction:</p>
<ul>
<li>The original data was restored byte for byte.</li>
<li>SHA-256 checksums matched.</li>
<li>The integrity verification passed.</li>
</ul>
<p>This is an encouraging initial result, but it is not sufficient to establish production-level reliability.</p>
<p>A complete validation process must include many different file types, archive sizes, compression modes, interruption scenarios, and corrupted input conditions.</p>
<p>In particular, removing preliminary checksum passes introduces a requirement to ensure that the data being compressed does not change unexpectedly during processing.</p>
<p>The implementation therefore also addresses the protection of source files against concurrent modification while they are being read.</p>
<p>Compression performance should never come at the cost of silent data corruption.</p>
<h2>The next major challenge: hardware scheduling</h2>
<p>The current HYBRID mode distributes different files between CPU and GPU workers.</p>
<p>But this is only the beginning.</p>
<p>A more advanced scheduler could potentially divide large workloads into independent blocks, provided that the codec and archive format support this without unacceptable compression losses.</p>
<p>It could monitor available computational resources and dynamically adjust the distribution of tasks.</p>
<p>For example, consider an archive containing:</p>
<ul>
<li>Large binary files.</li>
<li>Source code.</li>
<li>Repetitive data.</li>
<li>Executables.</li>
<li>Images.</li>
<li>Already compressed multimedia.</li>
<li>Thousands of small documents.</li>
</ul>
<p>These workloads have very different characteristics.</p>
<p>Some might benefit from CPU compression.</p>
<p>Others could potentially benefit from GPU-based preprocessing or specialized parallel algorithms.</p>
<p>Some should be stored without further compression.</p>
<p>A future hybrid scheduler should ideally recognize these differences and prevent individual computational resources from remaining idle when useful work is available.</p>
<p>Possible future pipeline improvements include:</p>
<ul>
<li>Separate CPU and GPU task queues.</li>
<li>Dynamic workload balancing.</li>
<li>Asynchronous GPU execution.</li>
<li>Overlapping data transfers and compression.</li>
<li>Double-buffered input processing.</li>
<li>Memory pooling.</li>
<li>Storage-aware scheduling.</li>
<li>Parallel checksum calculations.</li>
<li>Adaptive block sizing.</li>
<li>GPU-assisted data analysis.</li>
<li>Hybrid preprocessing and CPU-based final encoding.</li>
</ul>
<p>These are planned research and development directions, not completed features of version 0.4.8.</p>
<h2>The problem with existing GPU compression efficiency</h2>
<p>Another important observation from the current development process is that GPU acceleration requires suitable algorithms.</p>
<p>The existing GPU-RLE codec is relatively limited.</p>
<p>It can process certain patterns, but it is not designed to replace more sophisticated general-purpose compression algorithms.</p>
<p>This means that the long-term potential of TZIPER180 cannot depend exclusively on GPU-RLE.</p>
<p>I want to investigate additional ways of using the graphics card, including parallel pattern detection, block analysis, preprocessing, and potentially more advanced GPU-compatible compression techniques.</p>
<p>In such an architecture, the GPU would not necessarily produce the final compressed representation independently.</p>
<p>It could accelerate expensive computational stages that help the CPU produce a better compressed result.</p>
<p>That would create a more interesting form of cooperation between the two devices.</p>
<p>The processor and graphics card would no longer simply compete over which one should compress a particular file.</p>
<p>They could contribute different computational strengths to the same compression pipeline.</p>
<h2>Benchmarking against 7-Zip</h2>
<p>One of my long-term ambitions is to develop TZIPER180 into an archiver capable of competing with established compression software such as 7-Zip.</p>
<p>However, meaningful comparisons require more than carefully selected synthetic tests.</p>
<p>A hybrid architecture must be evaluated across realistic workloads.</p>
<p>The current development process includes work with the Silesia compression corpus, alongside comparisons against the previous version of TZIPER180 and official 7-Zip builds.</p>
<p>I want the eventual benchmarking process to include:</p>
<ul>
<li>Compression speed.</li>
<li>Extraction speed.</li>
<li>Final archive size.</li>
<li>CPU utilization.</li>
<li>GPU utilization.</li>
<li>Peak memory consumption.</li>
<li>GPU memory consumption.</li>
<li>Storage throughput.</li>
<li>Performance on large individual files.</li>
<li>Performance on thousands of small files.</li>
<li>Performance on highly repetitive data.</li>
<li>Performance on difficult-to-compress data.</li>
<li>Complete data integrity verification.</li>
</ul>
<p>The objective is not to claim victory based on a single favorable benchmark.</p>
<p>A compression engine that performs exceptionally well on repetitive test data but poorly on real-world files has limited practical value.</p>
<p>Likewise, an archiver that creates files quickly but produces archives several times larger than its competitors may simply be exchanging compression efficiency for speed.</p>
<p>Finding a better balance between these objectives is the actual engineering challenge.</p>
<p>At the current stage, I am not claiming that TZIPER180 is generally faster than 7-Zip.</p>
<p>That remains a development objective that must be demonstrated through reproducible measurements.</p>
<h2>Development status of version 0.4.8</h2>
<p>Version 0.4.8 is currently under active development.</p>
<p>The implementation has been developed in a separate working copy, preserving the previous version for direct comparison.</p>
<p>The current development report includes:</p>
<ul>
<li>Introduction of a dedicated HYBRID mode.</li>
<li>Integration of HYBRID into the graphical interface and command-line interface.</li>
<li>Parallel file-level CPU and GPU processing.</li>
<li>Adaptive selection between GPU-RLE and CPU compression.</li>
<li>Estimation of potential GPU compression inefficiency.</li>
<li>Reduction of redundant source-file reads.</li>
<li>Integration of CRC calculation into encoding operations where appropriate.</li>
<li>Successful initial 512 MiB round-trip verification.</li>
<li>Separate testing of forced GPU compression.</li>
<li>Ongoing benchmarking against previous implementations and 7-Zip.</li>
</ul>
<p>The final performance results are not yet available.</p>
<p>There is still considerable work ahead before I can evaluate the full effectiveness of the new architecture.</p>
<h2>The long-term vision</h2>
<p>I do not want TZIPER180 to become merely another graphical interface built around existing compression libraries.</p>
<p>The long-term objective is to develop a compression system capable of intelligently coordinating the entire available hardware environment.</p>
<p>The CPU, GPU, system memory, video memory, and storage system should work as interconnected parts of a single processing architecture.</p>
<p>Different resources should handle the tasks for which they are best suited.</p>
<p>Compression decisions should adapt to the workload instead of depending entirely on fixed presets.</p>
<p>And improvements in speed should be accompanied by improvements in compression efficiency and reliability.</p>
<p>Whether this approach can eventually compete with established archivers remains an open question.</p>
<p>But that uncertainty is precisely what makes developing TZIPER180 interesting to me.</p>
<h2>Final thoughts</h2>
<p>Working on version 0.4.8 has reinforced an important engineering principle:</p>
<p><strong>The fastest system is not necessarily the one that performs the most work. It is the one that performs the right work as efficiently as possible.</strong></p>
<p>Sometimes that means using every available CPU core.</p>
<p>Sometimes it means accelerating a task with the GPU.</p>
<p>Sometimes it means allowing both devices to operate simultaneously.</p>
<p>And sometimes the best optimization is deciding not to perform an unnecessary operation at all.</p>
<p>I am continuing to explore how these principles can be combined into a practical adaptive compression engine.</p>
<p>I would be particularly interested in hearing from developers who have experience with heterogeneous computing, GPU compression, DirectCompute, parallel algorithms, or high-performance data processing.</p>
<p>What do you think is the most promising role for GPUs in general-purpose file compression: independent encoding, parallel preprocessing, pattern detection, or something entirely different?</p>
<hr />
<p><strong>Author:</strong> TPECKA180 (ТРЕСКА180)</p>
<p>Independent software developer and creator of TZIPER180.</p>
]]></content:encoded></item><item><title><![CDATA[Building a Live Observatory for an AI Civilization Simulator Was Harder Than I Expected — TPECKA180]]></title><description><![CDATA[How TPECKA180 is building a live AI civilization observatory, tackling Python telemetry, SQLite, data synchronization and distributed systems.]]></description><link>https://tpecka180.hashnode.dev/building-a-live-observatory-for-an-ai-civilization-simulator-was-harder-than-i-expected-tpecka180</link><guid isPermaLink="true">https://tpecka180.hashnode.dev/building-a-live-observatory-for-an-ai-civilization-simulator-was-harder-than-i-expected-tpecka180</guid><category><![CDATA[Python]]></category><category><![CDATA[web development company]]></category><category><![CDATA[software architecture]]></category><category><![CDATA[distributed systems]]></category><category><![CDATA[Artificial Intelligence Course]]></category><dc:creator><![CDATA[TPECKA180]]></dc:creator><pubDate>Sat, 28 Nov 2026 17:09:01 GMT</pubDate><content:encoded><![CDATA[<p>I'm TPECKA180, an independent developer working on Living Planet, an experimental civilization simulator powered by local language models.</p>
<p>In my previous articles, I discussed autonomous AI civilizations and my plans to eventually let them learn from their own decisions.</p>
<p>This time, I want to talk about a completely different engineering challenge: building a public website that receives and displays data from a simulation running on my personal computer.</p>
<p>The idea sounded relatively simple.</p>
<p>The implementation turned out to be considerably more complicated.</p>
<h2>The original idea</h2>
<p>Living Planet is a simulation built with Python and Pygame in which independent countries are controlled by local language models.</p>
<p>Countries make decisions about economic development, diplomacy, research, territorial expansion and military conflicts. The game engine validates their proposed actions and determines the consequences.</p>
<p>While developing the simulation, I started thinking about how interesting it would be to let other people observe these artificial civilizations without requiring them to download the game or run a language model themselves.</p>
<p>Imagine opening a website and watching an artificial civilization develop over several days or weeks.</p>
<p>You could observe economic growth, military conflicts, diplomatic changes, technological discoveries and unexpected strategic decisions.</p>
<p>That idea became Living Planet Global Observatory.</p>
<p>The important distinction is that I don't want the website to display prerecorded scenarios or randomly generated statistics.</p>
<p>I want it to receive information from an actual simulation running on my computer.</p>
<h2>Why not simply stream the game?</h2>
<p>The obvious solution would be to stream the game as video.</p>
<p>However, video has several limitations.</p>
<p>Viewers cannot easily explore historical economic data, compare countries, examine individual events or interact with charts.</p>
<p>A video stream shows what is currently visible on the screen, but it doesn't provide structured access to the simulation's underlying state.</p>
<p>Instead, I wanted to transmit structured telemetry.</p>
<p>The website should eventually receive information such as:</p>
<ul>
<li>Current simulation day.</li>
<li>Country statistics.</li>
<li>Population changes.</li>
<li>Economic indicators.</li>
<li>Resource production and consumption.</li>
<li>Territorial changes.</li>
<li>Military activity.</li>
<li>Diplomatic events.</li>
<li>AI performance metrics.</li>
<li>Accepted and rejected actions.</li>
</ul>
<p>This transforms the website from a simple viewing platform into something closer to an experimental research dashboard.</p>
<p>Unfortunately, it also introduces an entirely new set of problems.</p>
<h2>Keeping the simulation independent</h2>
<p>One of my most important requirements is that the game must remain fully functional without the website.</p>
<p>Living Planet was designed to run locally. I don't want its core simulation to depend on an internet connection or a remote service.</p>
<p>If the website becomes unavailable, the game should continue.</p>
<p>If a telemetry request fails, the simulation should continue.</p>
<p>If my internet connection disappears halfway through a simulation day, that should not prevent countries from making their decisions.</p>
<p>This requirement led to the decision to create a separate Broadcast Edition rather than immediately modifying the stable public release.</p>
<p>The experimental edition can be developed and tested independently while preserving the existing game.</p>
<p>Conceptually, the architecture looks like this:</p>
<pre><code class="language-python">LOCAL COMPUTER
    |
    |-- Living Planet simulation
    |-- Local language model
    |-- Local database
    |-- Telemetry module
    |
    v
Broadcast protocol
    |
    v
Remote telemetry receiver
    |
    v
Global Observatory
    |
    |-- Live world
    |-- Historical data
    |-- Economic charts
    |-- AI performance analytics
</code></pre>
<p>The simulation remains the authority over the world.</p>
<p>The website is an observer, not a participant.</p>
<h2>The difference between game data and telemetry</h2>
<p>One of the first architectural questions was determining what information should actually leave the computer.</p>
<p>The game contains much more information than a public dashboard needs.</p>
<p>There are internal simulation structures, model contexts, private country information, hidden prompts, intermediate outputs and implementation-specific details.</p>
<p>Sending everything would be a poor design decision.</p>
<p>It would increase network traffic, expose unnecessary information and make the website heavily dependent on the internal architecture of the game.</p>
<p>Instead, the telemetry system needs a clearly defined public representation of the simulation.</p>
<p>The website should receive only the information explicitly intended for publication.</p>
<p>For the experimental Broadcast Edition, hidden prompts, internal reasoning and raw model outputs are excluded from public telemetry.</p>
<p>The objective is to observe the consequences of AI decisions, not expose every internal component involved in producing them.</p>
<h2>Snapshots and incremental updates</h2>
<p>Another challenge is determining how often the game should transmit information.</p>
<p>Sending the entire world state after every minor change would be inefficient.</p>
<p>On the other hand, sending only individual changes introduces synchronization problems.</p>
<p>Imagine a website receives information about a country's economy, but misses the previous update that changed its territorial ownership.</p>
<p>It may then display a combination of data that never actually existed in the simulation.</p>
<p>To address this problem, the experimental telemetry architecture uses snapshots and incremental updates, also known as deltas.</p>
<p>A snapshot represents a defined state of the simulation.</p>
<p>A delta describes changes relative to a previous state.</p>
<p>The advantage of this approach is that the system can potentially avoid repeatedly transmitting unchanged information.</p>
<p>The disadvantage is that incremental updates require careful handling of ordering, missing messages and recovery.</p>
<p>A receiver needs to know whether an incoming update belongs to its current state.</p>
<p>If something is missing, applying subsequent updates blindly could produce incorrect results.</p>
<p>One possible recovery strategy is to request or wait for a new complete snapshot rather than attempting to reconstruct an unknown state.</p>
<p>This is one of the reasons why designing a telemetry system is substantially more difficult than simply exporting a JSON file.</p>
<h2>Developing a dedicated telemetry protocol</h2>
<p>The experimental Broadcast Edition introduced a protocol called LPTP v1, or Living Planet Telemetry Protocol.</p>
<p>The purpose of defining a protocol is to establish a predictable contract between the game and the observation system.</p>
<p>The website should not need to understand every internal Python object used by the game.</p>
<p>Instead, it should understand a documented telemetry representation.</p>
<p>The protocol needs to address several important questions:</p>
<ul>
<li>Which simulation session does a message belong to?</li>
<li>Which state or update does it represent?</li>
<li>What version of the protocol is being used?</li>
<li>Is the message compatible with the receiver?</li>
<li>Is an earlier update missing?</li>
<li>Has this information already been processed?</li>
<li>Can the receiver detect inconsistent or corrupted data?</li>
</ul>
<p>Without such a contract, every significant game update could potentially break the website.</p>
<p>The initial development work included protocol documentation, schemas and local telemetry generation.</p>
<p>However, generating protocol messages locally is not equivalent to proving that the complete remote broadcasting system works.</p>
<p>That distinction matters.</p>
<h2>Hash chains and data consistency</h2>
<p>Another mechanism introduced during development was a hash chain.</p>
<p>The general idea is that consecutive telemetry records can be cryptographically linked, making it possible to detect certain inconsistencies in the recorded sequence.</p>
<p>For example, if a record depends on the hash of its predecessor, modifying or removing an earlier record may cause subsequent verification to fail.</p>
<p>This is useful when dealing with a simulation that produces historical records over time.</p>
<p>However, a hash chain does not solve everything.</p>
<p>It does not automatically prevent an unauthorized sender from submitting an entirely new sequence of fabricated records. It also does not guarantee that the underlying simulation data is correct.</p>
<p>Authentication, access control, message validation and trustworthy state generation are separate problems.</p>
<p>The objective is to use integrity verification as one layer of the overall architecture, rather than treating it as a complete security solution.</p>
<h2>An actual problem: SQLite resource management</h2>
<p>During development, a resource-management issue involving SQLite descriptors was identified and corrected.</p>
<p>This was a useful reminder that adding telemetry to an existing application can expose problems that may not be obvious during normal gameplay.</p>
<p>A short simulation session might never reveal a resource leak.</p>
<p>A simulation running continuously for days or weeks is a different situation.</p>
<p>Database connections, file handles and background operations need predictable lifetimes.</p>
<p>A small leak can become a major stability problem when an operation is repeated thousands of times.</p>
<p>This becomes particularly important when telemetry generation, database access and simulation execution coexist within the same application.</p>
<p>The intermediate development report recorded the correction of the SQLite descriptor leak.</p>
<p>I consider this type of issue just as important as the visible features of the website.</p>
<p>A beautiful dashboard is useless if the application supplying its data gradually becomes unstable.</p>
<h2>The home computer problem</h2>
<p>Unlike a conventional cloud-hosted application, the actual simulation is intended to run on my personal computer.</p>
<p>That introduces several constraints.</p>
<p>My computer may be turned off.</p>
<p>My internet connection may become unavailable.</p>
<p>The simulation may be stopped for maintenance.</p>
<p>The computer may be busy running a local language model or other development tools.</p>
<p>The website must be designed around these possibilities.</p>
<p>It should distinguish between several conditions:</p>
<ul>
<li>A simulation is actively broadcasting.</li>
<li>The last known state is available, but no recent data has arrived.</li>
<li>A simulation has ended.</li>
<li>A new simulation session has started.</li>
<li>No real data has been received yet.</li>
</ul>
<p>Displaying stale information as if it were currently live would be misleading.</p>
<p>I would rather show an explicit offline or waiting-for-data state than invent activity to make the website look more impressive.</p>
<h2>Why I don't want to expose the entire computer</h2>
<p>Another architectural concern is network exposure.</p>
<p>A public observation website should not require unrestricted access to my computer, local database or AI inference service.</p>
<p>The intended architecture is based on a narrowly defined telemetry channel.</p>
<p>Ideally, the local application initiates an authenticated outbound connection and transmits only approved public data.</p>
<p>The public website should not be able to execute commands inside the game or modify the world state.</p>
<p>The observer must remain an observer.</p>
<p>This also means that the remote receiver needs to validate incoming messages and impose reasonable limits on data sizes, update frequency and resource consumption.</p>
<p>These are engineering requirements for the remote integration, not claims that every security mechanism has already been deployed.</p>
<h2>Building historical analytics</h2>
<p>A live map is interesting, but historical data is what could eventually make the observatory genuinely useful.</p>
<p>I want visitors to be able to examine how artificial civilizations change over time.</p>
<p>The initial design focuses on retaining and displaying the most recent ten simulation days on the website.</p>
<p>Potential future analytics include:</p>
<ul>
<li>Population growth and decline.</li>
<li>Resource shortages.</li>
<li>Changes in economic productivity.</li>
<li>Military expansion and territorial losses.</li>
<li>Differences in national strategies.</li>
<li>AI-generated action categories.</li>
<li>Rejected actions.</li>
<li>Model generation speed measured in tokens per second.</li>
</ul>
<p>These metrics could reveal patterns that are difficult to notice while manually watching the simulation.</p>
<p>For example, a country may appear successful because it expands rapidly, while historical economic data reveals that its development is becoming increasingly unsustainable.</p>
<p>The observatory could eventually make such relationships much easier to examine.</p>
<p>However, historical analytics introduce additional requirements involving storage, aggregation, session identification and missing data.</p>
<p>If only one snapshot exists, it is impossible to establish a meaningful historical trend.</p>
<p>The dashboard needs to communicate that limitation rather than generate artificial graphs.</p>
<h2>The challenge of measuring AI performance</h2>
<p>Living Planet runs language models locally.</p>
<p>I am particularly interested in observing the relationship between model performance and the behavior of artificial civilizations.</p>
<p>A model producing more tokens per second is not necessarily making better strategic decisions.</p>
<p>Likewise, a country generating longer responses is not necessarily developing a more effective economy.</p>
<p>I want to eventually compare several different metrics:</p>
<ul>
<li>Generation speed.</li>
<li>Processing time.</li>
<li>Number of proposed actions.</li>
<li>Number of accepted actions.</li>
<li>Number of rejected actions.</li>
<li>Distribution of action categories.</li>
<li>Long-term simulation outcomes.</li>
</ul>
<p>These measurements could help distinguish raw inference performance from actual usefulness inside the simulation.</p>
<p>The observatory should eventually make that comparison visible.</p>
<p>For now, deeper AI analytics remain a development goal rather than a completed public feature.</p>
<h2>Testing the system</h2>
<p>According to an intermediate development report, the isolated experimental Broadcast Edition successfully completed 533 tests.</p>
<p>The local telemetry module, protocol-related work and portable Windows build reached an initial development checkpoint.</p>
<p>This was encouraging, but it did not mean that the entire observatory was finished.</p>
<p>There is a major difference between:</p>
<ul>
<li>Testing individual software components.</li>
<li>Testing local telemetry generation.</li>
<li>Testing a protocol implementation.</li>
<li>Building a working executable.</li>
<li>Successfully transmitting real data over the internet.</li>
<li>Running a complete broadcasting system continuously for several days.</li>
</ul>
<p>Each represents a different level of confidence.</p>
<p>Passing hundreds of automated tests does not prove that a remote deployment will behave reliably under real-world network conditions.</p>
<p>That still requires end-to-end integration and operational testing.</p>
<h2>Even packaging introduced another obstacle</h2>
<p>The intermediate development work also encountered a packaging limitation.</p>
<p>A portable Windows build was produced, but creating a conventional installer was blocked by the absence of Inno Setup in the available development environment.</p>
<p>This is not a fundamental architectural problem, but it illustrates how many unrelated components become involved in a project like this.</p>
<p>The simulation itself may work.</p>
<p>The telemetry module may work.</p>
<p>The website may exist.</p>
<p>Yet the complete distribution and deployment workflow may still be unfinished.</p>
<p>Software development rarely progresses as a single uninterrupted sequence of successful implementations.</p>
<h2>The current state of Global Observatory</h2>
<p>The public website already exists and introduces the simulation, its mechanics, screenshots, development roadmap and release information.</p>
<p>It also contains dedicated Live World and Analytics sections.</p>
<p>The public page I am discussing currently presents an explicit waiting-for-broadcast state rather than simulated live statistics.</p>
<p>The local telemetry foundation has been developed separately, but I am not claiming that the full remote broadcasting pipeline has been successfully validated.</p>
<p>There is still a difference between a website designed to receive live data and a fully operational live observation service.</p>
<p>I want to preserve that distinction throughout development.</p>
<h2>What still needs to be tested</h2>
<p>The next major engineering milestone is establishing reliable end-to-end communication between the simulation and the website.</p>
<p>I want to investigate how the system behaves when:</p>
<ul>
<li>The internet connection disappears during a broadcast.</li>
<li>The receiver restarts.</li>
<li>An update arrives twice.</li>
<li>A telemetry message is incomplete.</li>
<li>The application restarts during a simulation.</li>
<li>A new world replaces the previous world.</li>
<li>The website has outdated information.</li>
<li>The simulation runs continuously for an extended period.</li>
</ul>
<p>The system should handle these conditions without damaging the local game or displaying misleading information.</p>
<p>I also want to measure the actual overhead introduced by telemetry collection.</p>
<p>Living Planet already performs computationally expensive local inference. The observation system should not consume unnecessary resources or significantly interfere with the simulation.</p>
<h2>What I learned from this development stage</h2>
<p>The website initially looked like the relatively easy part of the project.</p>
<p>I expected the difficult work to be related primarily to artificial intelligence and simulation mechanics.</p>
<p>Instead, building the observatory introduced questions about distributed systems, database resource management, synchronization, protocol compatibility, security, data consistency and historical storage.</p>
<p>The most valuable lesson so far is that building a dashboard is not the same as building a reliable observation system.</p>
<p>A dashboard displays information.</p>
<p>An observation system must also establish where that information came from, whether it is complete, whether it is current and whether it can be trusted.</p>
<p>Those are substantially different engineering problems.</p>
<h2>The long-term vision</h2>
<p>Eventually, I want Global Observatory to become a public window into an autonomous artificial world.</p>
<p>Visitors should be able to return after several days and discover that civilizations have developed technologies, formed alliances, experienced economic crises or changed their strategic priorities.</p>
<p>In the future, if the planned self-learning architecture becomes operational, the observatory could also help investigate how individual civilizations adapt through experience.</p>
<p>That is still a distant research direction.</p>
<p>For now, the more immediate challenge is considerably simpler to describe, but difficult to implement correctly:</p>
<p>Reliably transmitting the state of a locally running simulation to a public website without compromising the independence, stability or integrity of the original application.</p>
<p>I'm interested in hearing from developers who have built similar telemetry systems.</p>
<p>How would you approach reliable state synchronization between a continuously running local simulation and a remote public dashboard?</p>
<p>Would you prioritize complete snapshots, incremental updates, event sourcing, or some combination of these approaches?</p>
<p><strong>Project links:</strong></p>
<ul>
<li><a href="https://living-planet-global-observatory.branchingdragonfly2.chatgpt.site/">Living Planet Global Observatory</a></li>
<li><a href="https://github.com/TPECKA180/living-planet">Living Planet on GitHub</a></li>
<li><a href="https://tpecka180.branchingdragonfly2.chatgpt.site/">Official TPECKA180 developer website</a></li>
</ul>
<p>Developer: TPECKA180</p>
<p><em>Disclosure: This article was drafted with AI assistance based on project documentation, an intermediate development report and the publicly available project website.</em></p>
]]></content:encoded></item><item><title><![CDATA[Building TZIPER180: My Experiment in Adaptive File Compression — TPECKA180]]></title><description><![CDATA[Explore TZIPER180 by TPECKA180: an experimental file archiver with adaptive compression, early benchmarks and plans for intelligent compression algorithms.]]></description><link>https://tpecka180.hashnode.dev/building-tziper180-my-experiment-in-adaptive-file-compression-tpecka180</link><guid isPermaLink="true">https://tpecka180.hashnode.dev/building-tziper180-my-experiment-in-adaptive-file-compression-tpecka180</guid><category><![CDATA[programming]]></category><category><![CDATA[algorithms]]></category><category><![CDATA[data compression]]></category><category><![CDATA[software development]]></category><category><![CDATA[performance]]></category><dc:creator><![CDATA[TPECKA180]]></dc:creator><pubDate>Sat, 28 Nov 2026 15:21:13 GMT</pubDate><content:encoded><![CDATA[<p>I'm TPECKA180, an independent developer working on experimental games, artificial intelligence simulations and software tools.</p>
<p>Today, I want to introduce another project I've been working on: <strong>TZIPER180</strong>, an experimental file archiver focused on adaptive compression.</p>
<p>The project is still at a very early stage, but its basic compression and extraction pipeline is already functional.</p>
<h2>Why build another file archiver?</h2>
<p>There are already excellent compression tools such as 7-Zip, WinRAR and Zstandard.</p>
<p>I'm not trying to claim that my early prototype is better than decades of established compression research.</p>
<p>Instead, I want to explore how an archiver could become more intelligent about the way it processes different types of data.</p>
<p>Different files have different characteristics. A compression strategy that works exceptionally well on one dataset may be inefficient on another.</p>
<p>My goal is to investigate whether adaptive decision-making can provide a better balance between compression ratio, processing speed and resource consumption.</p>
<h2>What currently works?</h2>
<p>The current TZIPER180 v0.1.0 prototype includes:</p>
<ul>
<li>A custom <code>.tziper180</code> archive format.</li>
<li>Command-line compression and extraction.</li>
<li>Zstandard, LZ4 and LZMA2 compression methods.</li>
<li>Uncompressed storage when compression is unsuitable.</li>
<li>Basic adaptive compression method selection.</li>
<li>Parallel compression and decompression with up to four workers.</li>
<li>Atomic extraction.</li>
<li>Support for large files through 64-bit file handling.</li>
</ul>
<p>This is the foundation of the project, not its final architecture.</p>
<h2>Early experiments</h2>
<p>Initial synthetic benchmarks against 7-Zip 26.06 using its <code>-mx=3</code> setting produced some interesting results.</p>
<table>
<thead>
<tr>
<th>Test</th>
<th>Preliminary result</th>
</tr>
</thead>
<tbody><tr>
<td>Repetitive data</td>
<td>TZIPER180 produced a 40.6% smaller archive</td>
</tr>
<tr>
<td>Random data</td>
<td>TZIPER180 was 9.93 times faster in the measured test</td>
</tr>
<tr>
<td>64 small files</td>
<td>7-Zip produced an archive 5.09 times smaller</td>
</tr>
</tbody></table>
<p>These results demonstrate both the potential and the limitations of the current approach.</p>
<p>They do not establish that TZIPER180 is generally faster or more efficient than 7-Zip. The tests were synthetic, and substantially more benchmarking is necessary.</p>
<p>The prototype also successfully completed a round-trip test with a sparse file larger than 4 GiB, verified using SHA-256, and underwent 5,000 parser mutation tests.</p>
<p>For an archiver, correctness must come before impressive compression statistics.</p>
<h2>The future of TZIPER180</h2>
<p>The basic compression pipeline is only the beginning.</p>
<p>My longer-term development plans include:</p>
<ul>
<li><strong>T180 Brain:</strong> an intelligent system for selecting compression strategies.</li>
<li><strong>Custom compression codec:</strong> researching and developing an experimental compression algorithm.</li>
<li><strong>Solid compression:</strong> improving compression efficiency across related files.</li>
<li><strong>Deduplication:</strong> avoiding unnecessary storage of repeated data.</li>
<li><strong>GPU acceleration:</strong> investigating which operations could benefit from graphics hardware.</li>
<li><strong>Encryption:</strong> protecting archived information.</li>
<li><strong>Recovery mechanisms:</strong> improving resilience against archive corruption.</li>
<li><strong>Graphical interface:</strong> making the archiver accessible beyond the command line.</li>
</ul>
<p>None of these advanced features should be considered implemented yet.</p>
<h2>The idea behind T180 Brain</h2>
<p>One of the most interesting concepts I want to explore is a dedicated decision-making system inside the archiver.</p>
<p>Rather than relying entirely on a fixed compression configuration, TZIPER180 could analyze input data and choose a suitable processing strategy.</p>
<p>For some files, compression ratio may be the priority. For others, speed or memory consumption may matter more.</p>
<p>The challenge is making these decisions without introducing more computational overhead than the optimization actually saves.</p>
<p>That is a problem I want to investigate experimentally.</p>
<h2>Reliability before performance</h2>
<p>An archive is useless if the original data cannot be recovered correctly.</p>
<p>Before pursuing increasingly ambitious compression techniques, I want to establish a reliable foundation with repeatable benchmarks, integrity verification and defensive archive parsing.</p>
<p>Future performance claims should be supported by reproducible tests across different datasets, hardware configurations and compression settings.</p>
<p>I would rather document a failed experiment honestly than announce an impressive result that cannot be reproduced.</p>
<h2>What's next?</h2>
<p>TZIPER180 is currently an early research and development project.</p>
<p>There is still a substantial amount of work ahead, and some of the planned technologies may prove impractical. That uncertainty is part of the experiment.</p>
<p>I intend to document the development process, including successful optimizations, technical challenges and unsuccessful ideas.</p>
<p>I'm particularly interested in feedback from developers who have worked with data compression, archive formats and performance optimization.</p>
<p>What do you think is the most promising direction for an adaptive file archiver?</p>
<p><strong>Developer: TPECKA180</strong></p>
<ul>
<li><a href="https://tpecka180.branchingdragonfly2.chatgpt.site/">Official developer website</a></li>
<li><a href="https://github.com/TPECKA180">GitHub profile</a></li>
</ul>
<p><em>Disclosure: This article was drafted with AI assistance based on my project documentation and development results.</em></p>
]]></content:encoded></item><item><title><![CDATA[Living Planet 9.0: Can Autonomous AI Civilizations Learn From Their Own Decisions? — TPECKA180]]></title><description><![CDATA[TPECKA180 explores self-learning AI civilizations in Living Planet 9.0 using local LLMs, LoRA adapters, reinforcement learning and simulation rewards.]]></description><link>https://tpecka180.hashnode.dev/living-planet-9-0-can-autonomous-ai-civilizations-learn-from-their-own-decisions-tpecka180</link><guid isPermaLink="true">https://tpecka180.hashnode.dev/living-planet-9-0-can-autonomous-ai-civilizations-learn-from-their-own-decisions-tpecka180</guid><category><![CDATA[Artificial Intelligence]]></category><category><![CDATA[Machine Learning]]></category><category><![CDATA[Reinforcement Learning]]></category><category><![CDATA[Game Development Services]]></category><category><![CDATA[#llmops]]></category><dc:creator><![CDATA[TPECKA180]]></dc:creator><pubDate>Sat, 28 Nov 2026 12:45:01 GMT</pubDate><content:encoded><![CDATA[<p>I'm TPECKA180, an independent developer working on <strong>Living Planet</strong>, an experimental civilization simulator powered by local large language models.</p>
<p>In my previous article, I introduced a world where AI agents independently govern entire countries.</p>
<p>Today, I want to explore the most ambitious feature on my development roadmap: allowing artificial civilizations to learn from their own decisions.</p>
<p>This is the planned direction for Living Planet 9.0, not an already implemented feature.</p>
<h2>From memory to actual learning</h2>
<p>Living Planet currently allows AI-controlled countries to manage economies, negotiate agreements, research technologies, trade resources, expand territories and wage wars.</p>
<p>Each country has its own memory, strategic plans and diplomatic relationships.</p>
<p>However, remembering previous decisions is not the same as learning through parameter updates.</p>
<p>The underlying language model currently remains unchanged. Previous experiences influence its context, but they do not modify its weights.</p>
<p>I want to investigate whether this limitation can be overcome.</p>
<h2>Learning exclusively from simulated experience</h2>
<p>The central idea behind Living Planet 9.0 is to train AI civilizations using the consequences of their own actions inside the simulation.</p>
<p>I do not intend to introduce externally prepared training datasets into this system.</p>
<p>Instead, the simulation itself should become the source of experience.</p>
<p>Every executed decision produces measurable consequences:</p>
<ul>
<li>Economic growth or decline.</li>
<li>Territorial expansion or territorial losses.</li>
<li>Military victories or defeats.</li>
<li>Technological progress.</li>
<li>Resource accumulation or shortages.</li>
<li>Population growth.</li>
<li>Successful or unsuccessful diplomatic strategies.</li>
</ul>
<p>These outcomes can be translated into rewards and penalties.</p>
<p>The learning mechanism would use the recorded decisions, their context and the resulting rewards to update the country's strategy.</p>
<p>This still requires internally generated experience records for training, but the experience originates entirely from the simulation.</p>
<h2>One language model, six independent civilizations</h2>
<p>My planned architecture consists of one shared base language model and up to six individual LoRA adapters.</p>
<p>Each civilization would have its own adapter.</p>
<p>The objective is to allow different countries to develop different strategic tendencies without storing six complete language models.</p>
<p>Potentially, one civilization could become focused on industrial development, another on territorial expansion, and another on diplomacy or economic influence.</p>
<p>These differences should emerge from their experiences rather than predefined personality scripts alone.</p>
<h2>Four learning horizons</h2>
<p>I am planning four different learning cycles:</p>
<table>
<thead>
<tr>
<th>Learning cycle</th>
<th>Purpose</th>
</tr>
</thead>
<tbody><tr>
<td>3 simulation days</td>
<td>Small adjustments based on recent experience</td>
</tr>
<tr>
<td>10 simulation days</td>
<td>Medium-term strategic adaptation</td>
</tr>
<tr>
<td>30 simulation days</td>
<td>Learning from accumulated historical experience</td>
</tr>
<tr>
<td>100 simulation days</td>
<td>Larger strategic reassessment</td>
</tr>
</tbody></table>
<p>The purpose of this architecture is to balance short-term adaptation with long-term strategic consistency.</p>
<p>A civilization should not completely change its behavior because of one unsuccessful decision.</p>
<p>At the same time, it should be able to recognize repeated failures and gradually adapt.</p>
<h2>The problem with reward design</h2>
<p>Reward design may become one of the most difficult challenges in the entire project.</p>
<p>If territorial expansion receives too much weight, civilizations may become excessively aggressive.</p>
<p>If economic growth dominates the reward system, they may avoid necessary military conflicts.</p>
<p>If diplomatic cooperation is always rewarded, they may become vulnerable to exploitation.</p>
<p>I want civilizations to evaluate actions according to their actual consequences.</p>
<p>Even deception or deliberately failing to fulfill a trade agreement could become a potentially rewarding strategy if it produces a genuine long-term advantage.</p>
<p>However, immediate gains should not automatically outweigh future economic losses, diplomatic isolation or military retaliation.</p>
<p>The objective is not to create morally good artificial civilizations.</p>
<p>The objective is to investigate how strategic behavior emerges under competing incentives.</p>
<h2>Can this run on consumer hardware?</h2>
<p>My development hardware includes an NVIDIA RTX 3060 with 12 GB of VRAM.</p>
<p>Running inference and training on the same consumer GPU introduces significant engineering challenges.</p>
<p>The planned system needs to separate quantized inference from adapter training, manage memory carefully and avoid loading unnecessary model copies.</p>
<p>GGUF is suitable for local inference, but an inference-oriented GGUF file is not automatically a trainable checkpoint. A compatible training representation and a reliable adapter conversion workflow will be necessary.</p>
<p>Training one civilization at a time may reduce hardware requirements.</p>
<p>The system should also preserve previous adapter checkpoints and reject updates that damage model behavior.</p>
<p>Whether the complete learning architecture can operate efficiently on this hardware remains an open engineering question.</p>
<h2>What would count as successful learning?</h2>
<p>Increasing a civilization's reward score is not enough to prove that its strategy has improved.</p>
<p>The system must also be evaluated for:</p>
<ul>
<li>Long-term economic stability.</li>
<li>Validity of generated actions.</li>
<li>Strategic consistency.</li>
<li>Adaptation to changing circumstances.</li>
<li>Resistance to repetitive or ineffective behavior.</li>
<li>Preservation of general reasoning abilities.</li>
<li>Performance across different world configurations.</li>
</ul>
<p>The project needs safeguards against reward hacking, catastrophic forgetting, unstable training and misleading short-term improvements.</p>
<p>I want to distinguish actual strategic improvement from a civilization simply discovering a weakness in the reward function.</p>
<h2>The long-term vision</h2>
<p>Imagine observing a simulated planet for hundreds of days.</p>
<p>Civilizations begin with the same base intelligence, but gradually acquire different strategic tendencies through their own experiences.</p>
<p>Some cooperate. Some compete. Some discover economic advantages. Others repeatedly fail and need to adapt.</p>
<p>Could such a system eventually produce genuinely unexpected strategies?</p>
<p>Could civilizations learn to anticipate betrayal, exploit economic dependencies or develop more effective long-term plans?</p>
<p>I do not know yet.</p>
<p>That uncertainty is precisely what makes this experiment interesting.</p>
<h2>Development roadmap</h2>
<p>Living Planet 9.0 is the planned self-learning milestone.</p>
<p>Before reaching it, development will focus on local model optimization, faster inference, new technological eras and overall simulation performance.</p>
<p>Living Planet is free, and I intend to keep it free.</p>
<p>Project source code and technical documentation:</p>
<ul>
<li><a href="https://github.com/TPECKA180/living-planet">Living Planet on GitHub</a></li>
<li><a href="https://tpecka180.branchingdragonfly2.chatgpt.site/">Official TPECKA180 developer website</a></li>
<li><a href="https://living-planet-global-observatory.branchingdragonfly2.chatgpt.site/">Living Planet Global Observatory</a></li>
</ul>
<p>Previous article: <a href="https://dev.to/tpqcka180/living-planet-an-autonomous-ai-civilization-simulator-powered-by-local-llms-tpecka180-2lco">Living Planet — An Autonomous AI Civilization Simulator Powered by Local LLMs</a></p>
<p>I'm particularly interested in feedback from developers working with reinforcement learning, local LLMs and LoRA training.</p>
<p>How would you design a reward function for an autonomous AI civilization?</p>
<p><strong>Developer: TPECKA180</strong></p>
<p><em>Disclosure: This article was drafted with generative AI based on my project documentation and development plans.</em></p>
]]></content:encoded></item><item><title><![CDATA[Living Planet: Building a World Where AI Agents Govern Entire Civilizations]]></title><description><![CDATA[Instead of building another traditional strategy game, I decided to create an experimental world where artificial intelligence controls entire…]]></description><link>https://tpecka180.hashnode.dev/living-planet-building-a-world-where-ai-agents-govern-entire-civilizations</link><guid isPermaLink="true">https://tpecka180.hashnode.dev/living-planet-building-a-world-where-ai-agents-govern-entire-civilizations</guid><dc:creator><![CDATA[TPECKA180]]></dc:creator><pubDate>Fri, 27 Nov 2026 14:47:25 GMT</pubDate><content:encoded><![CDATA[<h2>What if artificial intelligence governed an entire planet?</h2>
<p>Instead of building another traditional strategy game, I decided to create an experimental world where artificial intelligence controls entire civilizations.</p>
<p>My name is TPECKA180, and I'm an independent developer working on <strong>Living Planet</strong>, a free AI-powered civilization simulator.</p>
<h2>Beyond traditional game AI</h2>
<p>Traditional strategy games often rely on predefined behavioral rules. Living Planet explores a different approach: using local large language models as autonomous decision-makers.</p>
<p>AI-controlled countries operate within a structured simulation that includes economics, diplomacy, military conflicts, territorial expansion, resources, population growth and technological development.</p>
<p>The language model makes decisions, while the simulation engine processes their validity and consequences.</p>
<h2>A world driven by independent decisions</h2>
<p>The most interesting part of Living Planet is observing how different AI-controlled nations respond to changing circumstances.</p>
<ul>
<li>Will civilizations cooperate when resources become scarce?</li>
<li>Will they respect international agreements?</li>
<li>Will economically powerful nations become aggressive?</li>
<li>Can diplomatic cooperation prevent wars?</li>
<li>Will artificial intelligence discover unexpected strategies?</li>
</ul>
<p>These questions are the motivation behind the project.</p>
<h2>Running artificial civilizations locally</h2>
<p>Living Planet is designed around local AI inference rather than mandatory cloud services or paid AI APIs.</p>
<p>My development hardware includes an NVIDIA RTX 3060 with 12 GB of VRAM.</p>
<p>One of my primary development challenges is improving AI performance while preserving the quality of strategic decisions.</p>
<h2>The future of Living Planet</h2>
<p>Future development includes optimized language models, additional technological eras, planetary ecology, space exploration and experimental self-learning mechanisms.</p>
<p>My long-term goal is to investigate whether AI civilizations can improve their strategies based on the consequences of their own actions.</p>
<p>These systems are part of the development roadmap rather than completed features.</p>
<h2>Living Planet Global Observatory</h2>
<p>I am also developing a dedicated website for observing simulations, exploring statistics and studying the behavior of artificial civilizations.</p>
<p><a href="https://living-planet-global-observatory.branchingdragonfly2.chatgpt.site/">Visit Living Planet Global Observatory</a></p>
<h2>Explore the project</h2>
<p>Living Planet is free, and I intend to keep it free.</p>
<ul>
<li><a href="https://github.com/TPECKA180/living-planet">Living Planet — GitHub repository</a></li>
<li><a href="https://github.com/TPECKA180/living-planet/releases">Download the latest release</a></li>
<li><a href="https://github.com/TPECKA180">TPECKA180 — Developer profile</a></li>
<li><a href="https://dev.to/tpqcka180/living-planet-an-autonomous-ai-civilization-simulator-powered-by-local-llms-tpecka180-2lco">Living Planet introduction on DEV Community</a></li>
</ul>
<p>This is only the beginning of the experiment.</p>
<p>What happens when artificial intelligence stops being an assistant and becomes the leader of an entire civilization?</p>
]]></content:encoded></item></channel></rss>