Agent workflows

Agent integration

Use the Parchment CLI as a stable interface for AI agents, coding assistants, and external automation.

The CLI is the preferred documented automation surface for most non-visual workflows. It gives agents stable command names, explicit auth requirements, predictable output modes, and a machine-readable manifest when needed.

The Purveyors web app also imports CLI modules directly for chat tools, which keeps browser, terminal, and agent behavior aligned on shared domain logic.

How the web app uses the CLI

  • The app imports CLI modules for catalog, inventory, roast, sales, and tasting operations inside chat tool execution. The CLI package also publishes manifest, Artisan, and AI helper subpaths for agent and integration surfaces.
  • Read tools execute shared CLI functions directly. Write tools stay user-confirmed through proposal cards and constrained execution routes.
  • This architecture keeps terminal, browser, and agent workflows aligned on the same domain rules and reduces drift between docs and implementation.
Agent bootstrap sequence
purvey auth login --headless
purvey manifest --pretty
purvey catalog search --origin "Ethiopia" --json

Related links