Kubiya CLI is a powerful command-line interface for interacting with your Kubiya AI teammates and automating your workflows directly from the terminal. This comprehensive guide will help you get started with the CLI and make the most of its features.
Quick Start Guide 🚀
# Install Kubiya CLI
curl -fsSL https://cli.kubiya.ai/install | sh
# Set up your API key
kubiya config set api-key YOUR_API_KEY
# Verify installation
kubiya --version
# Chat with your teammate
kubiya chat --interactive
# Browse and execute tools
kubiya browse
Core Features ✨
Interactive Chat 💬
Chat with AI teammates directly from your terminal with real-time responses:
# Start an interactive chat session
kubiya chat --interactive
# Start a chat with a specific teammate
kubiya chat --teammate "DevOps-Expert" --interactive
# Send a message with context files
kubiya chat "Explain this code" --files "main.py,config.yaml"
# Use stdin to pipe data into the chat
cat error.log | kubiya chat "What's wrong with this error log?"
Source Management 📂
Manage your automation sources efficiently:
# List all sources
kubiya source list
# Add a new source from a Git repository
kubiya source add --name "my-tools" --url "https://github.com/user/repo"
# Sync sources with latest changes
kubiya source sync my-tools
Tool Execution 🛠️
Browse and execute automation tools:
# Browse tools interactively
kubiya browse
# List all available tools
kubiya tool list
# Execute a specific tool
kubiya tool execute aws-s3-list-buckets
# Execute with arguments
kubiya tool execute deploy-app --args '{"app_name":"my-app","environment":"prod"}'
Knowledge Management 📖
Create and manage your team's knowledge base:
# List knowledge items
kubiya knowledge list
# Create a new knowledge item
kubiya knowledge create --title "AWS Best Practices" --content "content.md"
# View a specific knowledge item
kubiya knowledge get item-id
Runner Management 🚀
Manage your automation runners:
# List all runners
kubiya runner list
# View runner details
kubiya runner describe runner-id
Team Collaboration 👥
Work effectively with teammates:
# List all teammates
kubiya teammate list
# Chat with a specific teammate
kubiya chat --teammate "DevOps-Expert" --interactive
Webhook Management 🔗
Manage and trigger webhooks:
# List all webhooks
kubiya webhook list
# Execute a webhook
kubiya webhook execute webhook-id