Skip to content

CLI

Page status: scaffold Source state: checked-fixture Applies to: Shepherd v1.0-dev Owner: @docs-system-owner (TBD) Validation: scripts/gen_cli_reference.py --check

This is reference — exact, generated facts. The mental model lives in concepts; recipes live in guides.

Simulated capture — checked fixture

The Shepherd CLI has not shipped. This page is generated from a checked fixture (docs_src/shepherd/_sim/cli-help.json) that simulates --help capture so the generate-and-drift pipeline runs end-to-end. When the CLI ships, the fixture is replaced by a real capture and this banner is removed (DESIGN Phase 3).

The command groups follow P-021: first-run (init, doctor, demo), provider, placement, workflow, and run/runs. Read-only listings support --json.

shepherd

Usage: shepherd [OPTIONS] COMMAND [ARGS]...

  Build and run agent systems.

Commands:
  init       Create or update project configuration.
  doctor     Report providers, placements, and capability gaps.
  demo       Run the packaged first-run demo (--offline by default).
  provider   List, show, login, and check model providers.
  placement  List, show, check, and configure runnable environments.
  workflow   List, show, install, configure, and run packaged workflows.
  run        Run a task or workflow by id.
  runs       List and inspect recorded runs.

shepherd demo

Usage: shepherd demo [--offline]

  Run the packaged first-run demo.

  --offline   Use the deterministic offline provider (no credentials, no cost).

shepherd workflow

Usage: shepherd workflow COMMAND [ARGS]...

Commands:
  list       List installed workflow manifests. [--json]
  show       Show one workflow's manifest. [--json]
  install    Install a workflow package from PyPI.
  configure  Write project/local workflow configuration.
  run        Run a workflow by canonical id.