Loading image...Kiro
  • CLI
  • Powers
  • Autonomous agent
  • Enterprise
  • Pricing
  • Docs
SIGN INDOWNLOADS
Loading image...Kiro
Loading image...Kiro
Product
  • About Kiro
  • CLI
  • Powers
  • Autonomous agent
  • Pricing
  • Downloads
For
  • Enterprise
  • Startups
  • Students
Resources
  • Documentation
  • Blog
  • Changelog
  • FAQs
  • Report a bug
  • Suggest an idea
  • Billing support
Social
Site TermsLicenseResponsible AI PolicyLegalPrivacy PolicyCookie Preferences
  1. Docs
  2. CLI
  3. Experimental
  4. Tui

TUI v2

On this page
  • Quick start
  • Chat experience
  • Tool display
  • Interacting with the agent
  • Approval UX
  • Input
  • Shell escape
  • Slash commands
  • Plan mode
  • Session management
  • Terminal features
  • Configuration
  • UI engine precedence
  • Disabling individual features
  • Reverting to legacy
  • Keyboard shortcuts
  • Platform support
  • Limitations
  • Troubleshooting
  • TUI not loading
  • Rendering issues
  • Related

Kiro CLI now has a new chat experience, TUI v2. It renders agent responses with syntax-highlighted code, displays tool progress visually, and gives you interactive panels for managing context, usage, and sessions, all without leaving your terminal.

Warning

The TUI is experimental and may change. If it fails to load, Kiro automatically falls back to the legacy interface.

Quick start

Enable the TUI and start chatting:

bash
kiro-cli settings chat.ui "tui" kiro-cli chat

Or try it for a single session:

bash
kiro-cli --tui

Chat experience

Messages stream incrementally as the agent works, keeping the active render area compact. Agent responses render with full markdown support including syntax-highlighted code blocks, tables, lists, blockquotes, and nested formatting. Synchronized terminal updates eliminate flicker in terminals that support it.

Scroll through long responses with arrow keys.

Tool display

Each tool type has a dedicated visual component for shell commands, file operations, grep, glob, code intelligence, and more. Tool calls show descriptive titles and progress indicators during execution. MCP tools display progress bars for long-running operations.

Interacting with the agent

TUI v2 gives you multiple ways to communicate with the agent, from approving tool calls to running shell commands inline.

Approval UX

When a tool requires permission, a panel-based dropdown appears with Yes, Trust, and No options. When multiple tools need permission simultaneously, approvals are queued and presented one at a time.

For shell commands, you can trust at different granularity levels: exact commands, command prefixes, or base commands.

Input

TUI v2 supports several input methods beyond standard text entry.

FeatureHow
NewlineShift+Enter or Ctrl+J
File/directory reference@path with Tab-complete picker
Paste image/paste or paste from clipboard
Input queuingType your next message while the agent is processing
Command historyUp/Down arrows, persistent across sessions
Multi-line editor/editor opens $EDITOR (defaults to vi)

Shell escape

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

bash
!npm run build

Output streams in real time. TTY commands like vim, ssh, and top get full terminal access. Long output collapses to a head + tail view. Press Ctrl+O to expand.

Slash commands

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

CommandDescription
/helpAll available commands
/contextContext breakdown with per-file token percentages. Supports add, remove, and clear subcommands
/usageUsage limits with progress bar and overage info
/knowledgeKnowledge base management
/promptsMCP and file-based prompts via a selection menu
/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
/planEnter plan mode (also Shift+Tab)
/agentSwitch between agents
/modelSwitch the active model
/mcpView MCP servers
/toolsView tool permissions

Plan mode

Press Shift+Tab or type /plan to enter plan mode. Use this when you have a complex task that benefits from upfront design, like refactoring a module or adding a feature across multiple files. The planner agent gathers requirements and produces an implementation plan. When you confirm, execution hands off to your original agent automatically.

Session management

Use /chat to switch between previous sessions, shown most-recent-first with titles and relative timestamps. Sessions are scoped to the current working directory, making it easy to pick up where you left off when working on a task across multiple sittings.

Press Ctrl+D or Ctrl+C to exit.

Terminal features

TUI v2 detects your terminal's capabilities and adapts automatically.

FeatureDetails
Progress indicatorTerminal tab/title bar shows agent state (streaming, pending approval, error)
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

You can customize how TUI v2 activates, how dense the layout is, and which terminal features are enabled.

UI engine precedence

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

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

Disabling individual features

Opt out of specific terminal features via environment variables:

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

Reverting to legacy

Switch back to the legacy interface:

bash
kiro-cli settings chat.ui "legacy"

Or per-session:

bash
kiro-cli chat --legacy-ui

Keyboard shortcuts

A quick reference for all keyboard shortcuts available in TUI v2.

ShortcutAction
Shift+EnterInsert newline
Ctrl+JInsert newline
Shift+TabEnter plan mode
Up/DownNavigate command history
Arrow keysScroll line-by-line
TabDrill into approval options / autocomplete file references
Ctrl+OExpand collapsed shell output
Ctrl+DExit session
Ctrl+CExit session
EscClose panels, cancel agent execution, clear prompt queue

Platform support

The TUI is supported on macOS and Linux.

Limitations

  • The subagent tool is not yet available in TUI v2.
  • Requires embedded assets in the build. If unavailable, Kiro uses the legacy interface.
  • Some terminal emulators may not support all features (hyperlinks, progress indicators, synchronized output).
  • Not available in headless mode (--no-interactive).

Troubleshooting

TUI not loading

Verify your setting is applied:

bash
kiro-cli settings list | grep chat.ui

If the setting is correct but the TUI still doesn't load, try updating to the latest version of Kiro CLI.

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 --tui
  3. Check that your terminal supports truecolor (most modern terminals do).

Related

  • Chat — Chat usage and options
  • Experimental features — Manage all experiments
  • Settings reference — Full settings reference
  • Custom agents — Create custom agents with welcome messages
Page updated: March 20, 2026
Delegate
Hooks