Haruspex

The 3D delegate

The 3D delegate lets a Code session hand 3D modelling to a different, usually stronger, model. The session's own model keeps reading code, running tests and talking to you; the delegate sees only the 3D brief and its own checks, so you pay a frontier model only for the 3D work. It is part of the 3D helper: see the 3d-helper page for check_3d, which the delegate uses, and the helpers page for all helpers.

Set a delegate model

Turn on the 3D switch in Settings → Code → Helpers, then set:

With no delegate model, the agent has no delegate_3d and uses check_3d itself, as before. The delegate's model must call tools, or it can't run its checks.

Use a different delegate in one session

With the 3D helper on, a session's Extras menu shows its 3D delegate. Change… opens the same picker with a Settings choice first. Pick a model to use it in that session only, marked "this session"; None turns the delegate off there, so the agent builds 3D assets itself with check_3d; Settings puts the session back on Settings → Code → Helpers → 3D. Save applies the choice. Two sessions can each hand work to a different model. The round and cost limits always come from Settings, and a change applies from the next message.

Ask for an asset

Ask as usual: "make a goblin with a walk cycle for assets/goblin.glb". The agent calls delegate_3d with:

Argument What it does
path where the .glb goes (required)
task what to make: size in metres, style, engine, clips, what it must fit (required)
images up to 3 reference pictures in the project: PNG, JPEG or WebP, 8 MB each
label the card's name; otherwise "3D: " and the file name
wait wait for the report in the same turn, when the next step needs the .glb

The delegate starts with an empty context. It can't see the conversation, so the agent writes the task in full. It can list, read, search and look at images anywhere in the project, and run check_3d. It writes only three files: the build module and animation module beside the .glb (goblin.js, goblin.anim.js) and the .glb itself; any other write is refused. It has no shell, web or subtasks.

It runs in the background: the agent's turn goes on, or ends, and you can keep talking to it. The report arrives as a new turn, shown as Subtask finished, which the agent answers. While it runs, its three files belong to it: the agent, other sessions on the folder, and a second delegate_3d call can't write them.

To change an asset, the agent calls again with the same path once the first call has finished. The delegate is told the modules exist, and edits them.

When it's done

The delegate works until check_3d reports no errors. When it stops, Haruspex runs the same check on the files on disk. If that fails, or the module was never written, the delegate is sent back once to fix it. At the round or cost limit it stops and gives its report without another check of its own.

The agent then gets the delegate's report (files, size, parts, clips, problems left, what it assumed), Final check: clean or Final check: errors remain with the errors, the files written and the cost. The final render sheet comes with it when the session's model reads images.

Follow it

Each call shows as a subtask card with its steps, the newest render sheet, and the tokens and cost so far. Stop on the card stops it. Its tokens and cost count toward the session's total. A remote delegate waits on its own server's queue, never on the session's local model.

It counts toward the 8 subtasks a turn may start, but follows Settings → Code → Helpers → 3D, not Settings → Code → Subtasks.

What it doesn't do