What I do
- •Summarize the Kilo CLI command surface for Ode integrations.
- •Recommend automation-safe invocation patterns for
kilo run. - •Document session behavior (
--session,--continue) and troubleshooting commands. - •Highlight config paths, auth flow, and environment overrides.
When to use me
Use this when implementing or debugging the kilo provider in Ode, especially CLI command construction, session behavior, and JSON output handling.
Recommended invocation pattern for Ode
- •Base command:
kilo run --auto --format json --session <id> "<prompt>" - •Add
--agent <agent>when a plan/build agent is requested. - •Add
--model <provider/model>when a model override is configured. - •Run with
cwdset to the target workspace path.
Key CLI references
- •Start TUI:
kilo(orkilo [project]) - •Non-interactive:
kilo run [message..]with--autoand--format json - •Server mode:
kilo serve, attach withkilo attach <url> - •Auth:
kilo auth, provider setup via/connectin the TUI - •Models:
kilo models [provider] - •Sessions:
kilo session, export/import viakilo export/kilo import
Config + auth
- •Config file:
~/.kilocode/config.json - •First-time provider setup from the TUI using
/connect
Environment overrides
- •
KILO_PROVIDERto override active provider - •
KILOCODE_<FIELD>forkilocodeprovider settings - •
KILO_<FIELD>for other provider settings (e.g.,KILO_API_KEY)
Integration notes for Ode
- •Kilo does not require channel-level model selection in Ode config.
- •Emit
session.statusandmessage.part.updatedevents for live status. - •Prefer CLI mode unless event fidelity requires server attach.