Skip to main content

Model council

tpc council is the CLI for Model Council. It scores every response for a product, topic, or prompt against the product’s question config. You can run a council snapshot, read status and reports, replace the config YAML, and delete completed snapshots. tpc snapshot is an alias for tpc council.
Run tpc org switch <org-slug> and tpc product switch <product-slug> first. Saving or deleting config.yaml requires an admin session.

Config

Get the current YAML:
Replace it from a file (or stdin):
Edit it in $VISUAL or $EDITOR:
Delete it. tpc council run will fail until a new config is uploaded:

Run

Fast mode is on by default (synchronous gateway analysis). Pass --fast-mode=false for the batch path.
run starts the workflow and exits. Council runs can take a long time. Check status with list.

Results

report prints a markdown summary by default (executive summary, tracked signals, suggested actions, and a capped claims table). Use --format json for the full payload. The report is only available for snapshots with status completed.

Delete a snapshot

There is no API to patch an existing snapshot row. Change the scoring rubric with tpc council config set, then run again. Delete a completed or failed snapshot with:
Snapshots still generating cannot be deleted.

JSON output