Skip to main content
AKOS

AKOS CLI

Set up the akos command line, run your first health check, and configure shell completion.

View canonical source

The AKOS CLI (akos) lets you manage every part of your AKOS workspace from a terminal: initialize workspaces, run flows, manage agents, configure triggers, operate secrets, and deploy plugins — all scriptable and CI-friendly.

Requirements

  • An active AKOS workspace (self-hosted desktop or cloud tenant)
  • Credentials for that workspace from your AKOS administrator

Installation

The akos CLI is provided as part of your AKOS enterprise plan. Your administrator distributes the build for your platform and your CI environment. If you don't have it yet, contact your AKOS administrator or account team for access.

Once it's installed, confirm it's available:

akos --version

First run: doctor

Before doing anything else, run the built-in diagnostics to confirm the CLI is configured correctly:

akos doctor

doctor checks:

  • Node.js version compatibility
  • Platform support
  • Whether the core AKOS runtime is linked
  • The AGENTSKITOS_HOME data directory
  • Available trigger kinds

To also verify that your AI provider credentials are present (no secret values are printed):

akos doctor --creds

To run a live connectivity probe (LLM round-trip + sandbox check, 10-second timeout):

akos doctor --live

doctor options

FlagDescription
--liveRun live LLM and sandbox probes
--credsCheck AI provider credential presence
--air-gapSkip cloud providers when checking credentials
--provider <id>Restrict credential check to one provider (repeatable)
--env-prefix <pfx>Environment variable prefix to scan (default: AGENTSKITOS_)
--secrets-file <path>Merge key names from a dotenv-style file into the credentials check
--no-probesSkip vault and keychain probes
--init-audit-key <wsId>Pre-generate an ed25519 audit signing key for a workspace and exit

Getting help

Every command and subcommand accepts --help:

akos --help
akos run --help
akos config validate --help

Shell completion

Generate and install a completion script for your shell so you can tab-complete commands and flags.

Bash — add to ~/.bashrc:

eval "$(akos completion bash)"

Zsh — add to ~/.zshrc:

eval "$(akos completion zsh)"

Fish — save to the completions directory:

akos completion fish > ~/.config/fish/completions/akos.fish

Supported shells: bash, zsh, fish.

Checking for updates

akos upgrade

To print the current and latest version without installing:

akos upgrade --check

CI environments

When the environment variable AKOS_TOKEN is set, auth login is skipped automatically. This is the recommended pattern for non-interactive CI pipelines.

Topic guides

Walkthroughs for the most common operator paths (each links to the full command table):

GuideCovers
AuthenticationLogin, vault, secrets, creds
ConnectionsSetup registry, provision integrations, preflight
AgentsRegistry, versions, promotion, compare
Flows and RunsScaffold, run, watch, HITL, retention
Processes (Pipelines)Multi-phase runs, resume, cancel
TriggersCron, webhook, file-watch, sidecar ops
Knowledge and RAGSources, search, prod seed, assistant docs
Security and GovernancePosture, firewall, audit, compliance
Costs and ObservabilitySpend, usage limits, traces, tails
Chat and shellCopilot one-shot, readline, TUI, slash commands
ConfigurationValidate, diff, lockfile, sync
Migrating to AKOSImport workflows, migrate-to-cloud
DeployingPlugins, sidecar, snapshots, telemetry

Reference

On this page