Chat Commands
Interacting with AI Teammates using the Kubiya CLI.
Chat Commands
kubiya chat
Interact with your AI Teammates directly from the command line using natural language.
Available Commands
Command | Description |
---|---|
chat | Start interactive chat or send a one-off message |
history | View chat history with a teammate |
export | Export conversation history to a file |
save | Save a chat message or result to a file |
Usage Examples
Interactive Chat Sessions
In interactive mode, you can type messages directly to your AI teammate. End the session with /exit
or by pressing Ctrl+D.
Interactive Mode
Interactive mode provides a chat-like experience in your terminal, letting you have a continuous conversation with an AI teammate.
Start interactive mode
Available commands during chat
During an interactive session, you can use these special commands:
Share files during chat
End the session
Command Flags
Chat Command Flags
Flag | Description |
---|---|
--interactive , -i | Start an interactive chat session |
--teammate , -t | Specify the teammate to chat with |
--files , -f | File paths to include as context (comma-separated) |
--context-dir , -d | Directory to include as context |
--output-file , -o | Save the response to a file |
--output-format | Format for the output (text, json, yaml, markdown) |
--debug | Show additional debug information |
--silent | Suppress non-essential output |
--raw | Output raw response without formatting |
--max-tokens | Maximum tokens for the response |
--language | Preferred response language (e.g., 'python', 'javascript') |
History Command Flags
Flag | Description |
---|---|
--teammate , -t | Specify which teammate's history to view |
--limit , -l | Maximum number of messages to show |
--since | Show messages since a specific date/time |
--format | Output format (text, json, markdown) |
--filter | Filter messages by content |
Advanced Features
Code Generation with File Output
You can generate code and save it directly to a file:
Multi-turn Conversations in Non-interactive Mode
For scripts or automation, you can simulate a conversation:
For the best experience with complex tasks, use interactive mode which allows for natural back-and-forth communication with your teammate.