Houdini Agent/Help Center

Use hagent in interactive mode

Command line (hagent)Updated December 5, 2026

Run hagent on its own for interactive mode: type a request and press Enter, and the agent's thinking, tool calls and scene changes appear live in the terminal.

Start a conversation

  1. Run hagent in a terminal. It starts a new session by default. The welcome screen at the top shows the logo, version, current model, mode, working folder, what's new in this version and tips.
  2. Type your request after ▸ in the input box at the bottom and press Enter.
  3. Replies appear above the input box, which stays at the bottom so you can keep typing at any time.

The status bar under the input box shows the current mode, the connected Houdini and open scene, and how full the context is (it's compacted automatically at 85%), with the model and reasoning effort on the right. While a reply is running, the line above the input box shows what the agent is doing and how long it has taken. ▣ N images shows how many images will go with your next message.

Key Action
Enter Send
Ctrl+J New line (pasted multi-line text is kept as is and sent as one message)
/ + Tab Complete commands and skills, with a description next to each
Shift+Tab Switch between Agent, Plan and Ask mode
↑ / ↓ Browse what you've typed in this run
Note

When output is redirected, input comes from a pipe, or the terminal has no color (--no-color, NO_COLOR), hagent uses plain line input instead: the prompt is ▸, and typing a backslash \ at the end of a line before Enter adds a line break.

Reading the output

What you see Meaning
A full-width shaded line starting with ▍ Your message
∴ 思考 1.2s How long the agent thought and what about (/verbose shows all of it)
◇ tool arguments The agent called a tool
╰ ✓ / ╰ ✕ The tool succeeded / failed; ⊘ means a safety rule blocked it, ◷ means Houdini was busy
A block with line numbers and green/red shading The diff of a file or node-code edit: + added, − removed. The first 24 lines are shown; /diff shows all of it
Lines starting with + / − / ~ Scene changes: nodes created, nodes deleted, parameters changed (old → new). /undo reverts them, /keep keeps them
☰ 待办 The agent's to-do list and progress

Headings, lists, tables and code blocks in replies are laid out properly, with syntax highlighting. When Python fails, the code that ran is shown under the result.

Input that starts with / but whose first word isn't a known command (for example /obj/geo1 why is this erroring) is sent as a normal message, not treated as a command.

Stop a reply and exit

Action Effect
Esc (during a reply) Stops the current reply
Ctrl+C (with text in the input box) Clears the input box
Ctrl+C (during a reply) Stops the current reply; press again within 1.5 seconds to exit
Ctrl+C (when idle) Shows a hint; press again within 2 seconds to exit
Ctrl+D (empty input box) Exits
/exit (or /quit, /q) Exits
/stop Stops the current reply, same as Ctrl+C

The session is saved automatically when you exit. An empty session you never typed in isn't kept in the list.

Send messages while a reply is running

  • Type and press Enter: the message is inserted right away and the model reads it at its next step.
  • /queue <message>: sends it after this turn; /queue on its own lists the queued messages.

Answer confirmations, questions and plans

When the agent needs a decision from you, the terminal shows a yellow ? question:

Situation How to answer
Confirmation before an action (with /permissions on) y or Enter to allow, a to always allow this tool in this session, n to deny
The agent asks you a question Type the option number (separate several with spaces), or write your own answer
A plan in Plan mode Enter to approve and run, e to suggest edits, n to reject; any other sentence is taken as an edit request
Confirming deleting a session, rewinding and so on y to confirm, n to cancel

Pressing Ctrl+C while answering cancels that question.

To approve every confirmation automatically for this run, type /yes on, or start hagent with -y.

Attach images

  • /image <path> (or /img): attaches an image to your next message; repeat to attach more.
  • /paste: attaches the image on the clipboard.
  • /images shows how many are attached; /images clear removes them.

You can also attach images at startup with --image path, which can be repeated.

See more detail

By default only a short summary of tool calls is shown. Type /verbose, or start with --verbose, to show the full thinking, tool result details and the code being run. Type /verbose again to hide them.

Undo scene changes

The agent's node changes can be undone just like in the desktop app:

  • /undo undoes every change not yet kept; /undo #id undoes one of them.
  • /keep keeps every change; /keep #id keeps one of them.
  • /rewind [n] goes back to before your nth-from-last message and undoes the scene changes made since then (it asks you to confirm first).

For every command, see hagent slash commands.

Feed in several messages from a script or pipe

When standard input isn't a terminal (for example Get-Content steps.txt | hagent or hagent < steps.txt), hagent treats each line as one message, waits for each turn to finish before sending the next line, and exits after the last one. Slash commands work in the file too:

/ask
Which nodes under /obj have errors?
/agent
Fix the nodes that have errors

To send a single message and get structured output, use -p; see Run hagent non-interactively with -p and JSON output.

Was this article helpful?