Skip to content

CLI

How a user and an agent work with the ai_stp CLI.

CLI

The CLI is the main user interface of ai_stp for assembling, checking and installing setups. The web shows the catalog and the account; it does not apply configuration to a harness.

Commands that observe

Observing commands create nothing and change nothing:

ai-stp version
ai-stp doctor --json
ai-stp capabilities --json
ai-stp help --agent --json
ai-stp config show --json
ai-stp auth status --json
ai-stp device show --json

On a fresh installation they return a typed state rather than quietly initialising a device.

Commands that change

Changing commands say what they do:

ai-stp device init --json
ai-stp passport developer init --json
ai-stp passport developer update --json
ai-stp passport device refresh --json

Dangerous actions ask for confirmation. Resetting a device, for one, must not happen as a side effect of a diagnostic.

Install telemetry

Off by default. After explicit consent the CLI sends one anonymous request per component actually installed — what it carries and why is in Install telemetry.

ai-stp telemetry show --json

Agent Skill

The Agent Skill starts with:

ai-stp doctor --json
ai-stp help --agent --json

After that the agent uses the machine list of commands from the CLI itself. That is what protects against stale instructions and hallucinated flags.

StageCommandWhy
Check the environmentai-stp doctor --jsonsee what is available and what is broken
Learn the capabilitiesai-stp capabilities --jsondo not assume harness support
Get the machine helpai-stp help --agent --jsonuse the commands that exist now
Find an objectai-stp registry search --jsonchoose a setup or a component
Read an objectai-stp registry show <stable_id> --jsoncheck the passport before deciding

!!! note "Commands here are a guide for people" If the CLI answers with newer machine help, the agent follows that. This documentation explains the model; it does not replace the CLI's executable help.

ai_stp