TUI Guide

Holon's terminal UI (holon tui) is the primary interactive interface for day-to-day work. It runs inside your terminal and supports agent switching, model selection, event inspection, and remote daemon connections.

Starting the TUI

holon tui

Start with alternate screen disabled (useful when the terminal renders incorrectly):

holon tui --no-alt-screen

Connect to a remote Holon daemon:

holon tui --connect https://your-server:8787 --token "your-token"
holon tui --connect https://your-server:8787 --token-file ~/.holon/token
holon tui --connect https://your-server:8787 --token-profile my-profile
OptionDescription
--no-alt-screenDisable alternate screen buffer
--connect <URL>Connect to a remote daemon
--token <TOKEN>Bearer token for remote connection
--token-file <FILE>Read token from a file
--token-profile <PROFILE>Use a stored token profile

Basic Navigation

The TUI is keyboard-driven. Type your message in the prompt area at the bottom and press Enter to send. Use Shift+Enter to insert a newline without sending.

Key bindings:

KeyAction
EnterSend message
Shift+EnterInsert newline
/ Navigate input history
EscDismiss overlay or slash menu
Ctrl+CQuit
/Open slash command menu

Slash Commands

Type / in the prompt to open the slash command menu. Use / to navigate and Enter to select. Press Esc to dismiss.

Agent Commands

CommandDescription
/agentsOpen agent picker overlay
/agent switch <id>Switch to a different agent
/agent create <name>Create a new agent
/agent start [id]Start an agent
/agent stop [id]Stop an agent
/modelOpen model picker for selected agent
/stateOpen agent state overlay
/abortAbort current agent run

Navigation Commands

CommandDescription
/helpShow slash command help
/eventsOpen raw events overlay
/transcriptOpen transcript overlay

Runtime Commands

CommandDescription
/tasksOpen task overlay
/refreshRefresh selected agent
/clear-statusClear local status line
/display <mode>Set chat display mode (info, verbose, debug, or numeric 3–5)

Skills Commands

Manage skills from the TUI:

CommandDescription
/skillsShow enabled skills for the selected agent
/skill-catalogBrowse the Skill Library catalog
/skill-add <source>Add a skill to the library
/skill-remove <name>Remove a skill from the library
/skill-enable <name>Enable a known skill for the agent
/skill-disable <name>Disable a skill for the agent

/skill-install and /skill-uninstall are no longer the primary slash commands. Use /skill-add and /skill-enable to add and activate skills, or /skill-remove and /skill-disable to remove and deactivate them.

Debug Commands

CommandDescription
/debug-promptOpen debug prompt dialog

Event Log

Use /events to open the raw event log overlay. This shows the underlying runtime events (agent messages, task lifecycle, control-plane operations) as they flow through the system. The overlay supports paging through event history.

Model Selection

Use /model to open the model picker overlay. It lists available models and lets you switch the selected agent's model without leaving the TUI. Model changes take effect on the next agent run.

The model picker respects your configured providers. Manage them with:

holon config providers list
holon config models list

Display Modes

Use /display <mode> to control how much internal detail appears in the chat view:

ModeWhat you see
infoUser-facing responses only
verboseIncludes tool calls and intermediate steps
debugFull internal traces, events, and diagnostics
35Numeric verbosity levels (3 = info, 4 = verbose, 5 = debug)

Remote Connection

When Holon runs as a daemon on a remote machine, connect with --connect:

holon daemon start --access tunnel   # on the remote machine
holon tui --connect https://your-server:8787 --token "your-token"

The daemon must be started with an access mode that accepts remote connections (tunnel or public). Use --access local for local-only TUI connections.

Agent Templates

The TUI supports browsing, installing, and creating agents from templates directly within the terminal. This avoids switching to the Web GUI or CLI for common template workflows.

Overlay Shortcut Prefix

All overlay shortcuts now use a common Ctrl+O prefix, replacing the previous single-key bindings. This prevents accidental overlay openings during normal typing.

After pressing Ctrl+O, a short hint appears in the status line. Press a target key to open the corresponding overlay:

KeyOverlay
HHelp
AAgent picker
EEvent log
MModel picker
TTemplate catalog
RTranscript
SAgent state

Press Esc to cancel the prefix and continue typing.

Persistent Display State

The TUI remembers your last display mode and restores it on restart. Display mode is stored per agent in ~/.holon/tui_state.json, so each agent maintains its own preference. This applies to the chat display mode (info, verbose, debug) set via /display <mode>.

Troubleshooting

See the Troubleshooting guide for common TUI issues including garbled display and daemon connection problems.