The exo CLI
Run cluster agents and tools, manage dashboard resources, and sync skills from the terminal.
The exo CLI is one static binary, no runtime dependencies. It talks to two places: the Exo dashboard API (tenant resources like deployments, roles, and skills) and your cluster's Exo Operator (the in-cluster Agent and Tool custom resources). It caches your session to disk, so you stay logged in across commands. Reach for it during incidents, when the UI is too slow.
Install
The installer grabs the prebuilt binary for your platform, drops it at ~/.exo/bin, and adds it to PATH. Builds ship for macOS (Intel and Apple Silicon), Linux (amd64 and arm64), and Windows.
curl -fsSL https://exo.assets.adaptive.live/install.sh | bash
exo version
Login
exo login opens a browser at your Exo endpoint, runs the tenant's sign-in flow (password, OAuth, or SSO), and writes the token to ~/.config/exo/credentials.json (mode 0600). Later commands pick up the cached session on their own.
exo login --endpoint https://exo.example.com
Contexts
Every login is saved as a named context, one per endpoint and workspace. Logging in again to a different workspace or control plane adds a context rather than replacing the session, and switching back never needs a fresh login.
exo login --endpoint https://exo.example.com --context prod
exo context list
exo context use prod
exo context current
exo context delete old-staging
Without --context the login is saved under a generated <endpoint>-<tenant-id> name. Pass --context at login to give the ones you keep a short name.
A single binary with two command surfaces
Commands fall into two families. Knowing which is which tells you where to look when a call fails.
- Agentic commands (
agent,tool) describe things living in a workload cluster and route through the platform: the backend relays to the in-cluster manager and records the session, no kubeconfig needed. - Platform commands (
deployment,skill,role,team,idp, and the other resource verbs) call the Exo API directly with your bearer token fromexo login.
Command reference
1# Session2exo login Authenticate (browser, or --email/--password for CI)3exo logout Delete cached credentials4exo context list | current | use | delete — switch saved logins5exo whoami Show the authenticated user (alias: exo me identity)6exo me Show identity; "exo me permissions" shows effective perms7exo version Print the CLI version8 9# Cluster resources — platform-routed10exo agent list | get | run (alias: invoke) | connect | mount11exo tool list | get | create -f | delete | connect | exec |12 pause | status | test | context [collect]13exo fs list | ls | create | cp | resize | delete14 15# Dashboard resources (via Exo API, requires exo login)16exo deployment list | get | delete | rotate-token17exo skill list | get | create | update | delete | sync18exo sync Mirror tenant skills + policies onto this machine19exo mcp list | get | tools | proxy | create | update | delete20exo role list | get | create | update | delete21exo team list | get | create | update | delete | add-user |22 remove-user23exo permission list | create | update | delete24exo policy create -f <file|dir> [-R] [--update] | list | delete25exo runtime-policy list | get | create | update | delete26 27# Add --json to any command for machine-readable output.28# -v / -vv / -vvv turn on tracing: lifecycle, +bodies, +headers.exo run is a top-level shortcut for exo agent run. Resource nouns not listed above (guardrail, integration, sandbox, oauth-app, mcp-server) share the same generic CRUD surface.
Common workflows
Each has a full chapter behind it: attach to an agent, run an agent, connect to a tool, sessions & replay, skills, MCP servers, file systems, and policies.
exo agent run prod/checkout-bot --reason "investigating stuck order"
exo agent connect prod/default/checkout-bot
exo tool connect prod/orders-db
exo tool exec prod/orders-db -- psql -c 'select count(*) from orders'
exo agent run prod/adaptive/triage-bot --reason "nightly triage"
exo agent list
exo agent get triage-bot -n adaptive
exo skill sync --runtime claude --local --prune
exo sync
exo mcp tools linear
claude mcp add linear -- exo mcp proxy linear
exo fs cp ./dataset.parquet build-cache:/data/dataset.parquet
exo fs ls build-cache:/data
exo agent mount ./src:/workspace/src --name triage-bot
Environment & config
1EXO_ENDPOINT Dashboard API base URL (else credentials.json, else default)2EXO_TOKEN Raw bearer token — highest precedence3EXO_CLIENT_ID OAuth client credentials, exchanged at /api/v1/oauth/token4EXO_CLIENT_SECRET (used when no EXO_TOKEN / credentials.json is present)5EXO_CONTEXT Select a saved context for one command, without switching6EXO_CREDENTIALS Override path to credentials.json (default ~/.config/exo/)7EXO_MANAGER_URL Direct autonomic-manager URL (bypass the kube-apiserver proxy)8NO_COLOR Disable ANSI colour (https://no-color.org)