Loading image...Kiro
  • CLI
  • Web
  • Powers
  • Enterprise
  • Pricing
  • Docs
SIGN INDOWNLOADS
Loading image...Kiro
Loading image...Kiro
Product
  • About Kiro
  • CLI
  • Web
  • Powers
  • Pricing
  • Downloads
For
  • Enterprise
  • Startups
  • Students
Community
  • Overview
  • Ambassadors
  • Showcase
  • Discord
  • Events
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. Reference
  4. Settings

Settings


Kiro CLI provides extensive customization through settings. You can configure everything from telemetry to chat behavior, key bindings, and feature toggles.

Accessing settings

Manage settings directly from the command line:

bash
# List all configured settings kiro-cli settings list # List all available settings with descriptions kiro-cli settings list --all # View a specific setting kiro-cli settings telemetry.enabled # Set a setting kiro-cli settings telemetry.enabled true # Delete a setting kiro-cli settings --delete chat.defaultModel # Open settings file in editor kiro-cli settings open

Output formats

bash
# Plain text (default) kiro-cli settings list # JSON kiro-cli settings list --format json # Formatted JSON kiro-cli settings list --format json-pretty

Settings reference

Telemetry and privacy

SettingTypeDescriptionExample
telemetry.enabledbooleanEnable/disable telemetry collectionkiro-cli settings telemetry.enabled true
telemetryClientIdstringClient identifier for telemetrykiro-cli settings telemetryClientId "client-123"

Chat interface

SettingTypeDescriptionExample
chat.defaultModelstringDefault AI model for conversationskiro-cli settings chat.defaultModel "claude-3-sonnet"
chat.defaultAgentstringDefault agent configurationkiro-cli settings chat.defaultAgent "my-agent"
chat.diffToolstringExternal diff tool for viewing code changes (classic only)kiro-cli settings chat.diffTool "delta"
chat.greeting.enabledbooleanShow greeting message on chat startkiro-cli settings chat.greeting.enabled false
chat.editModebooleanEnable Vi edit mode (classic only)kiro-cli settings chat.editMode true
chat.enableNotificationsbooleanEnable desktop notificationskiro-cli settings chat.enableNotifications true
chat.notificationMethodstringNotification method: auto, bel, or osc9kiro-cli settings chat.notificationMethod "osc9"
chat.disableMarkdownRenderingbooleanDisable markdown formatting (classic only)kiro-cli settings chat.disableMarkdownRendering false
chat.disableWrapbooleanEmit chat output without hard line breaks for clean copy-paste; terminal soft-wrap still applies.kiro-cli settings chat.disableWrap true
chat.disableAutoCompactionbooleanDisable automatic conversation summarizationkiro-cli settings chat.disableAutoCompaction true
compaction.excludeMessagesnumberMinimum message pairs to retain during compactionkiro-cli settings compaction.excludeMessages 2
compaction.excludeContextWindowPercentnumberMinimum % of context window to retain during compactionkiro-cli settings compaction.excludeContextWindowPercent 2
chat.enablePromptHintsbooleanShow startup hints with tips and shortcuts (v1.26.0+, default: true)kiro-cli settings chat.enablePromptHints false
chat.enableHistoryHintsbooleanShow conversation history hints (classic only)kiro-cli settings chat.enableHistoryHints true
chat.uiModestringUI variant to usekiro-cli settings chat.uiMode "compact"
chat.uistringUI engine: tui (default) or classickiro-cli settings chat.ui "classic"
chat.disableGranularTrustbooleanDisable tiered trust options for tool approvals (terminal UI only)kiro-cli settings chat.disableGranularTrust true
chat.autoExpandToolOutputbooleanAuto-expand tool output instead of collapsing (terminal UI only)kiro-cli settings chat.autoExpandToolOutput true
chat.enableContextUsageIndicatorbooleanShow context usage percentage in prompt (classic only)kiro-cli settings chat.enableContextUsageIndicator true

Knowledge base

SettingTypeDescriptionExample
chat.enableKnowledgebooleanEnable knowledge base functionalitykiro-cli settings chat.enableKnowledge true
knowledge.defaultIncludePatternsarrayDefault file patterns to includekiro-cli settings knowledge.defaultIncludePatterns '["*.py", "*.js"]'
knowledge.defaultExcludePatternsarrayDefault file patterns to excludekiro-cli settings knowledge.defaultExcludePatterns '["*.log", "node_modules"]'
knowledge.maxFilesnumberMaximum files for indexingkiro-cli settings knowledge.maxFiles 1000
knowledge.chunkSizenumberText chunk size for processingkiro-cli settings knowledge.chunkSize 512
knowledge.chunkOverlapnumberOverlap between text chunkskiro-cli settings knowledge.chunkOverlap 50
knowledge.indexTypestringType of knowledge indexkiro-cli settings knowledge.indexType "fast"

Key bindings (classic only)

These key bindings apply to the classic interface only and have no effect in the terminal UI.

SettingTypeDescriptionExample
chat.skimCommandKeycharKey for fuzzy search commandkiro-cli settings chat.skimCommandKey "f"
chat.autocompletionKeycharKey for autocompletion hint acceptancekiro-cli settings chat.autocompletionKey "Tab"
chat.tangentModeKeycharKey for tangent mode togglekiro-cli settings chat.tangentModeKey "t"
chat.delegateModeKeycharKey for delegate commandkiro-cli settings chat.delegateModeKey "d"

Key bindings (terminal UI)

Override the terminal UI shortcuts for cancelling a response, closing overlay menus, and quitting the session. Values use ctrl+, shift+, and alt+/meta+ modifiers with a single key (for example ctrl+shift+q, esc). Invalid values fall back to the built-in default.

SettingTypeDefaultDescriptionExample
chat.keybindings.cancelStreamstringescCancel the current agent response while it streamskiro-cli settings chat.keybindings.cancelStream "ctrl+x"
chat.keybindings.closeMenustringescClose overlay panels and pickerskiro-cli settings chat.keybindings.closeMenu "ctrl+["
chat.keybindings.quitstringctrl+cExit the chat sessionkiro-cli settings chat.keybindings.quit "ctrl+shift+q"

Tool Search

Configure on-demand MCP tool discovery. See Tool Search for details.

SettingTypeDescriptionExample
toolSearch.enabledbooleanEnable Tool Search for on-demand MCP tool discovery (default: false)kiro-cli settings toolSearch.enabled true
toolSearch.minPctnumberActivate when MCP tool specs exceed this % of context window (default: 5)kiro-cli settings toolSearch.minPct 0
toolSearch.minTokensnumberActivate when MCP tool specs exceed this token count (default: 50000)kiro-cli settings toolSearch.minTokens 0

Feature toggles

SettingTypeDescriptionExample
chat.enableThinkingbooleanEnable thinking tool for complex reasoningkiro-cli settings chat.enableThinking true
chat.enableTangentModebooleanEnable tangent mode feature (classic only)kiro-cli settings chat.enableTangentMode true
introspect.tangentModebooleanAuto-enter tangent mode for introspect (classic only)kiro-cli settings introspect.tangentMode true
chat.enableTodoListbooleanEnable todo list feature (classic only)kiro-cli settings chat.enableTodoList true
chat.enableCheckpointbooleanEnable checkpoint feature (classic only)kiro-cli settings chat.enableCheckpoint true
chat.enableDelegatebooleanEnable delegate tool (classic only)kiro-cli settings chat.enableDelegate true
app.disableAutoupdatesbooleanDisable background auto-updateskiro-cli settings app.disableAutoupdates true

API and service

SettingTypeDescriptionExample
api.timeoutnumberAPI request timeout in secondskiro-cli settings api.timeout 30

Model context protocol (MCP)

SettingTypeDescriptionExample
mcp.initTimeoutnumberMCP server initialization timeoutkiro-cli settings mcp.initTimeout 10
mcp.noInteractiveTimeoutnumberNon-interactive MCP timeoutkiro-cli settings mcp.noInteractiveTimeout 5
mcp.loadedBeforebooleanTrack previously loaded MCP serverskiro-cli settings mcp.loadedBefore true

Common configuration examples

Basic setup

bash
# Enable telemetry kiro-cli settings telemetry.enabled true # Set default chat model kiro-cli settings chat.defaultModel "claude-3-sonnet" # Disable greeting message kiro-cli settings chat.greeting.enabled false

Knowledge base configuration

bash
# Enable knowledge base kiro-cli settings chat.enableKnowledge true # Set file patterns to include kiro-cli settings knowledge.defaultIncludePatterns '["*.py", "*.js", "*.md", "*.txt"]' # Set file patterns to exclude kiro-cli settings knowledge.defaultExcludePatterns '["*.log", "node_modules", ".git", "*.pyc"]' # Set maximum files to index kiro-cli settings knowledge.maxFiles 2000

Enable experimental features

bash
# Enable thinking tool kiro-cli settings chat.enableThinking true # Enable tangent mode kiro-cli settings chat.enableTangentMode true # Enable todo lists kiro-cli settings chat.enableTodoList true # Enable checkpoints kiro-cli settings chat.enableCheckpoint true # Configure key bindings kiro-cli settings chat.tangentModeKey "t" kiro-cli settings chat.delegateModeKey "d"

Performance tuning

bash
# Increase API timeout for slow connections kiro-cli settings api.timeout 60 # Adjust knowledge base chunk size kiro-cli settings knowledge.chunkSize 1024 # Disable auto-compaction for long conversations kiro-cli settings chat.disableAutoCompaction true

Troubleshooting settings

Invalid setting values

Boolean values: Use true or false (lowercase)

bash
kiro-cli settings telemetry.enabled true # ✓ Correct kiro-cli settings telemetry.enabled True # ✗ Wrong

Array values: Use JSON format with single quotes

bash
kiro-cli settings knowledge.defaultIncludePatterns '["*.py", "*.js"]' # ✓ Correct

String values: Use quotes for strings with spaces

bash
kiro-cli settings chat.defaultModel "claude-3-sonnet" # ✓ Correct

Resetting settings

Delete individual settings:

bash
kiro-cli settings --delete setting.name

Open settings file for manual editing:

bash
kiro-cli settings open

View current settings to identify issues:

bash
kiro-cli settings list --all

Settings file issues

If the settings file becomes corrupted:

  1. Back up current settings:

    bash
    kiro-cli settings list --format json > backup.json
  2. Open the settings file:

    bash
    kiro-cli settings open
  3. Verify JSON syntax or restore from backup

Settings file location

Settings are stored in ~/.kiro/settings/cli.json.

You can edit this file directly, but using kiro-cli settings commands is recommended for validation.

Environment variables

VariableDescription
KIRO_HOMEOverrides the ~/.kiro directory used for global agents, prompts, skills, steering, settings, and sessions. Useful for keeping multiple independent Kiro profiles on the same machine.
KIRO_LOG_NO_COLORSet to 1 to disable colored log output
NO_COLORSet to any value to disable all color output in the terminal UI
KIRO_CLI_TOOL_SEARCH_MATCHING_THRESHOLDMinimum relevance score for Tool Search keyword results (default: 1.5)

Next steps

  • Configure custom agents
  • Set up MCP servers
  • Configure custom diff tools
  • Enable experimental features
  • CLI Commands Reference
Page updated: May 12, 2026
Exit codes
Migrating from Q Developer