CLI Guide¶
The CLI is the fastest way to test Kabot and the most direct way to operate it from a terminal.
Most Important Commands¶
One-Shot Prompts¶
Use one-shot mode when you want: - fast testing - scripting - automation hooks - smoke checks
Interactive Mode¶
Use interactive mode when you want: - a longer conversation - follow-up context inside the same session - repeated manual testing
Health And Diagnostics¶
These help when: - startup feels wrong - routing seems inconsistent - you want a quick agent verification loop
Auth And Model Management¶
Common patterns include:
Agent And Multi-Agent Management¶
Good CLI Habits¶
- use one-shot prompts for reproducible checks
- use interactive mode for exploratory conversations
- keep a note of your known-good test prompt set
- re-run
doctor smoke-agentafter risky runtime changes
Advanced CLI Note¶
Recent Kabot improvements make one-shot runs safer by isolating ad-hoc prompts from stale default session context when no explicit session is provided.