Skip to content

postsale run (command stub)

Run the natural-language agent: authorize money-moving work, rehearse with dry-run, stream events, or continue a conversation.

Updated September 3, 20261 min readPostsale CLI

Natural-language agent loop.

Full explanation: Use Natural Language with postsale run: loop behavior, envelope, stream, auth, failures.
Related: dry-run · [parallel batch](../features/parallel batch.md) · safety handbook

Quick usage

bash
postsale run "<intent>" [--yes] [--authorize tools] [--dry-run] [--stream] \
  [--provider name] [--model m] [--max-turns n] \
  [--continue [id]] [--interactive]
postsale run --examples

There is no test-label flag: set POSTSALE_TEST_LABEL_MODE=1 in the environment and the run creates only test shipments and buys only test labels, with a one-line notice at start. Gates are unchanged. See the safety model.

Requires ANTHROPIC_API_KEY (or ANTHROPIC_AUTH_TOKEN) or OPENAI_API_KEY. Verify flags: postsale run --help.

Stdout: one JSON envelope (default) or NDJSON (--stream). Progress on stderr.

Agent hosts

AGENTS.md · agent/QUICKREF.md