Kubiya LogoKubiya Developer Docs

Teammates Commands

Manage AI Teammates using the Kubiya CLI.

Teammates Commands

kubiya teammates

Manage your AI Teammates, including their configuration, instructions, and associated tools/integrations.

Available Commands

CommandDescription
listList all available teammates
getGet detailed information about a specific teammate
createCreate a new teammate from a YAML definition file
updateUpdate an existing teammate using a YAML definition file
applyCreate or update a teammate (upsert operation)
deleteDelete a teammate

Command Examples

# List all available teammates
kubiya teammates list
 
# List teammates with specific label
kubiya teammates list --label team=platform
 
# Show in JSON format
kubiya teammates list --output json

Teammate YAML Structure

Example Teammate Definition

name: ops-assistant
description: Operations assistant for the DevOps team
version: 1.0.0
 
# Instructions for the teammate (prompt/system message)
instructions: |
  You are an operations assistant for the DevOps team.
  Help with infrastructure management, monitoring, and deployments.
  Always follow company security protocols.
 
# Tools this teammate can use
tools:
  - aws-ec2
  - kubernetes
  - github
 
# Integrations to connect this teammate with
integrations:
  - aws-prod
  - github-main
 
# Suggested conversation starters
conversation_starters:
  - How is our AWS infrastructure doing today?
  - Can you check the status of our Kubernetes cluster?
  - Deploy the latest version of our application
 
# Optional, for teammate filtering
labels:
  team: devops
  environment: production

Common Options

These options apply to most teammates commands:

OptionDescription
--file, -fPath to a YAML file with teammate configuration
--output, -oOutput format: json, yaml, table (default: table)
--labelFilter or set labels (key=value format)
--fieldsSpecify fields to display (for get and list)
--forceSkip confirmation prompts

Deleting a teammate is permanent and cannot be undone. Use with caution.

On this page