What is the Kubiya CLI?
The Kubiya CLI is your command-line interface to Kubiya’s AI automation platform. Execute tasks, manage agents, and automate workflows - all from your terminal.Primary Use Case: Smart Task Execution
Thekubiya exec command is your main interface to Kubiya:
- 🤖 Automatic Agent Selection: Analyzes your task and picks the best agent
- 📋 Intelligent Planning: Creates detailed execution plans with cost estimates
- ⚡ Zero Setup: On-demand workers provision automatically
- 💰 Cost Transparent: Shows estimated costs before execution
- 📦 Plan Storage: All plans saved for audit and repeatability
Full Platform Access
Beyond execution, the CLI provides complete control over the Kubiya platform:- Resource Management: Create and configure agents, teams, jobs, skills, policies
- Worker Deployment: Run on your infrastructure or use ephemeral workers
- Agent Interaction: Chat with AI agents directly from your terminal
- Context Graph: Query organizational knowledge stored in Neo4j
- Policy Enforcement: Implement OPA-based security and compliance
Key Capabilities
Smart Execution
Execute tasks with automatic agent selection, task planning, and on-demand workers - no setup required
Resource Management
Full CRUD operations for agents, teams, executions, jobs, skills, models, policies, and environments
Worker Deployment
Deploy persistent Temporal workers for high-frequency tasks with enterprise-grade reliability
Context Graph
Query Neo4j-based organizational knowledge with Cypher queries
Architecture
The Kubiya CLI integrates seamlessly with the Kubiya Control Plane:Core Components
-
Control Plane Integration
- Authenticate with API keys via
kubiya login - Manage all platform resources
- Configure environments and policies
- Authenticate with API keys via
-
Smart Execution
- Auto-planning with agent/team selection
- On-demand worker provisioning
- Cost estimation and plan storage
-
Worker Management
- Start local, Docker, or Kubernetes workers
- Monitor worker health and logs
- Configure execution environments
-
Resource Operations
- Agents, teams, and projects
- Jobs and executions
- Skills, models, and policies
- Environments and context graph
Common Use Cases
1. Smart Task Execution (Primary)
Thekubiya exec command is your go-to for executing any task with automatic planning:
- Production Deployment
- Local Development
- CI/CD Automation
2. On-Demand Workers
Run tasks without pre-configuring queues - perfect for CI/CD and automation:Ephemeral Workers: Perfect for CI/CD, automation, and development. Auto-provision, execute, and clean up automatically.
3. Persistent Workers
Deploy long-running workers for high-frequency tasks. Run on any compute environment - local, cloud VMs, Kubernetes, Docker:4. Agent & Resource Management
Job Scheduling
Context Graph Queries
CI/CD Integration
Platform Integration
The CLI provides complete access to Kubiya Control Plane features:- Control Plane: Full API access to all resources
- Task Queues: Manage distributed task execution
- Context Graph: Query and utilize Neo4j-based organizational knowledge
- Policies: Enforce OPA-based governance
- On-Demand Workers: Zero-setup execution with auto-provisioned workers
- Temporal: Enterprise-grade workflow orchestration
Getting Started
Ready to start using the Kubiya CLI? Follow these guides:Installation
Install the CLI on macOS, Linux, Windows, or Docker
Authentication
Configure API keys and connect to the Control Plane
Smart Execution
Execute tasks with automatic planning
Resource Management
Manage agents, teams, and all resources
Quick Reference
Installation
Authentication
Core Commands
Task Execution (Primary)
Task Execution (Primary)
Worker Management
Worker Management
Agent Management
Agent Management
Execution Tracking
Execution Tracking
Resource Management
Resource Management
Context Graph
Context Graph
Next Steps
Installation
Install and verify the CLI
Smart Execution
Execute with automatic planning
Worker Management
Deploy and manage workers
Core Resources
Manage agents, teams, and projects
Execution Resources
Manage executions, jobs, and workers
Authentication
Configure API keys