The Agent panel
The Agent tab, next to the Inspector, talks to Claude Code about the open project. It answers questions, reads the scenes, the scripts and the documentation, and proposes changes that you apply.
The model uses the same tools as aego and aego mcp, on the editor's open documents. It sees unsaved edits, and what it changes in an open scene or script becomes an Undo step there instead of a write to disk.
Setting up
- Install Claude Code, the
claudecommand. - Sign in once by running
claudein a terminal.
The panel looks for claude on your PATH. When it is not there, the panel says so and takes the path of the program; Check Again looks once more. Claude Code only gets the aego tools: no shell and no file access of its own.
Asking
Type in the field at the bottom and press Enter. While the agent answers, Send turns into Stop, which ends the answer and rejects whatever still waits. Under the field the panel shows what the last answer cost and how long it took.
- Type
@to pick a node of the open scene or an asset. It goes in as a chip; the agent gets the node's id and scene, or the asset's path. - Right-click a node in the Hierarchy and pick Ask Agent…, or a problem in Problems and pick Ask Agent to Fix. The text waits in the field until you send it.
- With an empty transcript, the panel offers three examples; a click sends one.
Steps
Each tool call is a row: an icon, what the agent did and what it found, such as Read scene main.aescene · 48 nodes. Steps that only read fold into one row, Looked around · 9 steps; open it to see each step, and open a step to see its result laid out: search results, a node tree, fields with their values, assets, components by category, a log. A click on a result goes to it: a page of the documentation, a node, an asset.
While the agent works, the last row says what it is doing, Reading the project… or Preparing a change…. A step that failed shows its error with Retry and Ask Agent to Fix.
Questions
When there is more than one way to do something, the agent asks with a card of options, the one it recommends first. Click an option or press its number. Type an answer of your own in Something else… and press Answer; when the agent lets you pick several options, tick them first. The agent waits for the answer and goes on with it.
Changes
Every change the agent wants becomes a card, grouped by node: new nodes and components, and each field with its value before and after, by the names the Inspector uses.
- Apply makes the change, on the scene as it is now. Skip tells the agent no. Dry-run shows everything the dry run reported, with its notes and problems. A card nobody answers is skipped after ten minutes.
- With Auto-apply on, cards apply at once, except removals, moves, deletes and reference fixes. Those always wait for you and carry a warning sign.
- When several cards wait, Apply All above the first one applies them and the rest of that answer's cards the same way. It stops when the answer ends.
- An applied card folds to one line with a check mark; open it for Undo and Select, which selects the nodes it changed.
The agent is asked to send the edits of one scene together, so a new node with its components and fields is one card.
Following the agent
The eye button in the header, Window → Follow the Agent or Ctrl+Alt+F turns following on. While it is on, the editor shows each step where it happens:

- A scene step opens the scene, selects the node with an outline of its own in the agent's colour, frames it in the Scene View and shows it in the Inspector at the component. Your own selection stays as it was, and Delete and Copy still act on it.
- A changed field lights up for two seconds, a new node or component lights whole, and a removed node fades where it was.
- A script step opens the script at its line. The lines a waiting card would change show their new text as ghost lines; once applied, they stay marked in the gutter for a while.
- A run or a check brings Problems or the Console forward, with the new entries lit.
The agent's avatar marks where it works: on the node in the Hierarchy, over it in the Scene View, on the component in the Inspector and on the lines in the code editor. The row under the header says where it is; a click goes there.
Any click, key or scroll of yours outside the Agent panel pauses following, so the editor never moves under your hands. Resume Following goes on at once; after 30 seconds without input it goes on by itself.
When you edit a field the agent is about to change, the Inspector says so, and your change is made again after the agent's, as its own Undo step.
The dots above the message field are the steps of the session, coloured by what they did. Point at one for what it changed, click it to go there, and right-click a change for Undo to Here.
Scripts
The agent reads scripts and changes them with cards too. An open script changes in its buffer, as one Undo step of the code editor, and is saved like your own edits; a closed one changes on disk. A new script is a card as well, and Undo on it removes the file.
Undo
Each applied change is one Undo step of the scene you edit, named Agent: …. A change to a project setting, such as gravity, is a step too, and Undo puts the old setting back.
- Undo on a card works while its step is still the last one. After other edits, use Edit → Undo or the Undo History.
- Changes made during Play go to the running game, like your own edits in Play: the agent's changes show in Play changes when you stop, where you keep or drop them.
Sessions
The header shows the session by its first message, and what the agent does: idle, thinking, working or waiting for you. The menu next to Auto-apply has New Session, History…, Plan Only and Stop.
- Plan Only keeps the agent from changing anything: it describes the changes and their order, and you turn the plan into changes when you turn it off.
- Each conversation is written to
.aego/user/agent/<date-time>.jsonl, one line per message, tool call, result and card state. History…, or a click on the session name, opens an earlier session read-only. A new message always goes to the current session.
Context
The gauge in the header shows how much of the model's context window the session uses; it turns yellow past 80 % and near the point where the agent compacts its history. A click opens the layout:

- The total is what the model read for its last answer, as the CLI reports it. The parts are the editor's estimate of what it put there, scaled to that total: Messages (yours and the agent's), Scene (scene trees and nodes), Code (scripts the agent read), Docs, Project & schema, Tool results (runs, checks, changes), the editor's Instructions and Tool definitions, and the CLI's own System prompt. Compaction buffer is the room the CLI keeps; the history is compacted when the context reaches it, and the transcript says so.
- A part opens to its contributions, largest first. Drop leaves one out: the next message starts the session again with a shortened history, where your messages and the agent's answers stay, results become one-line summaries and dropped ones are gone. Pin keeps a result in full in that history.
- Send with every message adds the open scene and the selection to each message, so the agent knows what you look at.
- Read limits keep large reads small: a scene tree up to a number of nodes and levels, with the rest counted, a documentation search up to a number of results, and a script longer than the limit read in parts. They are kept in
prefs.aetext. - New Session with Summary asks the agent for a summary of the session, starts a new one and sends the summary, with the names of the nodes the session changed, with your next message.