Skip to main content

Terminal UI

The terminal UI is the default chat interface for Kiro CLI. It provides syntax-highlighted markdown rendering, interactive overlay panels, visual tool progress, and a full set of keyboard shortcuts for navigating your session. In Kiro CLI 3.0.0 or later, an interactive session starts on the V3 agent harness by default on a machine that can run it; kiro-cli --v2 runs the V2 harness in the same terminal UI. See Choose an agent harness.

Quick start

Launch a chat session:

bash
kiro-cli chat

In Kiro CLI 3.0.0 or later, the Classic interface no longer runs for interactive chat. See Using the classic interface for what happens when a command or setting still selects it.

Chat experience

Messages stream incrementally as the agent works. Responses render with full markdown support: syntax-highlighted code blocks, tables, lists, blockquotes, and nested formatting. Terminals that support synchronized output get flicker-free updates.

Use arrow keys to scroll through long responses.

While Kiro is working, the busy indicator shows elapsed active work time. The timer pauses whenever the turn is waiting for your approval or an answer to a question, then resumes after you respond.

Mermaid diagrams

Kiro CLI 2.31.1 and later draws supported Mermaid code blocks in agent replies as terminal art.

Mermaid headerDiagram
graph, flowchartFlowchart
sequenceDiagramSequence diagram
stateDiagram, stateDiagram-v2State diagram
erDiagramEntity-relationship diagram

In Kiro CLI 2.33 or later, flowcharts also draw subgraph ... end blocks as titled frames, start a new label line at <br/>, and color a node's border by its first style class (A:::focal or class A,B focal) when the theme knows the class name: function, class, file, directory, external, or focal. Node labels wrap across up to four rows; longer text ends in an ellipsis. In Kiro CLI 2.37 or later, nodes keep their shape (a decision diamond, a stadium, rounded corners, or a double border), nested subgraphs draw as nested frames whose nodes carry a group marker such as Group 1, and long labels wrap to fit a narrow terminal. Before 2.37, a nested subgraph made Kiro show the source instead. classDef, style, and linkStyle statements are skipped, so colors come from the theme, not from the diagram.

While an unfinished block streams, Kiro shows Drawing diagram. If the diagram is too wide, too large, unsupported, or uses unsupported syntax, Kiro shows its source and the reason. When ASCII art is off or KIRO_ASCII_MODE=1 is set, Kiro always shows the source.

In Kiro CLI 3.2 or later, a diagram that is too wide for your terminal but otherwise supported can open on its own screen. The notice under the source says so, and a row above the prompt names the key while the latest reply holds such a diagram. Press Ctrl+] or run /diagram to open the newest wide diagram at full width. Use the arrow keys or the mouse wheel to move around it, press Tab to step to older diagrams, and press Esc or q to return to the chat with your draft intact. Change the key with the chat.keybindings.viewDiagram setting.

Tool display

Each tool type has a dedicated visual component (shell commands, file operations, grep, glob, code intelligence, and more). While a tool executes, you see:

  • A descriptive title and spinner
  • A status icon on completion: ✓ for success, ✗ for error, ⏸ when awaiting approval
  • Collapsible output (press Ctrl+O to toggle between summary and full output)
  • Progress bars for long-running MCP operations

By default, MCP tool call summaries show all of the parameters passed to a tool, so you can see the full context of an invocation without expanding it. Sub-agent cards show a one-line prompt preview; press Ctrl+O to expand the full prompt. In Kiro CLI 3.2.1 or later, Output details can hide, shorten, or cap tool arguments.

In Kiro CLI 3.2.1 or later, shell, search, and generic tool output hangs off the corner of its tool call, and read calls show the file lines they returned under the call. Two or more finished tool calls in a row fold into one summary row; press Ctrl+O to expand it. A finished search that has left scrollback keeps its result count on one row without listing file names. A file-write card that is waiting for your approval always shows its complete diff; once the write finishes, its card follows your Output details caps. Choose how much detail every finished tool call shows, from one line per call to the full output, in Output details.

Large tool results in V3

For a large tool result, Kiro saves the complete result with the session and gives the model a short preview. This keeps the full output available without adding all of it to the model context.

Thinking display

When the agent reasons through a complex request, its reasoning ("thinking") blocks stream inline above the response. This is on by default (chat.showThinking). Long traces collapse to a tail view that you can expand or collapse with Ctrl+O.

In Kiro CLI 3.2.1 or later, set the display in /settings output-details (select Thinking); before 3.2.1, use /settings display (select Show thinking). You can also set it from the command line with kiro-cli settings chat.showThinking off; a command-line change applies to your next session. See Thinking display for details.

Sessions

The /chat command opens a fuzzy picker showing previous sessions with timestamps. Sessions are scoped to the current working directory, and sessions from the classic interface load in the terminal UI without issues.

You can also resume a specific session by ID:

bash
kiro-cli chat --resume-id <SESSION_ID>

For full details on session management, see Session management.

Interacting with the agent

Approval UX

When a tool requires permission, a notification bar appears above your input with Yes, Trust, and No options. If multiple tools need permission at the same time, approvals queue and appear one at a time. You can drill into an approval to provide feedback instead of a binary yes/no.

For shell commands, trust can be scoped at different levels: exact command, command prefix, or base command. See Permissions for the full trust model.

Model fallback notices

When the current model is unavailable or refuses a request, Kiro can move the turn to a fallback model. The transcript names the model that answered and whether the change applies to this turn only (unavailable) or to the rest of the conversation (refusal).

Model fallback is supported in V2 and V3 sessions. See Model fallback for its behavior and API-key limitations, and /model for the command and supported CLI versions.

Program status for supporting terminals

Kiro CLI V2 and V3 report their state through OSC 7501 on interactive terminals. Supporting terminals can show when Kiro is idle, working, done, waiting for your approval or answer, or stopped by an error.

Set KIRO_NO_PROGRAM_STATUS=1 before launch to turn these updates off:

bash
KIRO_NO_PROGRAM_STATUS=1 kiro-cli chat

Model availability notices

Once the model list is known, a new V3 terminal UI session checks its saved default. If that model is unavailable, Kiro uses the service-provided default and points you to /model. It does not rewrite chat.defaultModel.

If the model list is not available yet, Kiro keeps the current selection without showing an availability notice.

An unavailable model from the agent configuration or a resumed session stays selected. Kiro reports that requests will fail. Choose another model with /model, or update the agent configuration when it owns the selection.

If an explicit --model value is unavailable, Kiro keeps it selected and reports that requests will fail. Choose another model with /model.

The same availability check runs after /chat new and /clear. V3 headless runs do not show these session-start notices.

V2 does not show session-start availability notices. It keeps an unlisted model ID, and each request fails until you choose another model. Turn-level fallback does not cover an unlisted model ID.

Input

The terminal UI supports several input methods beyond standard text entry.

FeatureHow
NewlineShift+Enter, Ctrl+J, or Alt+Enter
Configure multi-line keys/settings terminal auto-configures your terminal app
File/directory reference@path with tab-complete picker
Paste image/paste or paste from clipboard
Paste long textLong pastes collapse into a chip. Press Tab on a chip to expand it into inline editable text
Input queuingType your next message while the agent is processing, and edit queued messages before they send
Command historyUp/Down arrows. Per-session by default; switch to a shared history with /settings history
Reverse history searchCtrl+R
Multi-line editor/editor opens $EDITOR (defaults to vi)

Shell escape

Run shell commands without going through the agent by prefixing with !:

bash
!npm run build

Output streams in real time. Long output collapses to a head + tail view. Press Ctrl+O to expand.

Real-time shell output

Shell command output from the agent streams to the terminal line by line as it runs, so you can follow build progress, test output, and deployments as they happen. You'll see output appear incrementally instead of all at once when the command completes.

UI components

Overlay panels

Commands like /help, /context, /tools, /mcp, /knowledge, and /code open as overlay panels. Each panel is searchable, scrollable, and dismissible with Esc.

Activity tray

Press Ctrl+X to see task progress and queued messages at a glance without scrolling through conversation history.

Crew monitor

Press Ctrl+G to monitor subagent activity and spawned sessions in real time during multi-agent workflows. Navigate between sessions with Ctrl+D/Ctrl+U and press q to close. In Kiro CLI 3.3.0 or later, the monitor and the inline subagent panel show the task each subagent was given, and the monitor marks the subagent's final response. Use /spawn <task> to launch a parallel session from the command line, or set up subagents to see them in action with the crew monitor. See Subagents for the subagent side, and /spawn in the Slash commands reference for user-driven sessions.

Workflow monitor

Run /workflow to open workflow history, select a run, and enter its full-screen monitor. The monitor shows the step tree, active-step output, run status, and context-sensitive controls. In Kiro CLI 3.1.0 or later, each workflow step row shows the credits that step used.

ShortcutAction
Arrow keysSelect a run or step
pRequest a cooperative pause
rResume a paused run or retry failed/aborted work when offered
sSend a text reply to the selected paused step
Ctrl+XArm a stop; press Ctrl+X again to confirm, or Esc to keep the run going
EscClose the current form or return to the previous view

Workflow commands also accept an explicit run ID. See Run and manage workflows for command syntax, recovery, and the difference between Pause and Stop.

Spec review

When a spec run reaches a phase checkpoint, the checkpoint offers to open the phase document for review. Press Ctrl+X to read the document in place and stage comments against the lines you want changed. Returning to the checkpoint keeps your comments staged, and answering the checkpoint question sends them all to the agent as one revision request.

The review screen also supports the mouse: scroll to navigate the document and click to position the cursor on a line. Press m to toggle mouse support on or off.

ShortcutAction
↑ ↓ / j kMove a line
PgUp PgDn / Ctrl+U Ctrl+DMove half a page
n NNext / previous section
] [Next / previous comment
Home End / g GJump to top / bottom
Enter / eComment on this line, or edit the comment under the cursor
DelDelete the comment under the cursor
mToggle mouse support (scroll to navigate, click to position)
?List every shortcut
Esc / qReturn to the checkpoint

Because this surface owns the keyboard while it's open, Ctrl+X, Ctrl+U, and Ctrl+D act on the document here rather than toggling the activity tray or moving between subagents.

See Specs for the full spec workflow.

Themes

Three built-in themes ship with the terminal UI: dark, light, and safe (an ANSI fallback for SSH or constrained terminals). The UI auto-detects your terminal background and selects the appropriate theme. Use /theme to customize colors with a live preview or switch between base themes.

Themes use named ANSI colors instead of hardcoded hex values, so they render correctly on terminals with remapped color palettes. The NO_COLOR environment variable is respected — set it to disable all color output.

Slash commands

Slash commands open interactive panels or trigger actions. All panels support fuzzy search and close with Esc.

CommandDescription
/helpAll available commands
/contextContext breakdown with per-file token percentages. Supports add, remove, show, and clear subcommands
/usageUsage limits with progress bar, credit balance, and the credits the current session has used so far
/knowledgeKnowledge base management
/promptsMCP and file-based prompts via a selection menu with detail drill-in
/editorOpen $EDITOR to compose multi-line prompts
/feedbackSubmit feedback about Kiro CLI
/pastePaste an image from the clipboard
/chatSwitch between previous sessions via a fuzzy picker
/fullscreenToggle a dedicated full-terminal conversation view with mouse scrolling
/planEnter plan mode (also Shift+Tab)
/agentSwitch between agents
/modelSwitch the active model and configure thinking and effort
/mcpView MCP servers and registry status
/toolsView available tools. In V3, /tools trust-all trusts every tool for the rest of the session; per-tool trust and reset subcommands are CLI 2.x-only
/codeCode intelligence panel
/hooksView configured hooks
/guideCLI 2.x only: switch to the Kiro Guide agent. V3 uses the introspect subagent for documentation help
/transcriptOpen the conversation transcript in $PAGER (also Ctrl+T)
/themeOverride theme colors for prompt and response text
/settingsConfigure theme, keybindings, terminal input, display preferences, and account-available features
/effortOpen the /model picker focused on Effort in V2 and V3; /effort <level> changes the current session directly. Use /model as the primary reasoning interface
/rewindFork conversation at an earlier turn to explore a different path
/workflowOpen workflow history or run, inspect, pause, resume, cancel, and retry declarative workflows
/goalStart a goal-driven iterative loop
/copyCopy the last assistant response to clipboard (works over SSH)
/spawnRun a parallel agent session with a task
/clearErase this session's conversation history and reset its context
/compactSummarize the conversation to free context space
/replyReply to the last message
/exitExit the session (alias for /quit)
/skill-nameInvoke a skill directly by name (e.g., /pr-review). See Agent Skills

For the full command reference, see Slash commands.

Terminal features

The terminal UI detects your terminal's capabilities and adapts automatically.

FeatureDetails
Progress indicatorTerminal tab/title bar animates and reflects agent state (streaming, pending approval, error) while Kiro works. Supported in iTerm2, WezTerm, Windows Terminal, and ConEmu (with ANSI processing enabled)
Clickable hyperlinksMarkdown links are clickable in iTerm2, WezTerm, kitty, and Ghostty
Theme detectionAutomatically detects dark/light mode from your terminal background
256-color fallbackGraceful degradation for terminals without truecolor
Non-ASCII supportCJK characters, emoji, and accented letters render correctly

Configuration

UI mode precedence

The UI mode is determined in this order (highest to lowest priority):

  1. CLI flag: --tui or --classic
  2. Environment variable: KIRO_CHAT_UI
  3. Setting: chat.ui
  4. Default: tui

In Kiro CLI 3.0.0 or later, a value that selects classic no longer opens the Classic interface for interactive chat. See Using the classic interface.

Disabling individual features

Opt out of specific terminal features with environment variables:

bash
KIRO_NO_HYPERLINKS=1 kiro-cli chat # Disable clickable links KIRO_NO_PROGRESS=1 kiro-cli chat # Disable progress indicator KIRO_NO_SYNCHRONIZED=1 kiro-cli chat # Disable synchronized output

Using the classic interface

In Kiro CLI 3.0.0 or later, the Classic (V1) interactive experience no longer runs. A launch that still selects it is offered Continue with V3, and a headless run that selects it prints a notice and follows the headless default; see If a launch still selects Classic. To use the V2 harness instead of V3, run kiro-cli --v2; the terminal UI stays.

Before Kiro CLI 3.0.0, the Classic interface was deprecated but still ran. Starting with Kiro CLI 2.26.0, a classic session shows a notice that names the flag, environment variable, or setting that selected it. To return to the terminal UI on those versions, remove --classic from your command, unset KIRO_CHAT_UI, or run kiro-cli settings chat.ui "tui", then restart Kiro CLI.

Customizing keybindings

Override the default cancel, close-menu, and quit shortcuts through settings. Values accept ctrl+, shift+, and alt+/meta+ modifiers with a single key. Invalid values fall back to the built-in default.

bash
kiro-cli settings chat.keybindings.cancelStream "ctrl+x" kiro-cli settings chat.keybindings.closeMenu "ctrl+[" kiro-cli settings chat.keybindings.quit "ctrl+shift+q"

See Key bindings (terminal UI) for the full setting reference.

Keyboard shortcuts

Text editing

Core editing shortcuts, including a full Emacs-style kill ring.

ShortcutAction
Shift+EnterInsert newline
Ctrl+JInsert newline
Alt+EnterInsert newline
Alt+BackspaceDelete previous word
Ctrl+WDelete previous word (kill ring)
Ctrl+KKill to end of line
Ctrl+UKill to start of line
Ctrl+LClear the screen. Earlier output stays in terminal scrollback (inline) or reachable with Page Up (fullscreen)
Ctrl+YYank (paste from kill ring)
Ctrl+_Undo last edit

Move through your session and search previous inputs.

ShortcutAction
Up / DownNavigate prompt history
Arrow keysScroll line-by-line
Ctrl+RReverse incremental history search

By default, prompt history is per-session: Up/Down recall only the prompts you entered in the current session. Run /settings history to switch between session (default) and global (shared across all sessions) modes. The change applies to your next session.

Panels and views

Open and navigate the overlay interfaces.

ShortcutAction
Ctrl+GOpen crew monitor
Ctrl+D / Ctrl+UNavigate between subagents (crew monitor)
qClose crew monitor
Ctrl+XToggle activity tray. In Output details or /verbosity, cycles the preview. At a spec phase checkpoint, opens spec review instead
Ctrl+TOpen conversation transcript in $PAGER
Ctrl+OExpand/collapse tool output and thinking traces; reveal every change in the What's New popup
EscClose panels, cancel agent, clear prompt queue

Agent interaction

Control the agent and manage your session.

ShortcutAction
TabDrill into approval options / autocomplete file references
Shift+TabEnter plan mode
Ctrl+CExit session
Ctrl+DExit session (from chat input)
Ctrl+Z (twice)Suspend the session. A double-press is required to avoid accidental suspension while the agent is streaming

Platform support

The terminal UI is supported on macOS, Linux (including Red Hat Enterprise Linux), and Windows.

In Kiro CLI 3.0.0 or later, macOS and Windows machines can run the V3 harness. On a Linux machine whose glibc is older than V3 needs, a launch that names no harness opens the terminal UI with the V2 harness, and kiro-cli --v3 stops instead of starting. See Linux machines with older glibc.

Limitations

  • Requires embedded assets in the build. In Kiro CLI 3.0.0 or later, if they are missing, Kiro prints a reinstall message instead of falling back to the Classic interface.
  • Agent shell tool does not support interactive commands that require user input. See the shell escape section for details and workarounds.
  • External diff tools (chat.diffTool setting) are not yet supported. All diffs use the built-in viewer.
  • Some terminal emulators may not support all features (hyperlinks, progress indicators, synchronized output). Use the environment variables in Configuration to disable specific features.

Troubleshooting

Terminal UI not loading

Verify your setting:

bash
kiro-cli settings list | grep chat.ui

If the setting is correct but the terminal UI still doesn't load, update to the latest version of Kiro CLI. In Kiro CLI 3.0.0 or later, a reinstall message at launch means the terminal UI assets are missing; reinstall Kiro CLI by following Installation, then start a chat again.

Rendering issues

If you see visual artifacts or broken rendering:

  1. Try a different terminal. iTerm2, WezTerm, kitty, and Ghostty provide the best experience.
  2. Disable synchronized output: KIRO_NO_SYNCHRONIZED=1 kiro-cli chat
  3. Check that your terminal supports truecolor (most modern terminals do).
Page updated: November 16, 2026