Quick Overview
In this build demonstration and gameplay preview, developer Kris from All About AI presents AI Labs Sim, a custom real-time strategy management game inspired by Factorio. The video showcases the integration of autonomous AI agents directly into gameplay and illustrates how the game was architected and updated using Moonshot AI's Kimi K3.1 Pro model through the OpenCode environment.
Key Points
- 1.AI Labs Sim is an isometric real-time strategy game where players scale an artificial intelligence company from a 50-kilowatt garage operation up to a 10-gigawatt frontier campus.
- 2.The game is engineered using a C++20 and SDL3 graphical client alongside a Python backend, with autonomous coding agents embedded directly into the gameplay loop.
- 3.Development of the game's systems, pacing, and mechanics was directed through the OpenCode terminal harness powered by Moonshot AI's Kimi K3.1 Pro model.
- 4.Players must compete against a rival frontier lab named Vanta Labs by managing power grids, cooling infrastructure, chip shipments, data licensing, and model training runs.
- 5.Internal company departments can be automated by assigning specialized AI agents that execute actions, record playbooks, and optimize operational benchmarks.
- 6.A live terminal agent named Unit-0 allows players to query real Claude Code sessions to inspect game state, write code patches, and make strategic decisions.
Summary
The video opens with the creator introducing AI Labs Sim, an isometric real-time strategy management game inspired by Factorio and created using Moonshot AI's Kimi K3.1 Pro model. The premise tasks players with building an AI enterprise starting inside a modest garage equipped with 50 kilowatts of power and 1,500 dollars in funding. The primary objective is to scale operations to 10 gigawatts of compute capacity and successfully complete the Frontier Run, a 30-minute training cycle on 8 gigawatts, before rival company Vanta Labs reaches the milestone. Players balance energy grids, cooling chillers, chip shipments, and model training parameters against changing electricity prices and market demand.
The game's technical architecture uses a C++20 and SDL3 client to render 16-bit isometric pixel graphics, paired with a Python 3 simulation engine that broadcasts game states over websockets. The simulator includes active AI coding agents directly inside gameplay mechanics. Players can delegate corporate departments, such as compute, research, power, and models, to autonomous agents like Ada, Demis, and Ilya. These agents test configurations, record playbooks based on performance gains, and write real Python optimization algorithms tested against hidden benchmarks. Players can also summon Unit-0, an integrated in-game terminal running a Claude Code Sonnet 3.5 session with scoped token access to inspect metrics, execute actions, and provide tactical recommendations.
Demonstrating the developer workflow, the creator displays the OpenCode terminal interface hooked into Kimi K3.1 Pro via API. A markdown document titled software_factorio.md outlines the design specifications, originally established through voice dictation and synthesized by the model. The creator loads an advanced save file containing 1.51 gigawatts of deployed compute across server halls, wind farms, and an AI campus. In this save, five custom models up to 179 billion parameters have been trained and monetized by serving inference requests or leasing compute. Rivals on the map can be monitored through reconnaissance drones, counter-intelligence, talent poaching, and pricing wars.
To improve game depth, the creator instructs Kimi K3.1 Pro to execute a series of expansion mechanics outlined in an overnight implementation plan. These additions include lead times on chip supply orders, synthetic data generation toggles, data licensing categories like books and science papers, reasoning model research paths, and immersion cooling upgrades costing 20 million dollars. A site architect role is also integrated into company staffing options to automatically optimize the flow of electrical power and network data across industrial plots.
Switching back to the game client, the creator prompts Kimi K3.1 Pro to code UI quality-of-life adjustments, including a settings toggle for the minimap and retro plus-money indicators floating above revenue-generating structures. Starting a new game under the company name Sikt Intelligence, the creator completes the tutorial by laying grid connectors, constructing a server closet, purchasing racks, and toggling off the minimap in settings. After securing 3,570 dollars in exchange for 20 percent revenue from an investor, an agent is assigned to handle company public relations. The demonstration concludes when a heatwave triggers severe cooling shortages, resulting in a server closet fire that disables the initial facility.
Game Concept and Core Systems
AI Labs Sim is designed as an isometric management strategy game inspired by Factorio, challenging players to build an AI frontier lab starting with 50 kilowatts of power, zero GPUs, and 1,500 dollars. The objective is to scale infrastructure up to 10 gigawatts and complete a 30-minute frontier model training run before the rival entity, Vanta Labs, achieves it. Gameplay revolves around constructing power connections, battery storage, server racks, chillers, and data centers while managing electricity costs and heat limits.
Agent Automation and Unit-0 Integration
The simulation incorporates autonomous agents to manage operational branches including power, compute, models, finance, and research. Department heads such as Ada, Grace, and Demis evaluate data, execute moves, track performance scores, and compile successful tactics into operational playbooks. Additionally, players can access Unit-0, a built-in terminal interface connected to Claude Code or open-source models, enabling players to execute command-line tools, inspect game metrics, and seek strategic guidance during active play.
Iterative Development with Kimi K3.1 Pro
Development was facilitated by prompting Moonshot AI's Kimi K3.1 Pro through the OpenCode coding agent harness. The creator used voice transcripts and automated overnight loops to generate game architecture files, pacing parameters, and expansion mechanics. Prompts directed Kimi K3.1 Pro to refine game balance, structure market competition, implement chip supply lead times, and build hardware failure modes directly into the C++ and Python codebase.
Feature Expansion and Live Demonstration
During a live gameplay session, the creator demonstrates an advanced save file featuring 1.51 gigawatts of compute, five completed model training runs, and an AI campus before adding newly requested features. Using conversational commands in OpenCode, Kimi K3.1 Pro integrates data licensing tiers, synthetic data generation, reasoning model research, and a site architect role that optimizes data and power flow across the map. A fresh playthrough confirms the addition of a toggleable minimap and retro income indicators before a heatwave causes a server closet fire.
The Bottom Line
The video establishes the feasibility of using Moonshot AI's Kimi K3.1 Pro within the OpenCode terminal harness to build and iteratively expand a fully playable isometric strategy simulation. It demonstrates how autonomous coding models can manage complex multi-language codebases spanning C++20, SDL3, and Python, while smoothly embedding external agent frameworks like Claude Code into the gameplay experience. It leaves unresolved how well the game performs across long extended sessions, how licensing costs for heavy data assets scale in endgame play, and whether the creator intends to distribute the title publicly.
FAQ
What is AI Labs Sim in the context of real-time strategy games?
AI Labs Sim is an isometric real-time strategy management game where players take the role of an AI lab CEO, starting in a 50-kilowatt garage and scaling facilities up to 10 gigawatts to complete a frontier training run before competitor Vanta Labs.
How is Moonshot AI Kimi K3.1 Pro used during the development of AI Labs Sim?
Kimi K3.1 Pro is used through the OpenCode terminal interface to process high-level design prompts, propose mechanic expansions, and automatically write and patch C++ and Python game code.
What role does the Unit-0 coding agent perform inside AI Labs Sim?
Unit-0 is an embedded in-game terminal running a real Claude Code session that has scoped token access to inspect game parameters, advise players on strategic decisions, and write code enhancements.
How do autonomous department agents function within the AI Labs Sim company structure?
Autonomous agents run assigned departments such as power, compute, or research by testing adjustments, tracking their performance scores, and compiling successful actions into playbooks without direct player micromanagement.
What happens when heat exceeds cooling capacity during an AI Labs Sim play session?
Excess heat degrades rack performance and can cause server closets and data halls to catch fire, knocking infrastructure offline until repairs or additional cooling systems are installed.
Worth watching for
Game developers, software engineers, and artificial intelligence enthusiasts interested in procedural game development with coding LLMs and frontier AI lab simulation mechanics.
- game-development
- kimi-k3-1-pro
- ai-agents
- claude-code
- sdl3
- opencode