Chat Command
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide documents the chat
command in the Kubiya CLI, which allows you to interact with Kubiya teammates through your terminal.
The chat
command enables conversational interaction with Kubiya AI teammates. It provides a natural language interface for asking questions, getting assistance, and executing tools through conversations.
There are several ways to use the chat command:
--interactive
Start an interactive chat session with a terminal UI
-i
, --id
Specify the teammate ID to chat with
-n
, --name
Specify the teammate name to chat with
-m
, --message
Message to send (required unless using --interactive or --stdin)
--context
Files or URLs to include as context (supports wildcards)
--stdin
Read message from standard input
--stream
Stream the response as it's generated
--session-id
Continue a previous session using its ID
--clear-session
Clear the saved session
--debug
Enable debug logging
You can include files or URLs as context for your chat:
The interactive mode provides a full terminal UI for chatting:
In interactive mode, you can:
Chat continuously with an AI teammate
View tool executions in real-time
Clear the conversation
Browse previous messages
Export the conversation
Sessions allow you to continue conversations:
Use the --stream
flag to see responses as they're generated:
You can pipe content from other commands or files:
Teammate Not Found
Verify the teammate name or ID
Use kubiya teammate list
to see available teammates
Context Files Not Loading
Check file paths and permissions
Ensure wildcards are properly quoted
Verify URL accessibility
Session Issues
Use --clear-session
to start fresh if encountering problems
Specify a new session-id if you want to start a new conversation
kubiya teammate list
- View available teammates
kubiya tool
- Manage automation tools
The chat
command provides a flexible interface for interacting with Kubiya's AI teammates. Whether you need quick answers, detailed assistance with code, or help with complex tasks, the chat command offers a natural way to communicate and get results through your terminal.