Kilocode is an AI coding agent CLI tool that generates code from natural language, automates tasks, and runs terminal commands.
Run in any project directory:
bash
kilo
Execute a single prompt without entering interactive REPL:
bash
kilo run '<prompt>'
Continue previous conversation:
bash
kilo run --continue '<prompt>'
Fully autonomous mode (CI/CD, no prompts):
bash
kilo run --auto '<prompt>'
CommandDescriptionkiloStart interactive REPLkilo run "prompt"Execute single promptkilo run --continue "prompt"Continue with previous contextkilo run --auto "prompt"Autonomous mode (no permission prompts)kilo --helpShow help
bash
kilo run "Create a Python function to calculate fibonacci sequence with memoization"
bash
kilo run "Fix the bug in index.js where the async function returns undefined"
bash
kilo run "Refactor the React component to use hooks instead of class"
bash
kilo run "Run npm test and fix any failing tests"
bash
kilo run --auto "Run linting, tests, and build the project"
Kilocode supports 500+ AI models via the Kilo provider (configured in auth-profiles). Popular models:
Model selection is handled automatically based on provider configuration. No need to specify model unless required.
--auto flag only in trusted environments (CI/CD)