In-gen

Harmony: In-gen's AI agent

Harmony builds and changes your game from plain-language requests, inside the editor, with the AI service you already use. This page explains how it works, what it can drive, and how to get good results for less.

Written for In-gen 1.0.0 beta 34 · Updated November 23, 2026 · New to In-gen? Start with Getting Started.

What Harmony is

Harmony is the agent panel on the right of the In-gen editor. You describe what you want, and Harmony works directly in your open project: it places objects, sculpts terrain, writes gameplay code, builds models, lights the scene, writes cutscenes and plays the game to check its work. It acts through the same editor actions you use by hand, so everything it makes shows up in the editor and stays editable.

Harmony is not a model. It is the workspace around one: the tools, the project rules, the approval flow and the history. The intelligence comes from the AI service you connect, and you can switch services in the middle of a task without losing the conversation, because the conversation belongs to the editor rather than to any one provider.

Bring your own AI

In-gen does not sell AI access. You connect an account you already have, either during first-run setup or later from Agent > Set Up Agents…. The model menu at the top of the Harmony panel then lists every connected provider and its models.

The Set up your agents dialog with OpenAI ticked, offering ChatGPT subscription (Codex), OpenAI API key, and Codex CLI drives In-gen (MCP), with the model set to Codex default. Claude, Gemini and Antigravity cards are unticked.
Each service can connect through a subscription, an API key, or as an outside agent over MCP.

The difference between the two kinds matters for cost. A subscription spends your plan's usage allowance. For Claude, Codex and Antigravity, the vendor's own agent runs the task, and every tool call it makes still passes through In-gen. With an API key, In-gen runs the loop itself and the provider bills each token. The Effort menu beside the model menu sets how hard Claude, Codex or Gemini thinks on a task, from fastest to deepest; Default keeps the provider's normal behaviour.

How a request flows

  1. You ask. Type the request and press Enter. Attach the selected object, the viewport center, a picture of the current view, or your own reference images, so Harmony knows exactly what you mean.
  2. Harmony reads and plans. It reads the parts of the project the request touches: the scene, the relevant Systems and files. A small change goes straight to work. A large job, such as a whole game, gets a written plan in Design/ first, and Harmony starts step 1 only after you approve it. An open plan stays at the top of the panel with its progress and a Continue button, so the work can carry on in a later session.
  3. Harmony acts. It makes changes through editor actions and project files. A task card above the conversation shows what it was asked, what it is doing now, and Pause and Stop. You can type while it works; it reads your message at its next step. For big jobs, Claude can hand independent parts, such as one model or one gameplay module, to up to three helper agents that use the same tools and approvals.
  4. Harmony checks. It can play the game, run scripted tests that step the game and check values, read the events a play session produced, and look at rendered frames. Edits you make in the editor during a task are reported to it as yours, and it does not undo them.
  5. Harmony reports. The final message says what changed, how it was tested, and what was not tested.
The Harmony panel beside a dark kitchen scene from the DEAD HOUSE zombie game. Harmony's final message says a broken door can now be rebuilt, describes testing it in Play with 4 wood (a progress bar, the door back at 100 HP for 2 wood), explains the two problems it fixed, mentions a new break_door test command, and lists the two zombie cases it did not test.
The end of a real request on DEAD HOUSE: what Harmony fixed, how it tested the fix in Play, and the two cases it says are still untested.

Long tasks fill the model's context. With Compact context automatically on (the default), Harmony summarizes older context and keeps going, and the conversation shows a "Context compacted" line each time. Compact now does it on demand, and the meter beside it shows how full the context is when the provider reports it.

Part of a Harmony conversation. The user writes: The ability to repair a broken door is missing. Harmony replies with short progress notes about checking how zombies behave at a broken door, re-reading the door rules because the project changed, and the three things blocking a rebuild, with Context compacted lines between the notes.
Progress notes from the same request. The "Context compacted" lines mark where Harmony summarized its context to continue.

Approvals, review and undo

A finished task asks you to look before you save. Its card shows the outcome and the controls for reviewing it:

The top of the Harmony panel with Claude Opus selected and Effort set to High, and a task card marked COMPLETED that reads Please inspect the changes before saving, with View Changes (13) and Inspect buttons.
A completed request with 13 changes to review.

Batched edits count as one undo step. When Harmony places twenty trees in one go, one undo removes all twenty.

Approval cards let you approve each action before it runs. They are off by default: the setting Approve all agent actions starts on, and every action is logged in the chat as it happens. To turn cards on, open Settings > API Keys and untick that setting at the top of the panel. From then on, actions that change files, run a command or spend credits wait for you. Each card shows the action, the task it belongs to, how many lines it adds and removes, and a line-by-line diff or the exact command. You can Approve it, Always allow this tool for the rest of the session, Approve all (which turns the setting back on), or Deny it. A Meshy generation card also shows your balance and the most credits the call can cost.

Systems and Sheets

Game rules buried in code are hard to change. You have to find the number, understand the code around it, and ask the agent again for every tweak. In-gen avoids that by giving every rule a home you can see.

A System is one mechanic, such as the player controller, a shop or a coin pickup. Each System has:

Sheet columns are typed. A number column can have a minimum, a maximum and units. There are also picker types (an asset, an animation, a choice from a list, a row of another sheet) and structured types: lists of rows with quantities or weights, curves, 3D vectors and colours. When you Play, a value that does not fit its column, or a reference to something missing, is refused with a message naming the sheet, row and column. A column for design notes can be marked editor-only, so release builds leave it out.

Sheets hold the defaults. When one placed object needs its own value, such as a single locked chest, its sheet can expose that column, and you set the value on that object alone. The object keeps only what it overrides, so later changes to the row still reach it.

You can work on Systems without Harmony too. The + button in the Systems list creates one, Import brings in an Excel workbook, and a System's page offers Send to Harmony to have Harmony implement what you described, Copy prompt for another agent, and Mark implemented. When you edit a sheet and save it, Harmony is told on its next request that you made the change, so it builds on your values instead of reverting them.

Worked example: a coin pickup

Suppose you ask: "Add coins the player can pick up. Each gives 5 gold and comes back after 30 seconds." Harmony does not hard-code 5 and 30. It sets up:

It finishes by naming exactly what to edit, for example: "Edit Systems > Coin Pickup, sheet Coins, column Gold."

The Systems section with a Coin Pickup System selected. Its page shows the status Not implemented, the buttons Send to Harmony, Copy prompt and Mark implemented, a description explaining how to tune Gold, Respawn and Asset, the Coins sheet with 2 rows, and the files gameplay/coin_pickup.mjs and its test.
A Coin Pickup System in a test project, described with its Coins sheet before its code exists. It reads Not implemented until the module is written; Send to Harmony asks Harmony to write it.

From then on, making coins worth 10 is a one-cell edit: open the Coins sheet, change Gold, save, and play. No prompt, no tokens. Adding a big_coin row worth 25 is a data change too, as long as the System reads every row. If it needs new code, Save & Implement sends just the edited rows to Harmony.

Some requests do not need a System: a one-off test, a pure scene or asset edit, or logic with nothing to tune. Harmony records the exception and the reason instead.

Harmony Intent

Most of an agent's cost is not the code it writes. It is the context it re-reads on every step, and the number of steps it takes. Harmony Intent is the compact language Harmony uses to cut both:

We measured it on a scene-editing benchmark of 7 tasks, each run twice:

MeasureBeforeWith Harmony Intent
Tokens per task (average)about 89,000about 34,000 (about 60% less)
Tool calls per task12.94.7
Successful runs11 of 1414 of 14
Placing 34 trees235,000 tokens44,000 tokens

That is a small benchmark, so treat the exact numbers with care: your savings depend on the model and the task. The direction was consistent across the runs, though.

The same idea applies to 3D models. Harmony writes a short Intent plan and Kiln builds it, instead of Harmony writing Kiln's JavaScript by hand. In two head-to-head tests, plans cost 13% and 32% less.

The tools Harmony drives

Harmony uses real tools on your computer, which In-gen sets up for you. Most of them are local and cost nothing beyond your AI usage.

CineGen Director and Harmony Flow

Harmony Intent describes what is in a scene; Harmony Flow describes how it is filmed over time. A cutscene is a cut file in cinematics/, and Harmony Flow is its text: beats, cast, shots, camera moves, staging, lights, fades, sound cues and on-screen text. Harmony writes a cut in one step, and every line is checked first. A mistake comes back as the line number, an error code and a likely fix, and nothing is written until the whole cut checks.

You can also write and edit cuts yourself in the Director section, scrub the timeline, and use Grab camera to turn the current view into a shot. The same cut plays as an in-game cutscene or renders frame by frame to video, so the video has no dropped frames, and renders can mix in your own music and sound effects. The 60-second short From Idea to Asset on the In-gen home page was made this way.

External agents over MCP

If you already work in Claude Code or Codex, you can drive In-gen from there instead of from the Harmony panel. In-gen runs a local MCP server that those agents connect to.

  1. Open Agent > External Agent (MCP)… and tick Enable external agents. Turning it on also registers In-gen with Claude Code and Codex.
  2. If registration fails, or you use Antigravity or the Gemini CLI, copy the command for your agent from the same window and run it in a terminal.
  3. Keep In-gen open with the project you want changed, then start (or restart) your agent session.
The External Agent (MCP) window with an unticked Enable external agents checkbox marked Off, a paragraph explaining that turning it on registers In-gen with Codex and Claude Code and that changes ask for approval in the editor, and a Copy command button for Claude Code.
External Agent (MCP) is off until you turn it on.

An outside agent's changes go through In-gen's approval path. With Approve all agent actions turned off, each one appears as a card in the editor marked External agent (MCP), and a card left unanswered expires after ten minutes without running. Outside agents keep their own Always allow grants, separate from Harmony's, and only one agent can change the project at a time. You can also choose an agent's MCP option during first-run setup.

Custom OpenAI-compatible endpoint

Beta 34 added Custom (OpenAI-compatible), for local models and gateways: Ollama, LM Studio, vLLM, OpenRouter, or a company server.

  1. Choose Custom (OpenAI-compatible) in the model menu.
  2. Open Settings > API Keys and fill in the Base URL (for Ollama, usually http://localhost:11434/v1) and the Model name exactly as the server knows it.
  3. Press Test connection. It sends one tiny request with no tools and reports which model answered.
  4. Press Save endpoint. Add an API key only if the server needs one.
The Harmony settings panel with Approve all agent actions and Compact context automatically ticked, the API Key tab selected, a Base URL of http://localhost:11434/v1, a model name of qwen3-coder, Save endpoint and Test connection buttons, a warning that your project and prompts are sent to this address, and an optional API key field.
The custom endpoint settings, with the Approve all agent actions setting at the top.

Things to know before you rely on it:

Tips for cost and good results

Privacy: what is sent where

The privacy policy has the full details, including update checks and website data.