Loading image...Kiro

Product

  • About Kiro
  • IDE
  • CLI
  • Web
  • Mobile
  • Crew
  • Pricing
  • Downloads

For

  • Enterprise
  • Startups
  • Students

Community

  • Overview
  • Ambassadors
  • Discord
  • Events
  • Powers
  • Shop
  • Showcase

Resources

  • Docs
  • Blog
  • Changelog
  • FAQs
  • Report a bug
  • Suggest an idea
  • Billing support

Social

Site TermsLicenseResponsible AI PolicyLegalPrivacy PolicyCookie Preferences
Loading image...Kiro
  • Enterprise
  • Pricing
  • Docs
SIGN INDOWNLOADS
Loading image...Kiro

Get Started

InstallationAuthenticationYour first project

Models

OverviewAvailable modelsReasoning effort

Features

How Kiro works
Specs
Steering
Hooks
MCP
Permissions
Custom agents
Agent Skills
Powers
CompactionKiroignoreCheckpoints and rewind
Built-in tools
Configuration scopes

IDE 1.x

What's new in 1.0
Setup & First Run
Editor
Chat
Experimental
Troubleshooting0.x reference

CLI

What's new in 3.0
Setup & First Run
Terminal UI
Chat
Headless modeACPAuto complete
Experimental
2.x reference

Crew

Quick startInstallationRunning 24/7
Chat
Agent Capabilities
Features
Interfaces
Slack
Discord
Telegram
Teams
Webex
WeCom
WeChat (Weixin)
CLI reference
Apps
ConfigurationSecurityTroubleshooting

Web - Preview

Setup & First RunIdentity Center
Connect your repositories
Working with the agent
Autonomous modeAutomations
Sandbox

Mobile - Preview

Overview

Commands and Reference

CLI commandsSlash commandsBuilt-in toolsExit codesSettingsIDE keyboard shortcuts

Billing

OverviewManaging your subscriptionUpgrading your planDowngrading your planCancelling your planPurchasing add-on creditsManaging your paymentsManaging usage notificationsManaging your taxesContacting billing supportDeleting your accountRelated questions

Enterprise

ConceptsOnboarding quickstart
Connecting your identity provider
Subscribe your teamManage subscriptions
Governance
Monitor and track
SettingsManaged updatesBillingIAMSupported regions

Privacy and Security

OverviewData protectionCode referencesCompliance validationInfrastructure securityIAM permissionsFirewalls, proxies, and data perimetersVPC endpoints (AWS PrivateLink)

Guides

Overview
Language support
Learn by playing

Migration

Migrating from Q DeveloperMigrating from VSCodeUpgrading from Q CLI
  1. Docs
  2. Crew
  3. Interfaces
  4. CLI reference

CLI reference


Every kirocrew subcommand, grouped by what it does. Run kirocrew <cmd> --help for the authoritative flag list on your installed version — this page reflects the current shape.

Global flags

Applies to every subcommand.

FlagPurpose
--port <n>Override the gateway port (default: KIROCREW_PORT or 5476)
--home <path>Override the data home (default: KIROCREW_HOME or ~/.kiro/crew)
--verboseIncrease logging verbosity
--helpShow help for the subcommand
--versionPrint kirocrew version and exit

Environment variables the CLI respects:

VariableDefaultPurpose
KIROCREW_HOME~/.kiro/crewData directory
KIROCREW_PORT5476Gateway port
KIROCREW_EMBED_MODEL_URL(CDN)Override embedding-model download URL
KIROCREW_ALLOW_UNSANDBOXED(unset)In Docker, explicitly allow agent exec without the inner sandbox

Gateway lifecycle

kirocrew setup

Interactive wizard. Prompts for data directory, agent backend, and (optionally) Slack tokens. Skip Slack tokens to run in dashboard-only mode.

bash
kirocrew setup kirocrew setup --agent-only # only redo the agent config kirocrew setup --agent-only --clean # nuke and rebuild MCP config

kirocrew doctor

Health check. Reports the status of every subsystem:

  • kiro-cli binary discovery and login
  • Ollama / embedding model status
  • Slack tokens
  • Config validity
  • MCP servers (probes each)
  • Sandbox availability

kirocrew gateway

Start the server. Blocks in the foreground until Ctrl+C.

bash
kirocrew gateway # → http://localhost:5476 kirocrew gateway --port auto # OS-assigned port; prints KIROCREW_READY:{...} kirocrew gateway --port 6777 # custom port kirocrew gateway --no-crons # skip the cron scheduler (multi-instance setups) kirocrew gateway --test-mode # ephemeral port + json-ready + reads-only approval kirocrew gateway --approval reads # auto-approve read-only tools kirocrew gateway --approval yolo # auto-approve ALL tools (requires non-default KIROCREW_HOME)

kirocrew stop / kirocrew restart

Stop or restart the running gateway. Atomic on systemd; unload + load on launchd.

kirocrew logs

Tail live gateway logs.

bash
kirocrew logs # last 200 lines kirocrew logs -f # follow kirocrew logs -n 500 # last 500 lines

kirocrew service

Register as a system service so the gateway survives SSH disconnects and auto-restarts on crash.

bash
kirocrew service install # systemd (Linux) or launchd (macOS) kirocrew service status kirocrew service uninstall

kirocrew update

Self-update. git pull + rebuild + pip install -e . + execv restart.

kirocrew token

Mint a short-lived dashboard login link. Print the URL.

bash
kirocrew token --ttl 2h # 2-hour token kirocrew token --port 6777 # for a specific gateway port

Chat

kirocrew chat

Interactive REPL or one-shot.

bash
kirocrew chat # REPL kirocrew chat "one-shot query" # one-shot; prints response kirocrew chat --agent reviewer # use a named agent kirocrew chat --json # machine-readable output echo "prompt" | kirocrew chat # headless stdin

Slash commands inside the REPL: /compact, /model, /incognito, /clear, /help, /exit.

Task runner

kirocrew run

Run a task from a spec file.

bash
kirocrew run TASK.md # auto-resume from checkpoint kirocrew run TASK.md --fresh # ignore checkpoint, start over kirocrew run TASK.md --no-test # skip test verification kirocrew run TASK.md --timeout 3600 # global timeout kirocrew run TASK.md --agent <name> # use a named agent

kirocrew run status

Show status of active task runs.

kirocrew run cancel

Cancel a task run.

bash
kirocrew run cancel <task_id> # specific task kirocrew run cancel # all running tasks

Cron

kirocrew cron add

Create a scheduled job.

bash
kirocrew cron add "name" "prompt" --cron "0 9 * * 1-5" kirocrew cron add "name" "prompt" --every 300

Flags:

FlagPurpose
--cron "<expr>"Standard cron expression (mutually exclusive with --every)
--every <secs>Interval in seconds
--timezone "<tz>"Per-job timezone (IANA name; defaults to UTC)
--skip-dates "YYYY-MM-DD,..."Exclude specific dates
--timeout-secs <n>Per-job timeout (default 1800)
--agent <name>Agent to run under
--persistent-sessionReuse the same session across runs
--silentNo notification unless the agent sends one
--strict-scheduleDisable execution jitter

kirocrew cron list / remove / remove-all / pause / resume / trigger / update

bash
kirocrew cron list kirocrew cron remove <job_id> kirocrew cron remove-all kirocrew cron pause <job_id> kirocrew cron resume <job_id> kirocrew cron trigger <job_id> # run once manually kirocrew cron update <job_id> --cron "0 10 * * *"

Subagents

kirocrew spawn run

Spawn a background subagent.

bash
kirocrew spawn run "check my open CRs" # blocking kirocrew spawn run --async "check CRs" # fire-and-forget kirocrew spawn run --agent reviewer "review X" kirocrew spawn run --cwd /path/to/project "..." # subagent runs in a specific dir

kirocrew spawn list

List active subagents with IDs, status, and elapsed time.

Learning

kirocrew learn add

Add a lesson injected into every future session.

bash
kirocrew learn add "always use TypeScript over JavaScript" kirocrew learn add "prefer pytest over unittest" --category tool kirocrew learn add "use exact-match on strings" --scope workspace

Categories: general, tool, style, workflow. Scopes: global (default), workspace.

kirocrew learn list / remove

bash
kirocrew learn list kirocrew learn list --category tool kirocrew learn remove "prefer pytest"

Snapshot & restore

kirocrew snapshot

Create a tarball backup of all state.

bash
kirocrew snapshot # → ~/.kiro/crew/snapshots/ kirocrew snapshot ~/my-snapshots # custom dir kirocrew snapshot ~/my-snapshots --keep 3 # prune to 3 most recent kirocrew snapshot --list # list existing snapshots

kirocrew restore

Restore from a tarball.

bash
kirocrew restore snapshot.tar.gz # auto-detect replace vs merge kirocrew restore snapshot.tar.gz --mode replace kirocrew restore snapshot.tar.gz --components memory,crons kirocrew restore snapshot.tar.gz --dry-run kirocrew restore --list-components # show valid components

Config

kirocrew config get / set / edit

bash
kirocrew config get # print full config kirocrew config get agent.sandbox # print one key kirocrew config set dashboard.bot_name "X" # set a key kirocrew config unset dashboard.bot_name # remove a key kirocrew config edit # open in $EDITOR

Setting a value auto-triggers a session pool restart so the change takes effect immediately.

Apps

kirocrew app dev

Toggle live-reload dev mode for an installed app.

bash
kirocrew app dev my-app # turn on kirocrew app dev my-app --off # turn off

In dev mode, the gateway watches the app's ui/ directory and broadcasts an app_reload WebSocket event on any file change. The dashboard reloads the app immediately.

MCP

kirocrew manifest

Generate a Slack app manifest.

bash
kirocrew manifest # print YAML manifest to stdout kirocrew manifest --url # print a Slack "Create New App from manifest" URL kirocrew manifest -o slack.yaml # write manifest to a file

Status and metrics

kirocrew status

Runtime stats summary — message counts, tool calls, session metrics, subagent spawns.

bash
kirocrew status kirocrew status --json

Eval harness

kirocrew eval

Run the multi-session evaluation harness.

bash
kirocrew eval # smoke test kirocrew eval --all # every scenario kirocrew eval --scenario <name> # single scenario

Requires kirocrew gateway --test-mode running in another shell.

Computer use

kirocrew computer apps

List apps addressable by the computer-use MCP tools (macOS only).

kirocrew computer call

Human debug harness for computer-use tools. Runs the ten computer_* MCP tools through the same gated chokepoint. Not intended for LLM callers.

bash
kirocrew computer call computer_list_apps kirocrew computer call --calls '[{"tool":"computer_click","args":{...}}]'

Docker helpers

Inside a running Docker container:

bash
docker exec kirocrew kirocrew token --ttl 2h # mint a login link docker exec -it kirocrew kiro-cli login # log in the agent runtime docker exec -u 0 kirocrew chown kirocrew:kirocrew <path> # fix ownership after docker cp

Auth

kirocrew logout

Invalidate the current dashboard token.

Common patterns

First-time setup

bash
kirocrew setup && kirocrew doctor && kirocrew gateway

Recover from broken MCP config

bash
kirocrew setup --agent-only --clean

Migrate to a new machine

bash
# on source kirocrew snapshot ~/migrate # copy tarball to new machine, then: kirocrew restore ~/migrate/snapshot-*.tar.gz kirocrew doctor

Run headlessly with token-authenticated remote access

bash
kirocrew service install kirocrew token --ttl 20h # open the printed URL on your local machine (via SSH tunnel or reverse proxy)

Exit codes

CodeMeaning
0Success
1Generic error
2Invalid arguments
3Gateway not running (for CLI commands that need it)
10Health-check failure (kirocrew doctor)

Getting help

  • kirocrew --help — top-level command list
  • kirocrew <cmd> --help — subcommand-specific help
  • kirocrew doctor --verbose — full diagnostic output
Page updated: August 4, 2026
WeChat (Weixin)
Apps