Kalix

A 3D game engine I have been building in Rust since March 2026, with an AI agent as a working partner rather than a feature bolted on at the end.

Gold and red spheres on a grey floor in afternoon light. The nearest gold sphere is polished and mirrors the room; the ones further back are rougher and duller. Each sphere casts a soft shadow, and a glowing orb hangs between two white columns in the background.
A test scene rendered by the engine's game runtime: gold spheres going from polished to rough, red plastic ones behind them, sun shadows and a glowing orb. Captured for this section on November 28, 2026.

Kalix is a tool for one developer: me. It has a renderer, physics, animation, audio, combat, a game interface system and an editor, and it packs a finished game into a single file that runs without the editor. What makes it different is that the editor's own operations are the same commands an AI agent uses, so the agent can build, change, play and look at a game the way I do.

It is not released, and I am taking a break from it now. These articles are a look back at what it does and what building it taught me. They try to be exact about one thing in particular: what was measured, what was only checked by automated tests, and what nobody has ever looked at on a screen.

The articles, in reading order

  1. Kalix: One Way In, for Me, My Scripts and an AI Agent

    Kalix is a 3D game engine I build in Rust. Every change to a game goes through one queue of commands, whether I click a button, a script runs, or an AI agent asks. Here is what that buys, what it draws, and where its replays broke.

  2. Kalix Drops Its Scripting Language: Agents Write the Game Code, People Tune It

    Kalix shipped a scripting language so gameplay could change without rebuilding the engine. Once AI agents were writing the code, that reason went away. What replaced it: game code in Rust, and numbers in data files a designer edits while the game runs.

  3. Giving the Agent Eyes

    An AI agent could change everything in my engine and see none of it. Four read-only tools fixed that: a screenshot, a strip of frames, a labelled screenshot and a read of the game's input. Then the screenshots started finding bugs, including bugs in the screenshots.

  4. Passing Tests Are Not the Same as Looking

    Kalix has thousands of automated checks, and they kept passing while things on screen were wrong. Eight defects that only a person, or an agent, looking at the screen caught, and what I changed because of them.

  5. The A-Pose That Put 40 Degrees Into Every Clip

    I converted a bought pack of fighting animations for my engine. Every automated step passed, and every clip was wrong: the arms sat about 40 degrees too high. Why the check could not see it, and the checks built afterwards.

  6. Type What Your Hero Does: A Model Reads It, the Rules Decide

    A prototype where players describe their hero's action in plain words, a language model turns the words into actions from a fixed list, and a deterministic simulation decides what happens. What the measurements said, including the one that says it is not working yet, and why its next version is being built in Unity.

  7. What Kalix Is Good At

    I’m focusing on shipping Shatter Time with the engine I’ve already built, starting with a Kiln fight I can put in a playtester’s hands and improve with replays.

  8. Getting Duga Ready to Ship

    Duga already has shorter charts and reuses work during previews and crossings. What’s left is playtesting the campaign and checking how the release build runs.