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.
Launch a chat session:
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.
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.
Kiro CLI 2.31.1 and later draws supported Mermaid code blocks in agent replies as terminal art.
| Mermaid header | Diagram |
|---|---|
graph, flowchart | Flowchart |
sequenceDiagram | Sequence diagram |
stateDiagram, stateDiagram-v2 | State diagram |
erDiagram | Entity-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.
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+Oto 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.
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.
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.
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:
kiro-cli chat --resume-id <SESSION_ID>
For full details on session management, see Session management.
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.
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.
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:
KIRO_NO_PROGRAM_STATUS=1 kiro-cli chat
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.
The terminal UI supports several input methods beyond standard text entry.
| Feature | How |
|---|---|
| Newline | Shift+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 text | Long pastes collapse into a chip. Press Tab on a chip to expand it into inline editable text |
| Input queuing | Type your next message while the agent is processing, and edit queued messages before they send |
| Command history | Up/Down arrows. Per-session by default; switch to a shared history with /settings history |
| Reverse history search | Ctrl+R |
| Multi-line editor | /editor opens $EDITOR (defaults to vi) |
Run shell commands without going through the agent by prefixing with !:
!npm run build
Output streams in real time. Long output collapses to a head + tail view. Press Ctrl+O to expand.
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.
Commands like /help, /context, /tools, /mcp, /knowledge, and /code open as overlay panels. Each panel is searchable, scrollable, and dismissible with Esc.
Press Ctrl+X to see task progress and queued messages at a glance without scrolling through conversation history.
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.
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.
| Shortcut | Action |
|---|---|
| Arrow keys | Select a run or step |
p | Request a cooperative pause |
r | Resume a paused run or retry failed/aborted work when offered |
s | Send a text reply to the selected paused step |
Ctrl+X | Arm a stop; press Ctrl+X again to confirm, or Esc to keep the run going |
| Esc | Close 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.
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.
| Shortcut | Action |
|---|---|
↑ ↓ / j k | Move a line |
PgUp PgDn / Ctrl+U Ctrl+D | Move half a page |
n N | Next / previous section |
] [ | Next / previous comment |
Home End / g G | Jump to top / bottom |
Enter / e | Comment on this line, or edit the comment under the cursor |
Del | Delete the comment under the cursor |
m | Toggle mouse support (scroll to navigate, click to position) |
? | List every shortcut |
Esc / q | Return 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.
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 open interactive panels or trigger actions. All panels support fuzzy search and close with Esc.
| Command | Description |
|---|---|
/help | All available commands |
/context | Context breakdown with per-file token percentages. Supports add, remove, show, and clear subcommands |
/usage | Usage limits with progress bar, credit balance, and the credits the current session has used so far |
/knowledge | Knowledge base management |
/prompts | MCP and file-based prompts via a selection menu with detail drill-in |
/editor | Open $EDITOR to compose multi-line prompts |
/feedback | Submit feedback about Kiro CLI |
/paste | Paste an image from the clipboard |
/chat | Switch between previous sessions via a fuzzy picker |
/fullscreen | Toggle a dedicated full-terminal conversation view with mouse scrolling |
/plan | Enter plan mode (also Shift+Tab) |
/agent | Switch between agents |
/model | Switch the active model and configure thinking and effort |
/mcp | View MCP servers and registry status |
/tools | View 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 |
/code | Code intelligence panel |
/hooks | View configured hooks |
/guide | CLI 2.x only: switch to the Kiro Guide agent. V3 uses the introspect subagent for documentation help |
/transcript | Open the conversation transcript in $PAGER (also Ctrl+T) |
/theme | Override theme colors for prompt and response text |
/settings | Configure theme, keybindings, terminal input, display preferences, and account-available features |
/effort | Open the /model picker focused on Effort in V2 and V3; /effort <level> changes the current session directly. Use /model as the primary reasoning interface |
/rewind | Fork conversation at an earlier turn to explore a different path |
/workflow | Open workflow history or run, inspect, pause, resume, cancel, and retry declarative workflows |
/goal | Start a goal-driven iterative loop |
/copy | Copy the last assistant response to clipboard (works over SSH) |
/spawn | Run a parallel agent session with a task |
/clear | Erase this session's conversation history and reset its context |
/compact | Summarize the conversation to free context space |
/reply | Reply to the last message |
/exit | Exit the session (alias for /quit) |
/skill-name | Invoke a skill directly by name (e.g., /pr-review). See Agent Skills |
For the full command reference, see Slash commands.
The terminal UI detects your terminal's capabilities and adapts automatically.
| Feature | Details |
|---|---|
| Progress indicator | Terminal 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 hyperlinks | Markdown links are clickable in iTerm2, WezTerm, kitty, and Ghostty |
| Theme detection | Automatically detects dark/light mode from your terminal background |
| 256-color fallback | Graceful degradation for terminals without truecolor |
| Non-ASCII support | CJK characters, emoji, and accented letters render correctly |
The UI mode is determined in this order (highest to lowest priority):
- CLI flag:
--tuior--classic - Environment variable:
KIRO_CHAT_UI - Setting:
chat.ui - 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.
Opt out of specific terminal features with environment variables:
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
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.
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.
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.
Core editing shortcuts, including a full Emacs-style kill ring.
| Shortcut | Action |
|---|---|
Shift+Enter | Insert newline |
Ctrl+J | Insert newline |
Alt+Enter | Insert newline |
Alt+Backspace | Delete previous word |
Ctrl+W | Delete previous word (kill ring) |
Ctrl+K | Kill to end of line |
Ctrl+U | Kill to start of line |
Ctrl+L | Clear the screen. Earlier output stays in terminal scrollback (inline) or reachable with Page Up (fullscreen) |
Ctrl+Y | Yank (paste from kill ring) |
Ctrl+_ | Undo last edit |
Move through your session and search previous inputs.
| Shortcut | Action |
|---|---|
Up / Down | Navigate prompt history |
| Arrow keys | Scroll line-by-line |
Ctrl+R | Reverse 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.
Open and navigate the overlay interfaces.
| Shortcut | Action |
|---|---|
Ctrl+G | Open crew monitor |
Ctrl+D / Ctrl+U | Navigate between subagents (crew monitor) |
q | Close crew monitor |
Ctrl+X | Toggle activity tray. In Output details or /verbosity, cycles the preview. At a spec phase checkpoint, opens spec review instead |
Ctrl+T | Open conversation transcript in $PAGER |
Ctrl+O | Expand/collapse tool output and thinking traces; reveal every change in the What's New popup |
Esc | Close panels, cancel agent, clear prompt queue |
Control the agent and manage your session.
| Shortcut | Action |
|---|---|
Tab | Drill into approval options / autocomplete file references |
Shift+Tab | Enter plan mode |
Ctrl+C | Exit session |
Ctrl+D | Exit session (from chat input) |
Ctrl+Z (twice) | Suspend the session. A double-press is required to avoid accidental suspension while the agent is streaming |
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.
- 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.diffToolsetting) 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.
Verify your setting:
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.
If you see visual artifacts or broken rendering:
- Try a different terminal. iTerm2, WezTerm, kitty, and Ghostty provide the best experience.
- Disable synchronized output:
KIRO_NO_SYNCHRONIZED=1 kiro-cli chat - Check that your terminal supports truecolor (most modern terminals do).
- Choose an agent harness — Which harness a launch starts, and what happens to a launch that still selects the Classic interface
- Terminal UI vs classic — Historical CLI 2.x context on how the terminal UI differed from the retired Classic interface
- Chat — Chat usage and options
- Settings reference — Full settings reference
- Custom agents — Create custom agents with welcome messages
Terminal UI