Skip to content

kagent completion bash

Page as Markdown

Generate the autocompletion script for bash.

Generate the autocompletion script for the bash shell.

This script depends on the ‘bash-completion’ package. If it is not installed already, you can install it via your OS’s package manager.

To load completions in your current shell session:

source <(kagent completion bash)

To load completions for every new session, execute once:

#### Linux:

kagent completion bash > /etc/bash_completion.d/kagent

#### macOS:

kagent completion bash > $(brew --prefix)/etc/bash_completion.d/kagent

You will need to start a new shell for this setup to take effect.

kagent completion bash

Flags:

  • -h, --help - help for bash
  • --no-descriptions - disable completion descriptions

Global Flags:

  • --api-url string - KAgent control-plane API URL (default “http://localhost:8083”)
  • --ca-file string - CA certificate file for KAgent endpoints
  • --config string - Configuration file (default: user config directory/kagent/config.yaml)
  • --gateway-url string - KAgent A2A and MCP gateway URL (default “http://localhost:8083”)
  • --log-level string - Log level: debug, info, warn, error (default “info”)
  • -n, --namespace string - Namespace (default “kagent”)
  • -o, --output-format string - Output format (default “table”)
  • --server-name string - TLS server name for KAgent endpoints
  • --timeout duration - Timeout (default 5m0s)
  • --user-id string - Caller identity used to select the server-side data partition (default “admin@kagent.dev”)
  • -v, --verbose - Verbose output