All apps/Kimi Code

Kimi Code

kimi-code

Moonshot AI's coding agent for the terminal.

Runs as kimi|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 8 fields

Start an interactive session or run one prompt non-interactively, with model, mode and resume options. Subcommands (provider, session, web, acp, ...) are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui kimi-code
Start Kimi CodeExample values, fixed in this page — nothing here reaches a terminal
Basic
Model alias
string
Plan mode
--plan
TasksEach one presets the form for one job
Interactive session
modelplan
Run one prompt
promptmodeloutput_format
ParametersOnly these flags are editable in the form
Prompt (non-interactive)
Run one prompt and print the response instead of opening the TUI.
string
--prompt-p
Model alias
string
--model-m
Continue previous session
boolean
--continue-c
Plan mode
boolean
--plan
Ask When Needed mode
Routine edits and commands run automatically; risky actions still ask.
boolean
--yolo-y
Never Ask mode
Everything runs and is decided automatically.
boolean
--auto
Output format (prompt mode)
enum
--output-formattextstream-json
Additional workspace directories
path · repeatable
--add-dir
SourcesEvery flag above is checked against these
help
-S, --session [id] Resume a session. With ID: resume that session. Without ID: interactively pick. -c, --continue Continue the previous session for the working directory. (default: -y, --yolo Start in Ask When Needed mode: routine edits and commands run --auto…
helpkimi --help (local)

Before it fills your prompt, Otty checks the installed kimi against its version. A form that does not match your version is not offered.