Spinrun Docs
Build

Edit with the CLI

The get, validate and put loop that makes document edits safe from a terminal.

spinrun agent list
spinrun agent get triage-bot > agent.json
jq '.instructions = "Triage, then label."' agent.json > edited.json
spinrun agent validate --file edited.json
spinrun agent put --file edited.json

get prints the document and nothing else, so it pipes. Every other command prints text, or JSON with --json.

On this page