Skip to content

ksail open chat

Start an interactive AI chat session using GitHub Copilot or your own AI provider API key.
The assistant understands KSail's CLI, configuration schemas, and can help with:
- Guided cluster configuration and setup
- Troubleshooting cluster issues
- Explaining KSail concepts and features
- Running KSail commands with your approval
Providers:
- GitHub Copilot (default; subscription or Copilot token)
- OpenAI, Anthropic, Google Gemini, Azure OpenAI, or OpenRouter (API key)
- Ollama or any OpenAI-compatible endpoint
Write operations require explicit confirmation before execution.
Usage:
ksail open chat [flags]
Flags:
--api-key-env string Environment variable containing the AI provider API key
--azure-api-version string Azure OpenAI API version override
--base-url string AI provider base URL (required for Azure/custom providers)
-m, --model string Model to use (e.g., gpt-5, claude-sonnet-4)
--provider string AI provider (copilot, openai, anthropic, gemini, azure-openai, openrouter, ollama, openai-compatible)
-r, --reasoning-effort string Reasoning effort level for models that support it (low, medium, high)
-s, --streaming Enable streaming responses (default true)
-t, --timeout duration Response timeout duration (default 5m0s)
--tui Use interactive TUI mode with markdown rendering (default true)
--wire-api string OpenAI-compatible wire API (completions or responses)
Global Flags:
--benchmark Show per-activity benchmark output
--config string Path to config file (default: ksail.yaml found via directory traversal)
--experimental Enable experimental (unstable) commands and features