AI-powered orchestration in the terminal

Operate Xyte with command-line clarity.

@xyteai/cli operates your Xyte fleet from the terminal — for operators typing commands and for shell-capable AI agents and CI jobs running them for you. It exposes the real commands from install to tenant setup, fleet inspection, console workflows, and exportable PDF or JSON handoff artifacts. You need a Xyte account, an API key from your Xyte admin, and Node.js 22+. What to ask your admin →

Visible commands Every step is a real command you can copy and run. No hidden abstractions.
Read-first Inspect fleet state before changing anything. Watch incidents, then act.
Agent-ready Built-in scaffolding for Codex, Claude, and Copilot agent workflows.
Portable outputs Export fleet data as schema-backed JSON or formatted PDF reports.

See it in action

Install

Three ways to get running.

Using an AI agent? Hand it the prompt — it runs xyte-cli doctor environment --format json and follows the recommended install mode from the report. Manual terminals install the package globally, connect an API key, and verify readiness. Then move into fleet inspection, incident watch, or report generation.

Before you start: in Xyte, open Settings → API Keys and create a key. Save it in a plain text file outside your project folder (for example xyte-api-key.txt on your Desktop) — any text editor works. Your agent will ask for the file's path.

Paste this into Claude Code, Codex, or Copilot Agent mode:

Use @xyteai/cli in this workspace.Never print secrets. Do not invent IDs or outputs.
First run `xyte-cli doctor environment --format json`.If `xyte-cli` is missing, run `npx -y @xyteai/cli@latest doctor environment --format json`.Follow the report's recommendations.nextCommand and recommendations.commands.
If `xyte-cli setup status` shows no connected profile, ask me for the path to my API key file (never the key itself) and connect it with the report's setupKeyFile recipe.Do not ask me to paste API keys into chat.Do not store API keys inside the repo.After setup succeeds, offer to delete the key file, then run `xyte-cli init --scope project --agents all --force --no-setup`.
If this surface cannot run shell commands, stop and say I need a shell-capable terminal or agent.
Open agent guidance

Ready to run

Start operating.

Install the CLI, connect the API key, and run your first fleet inspection in under five minutes.