CLI
CLI Commands
Command reference for the Oriyn CLI.
The CLI covers auth, product linking, product inspection, personas, patterns, research, sync, status, configuration, and agent-friendly output.
Command Reference
oriyn auth login [--no-browser]
oriyn auth logout
oriyn auth whoami
oriyn auth status
oriyn link [--product <id>]
oriyn unlink
oriyn products
oriyn personas [id]
oriyn patterns
oriyn research modes
oriyn research list
oriyn research ab-test --question <text> --a <text> --b <text>
oriyn research delphi --question <text>
oriyn research experiment --question <text> --a <text> --b <text> [--c <text>] [--agents 100|500|1000]
oriyn research playtest --url <url> --task <text> --allow-domain <domain>
oriyn sync
oriyn status
oriyn config [key] [value]
oriyn open [resource]
oriyn upgrade
oriyn completion <bash|zsh|fish>JSONL Output
The CLI switches to JSONL for non-TTY output so coding agents and CI can parse progress and final results reliably.
{"type":"step","name":"resolve-product","ts":"..."}
{"type":"progress","message":"status: running","ts":"..."}
{"type":"result","data":{"kind":"ab_test","status":"succeeded","output_summary":{}}}Environment Variables
| Variable | Effect |
|---|---|
| ORIYN_ACCESS_TOKEN | Use a token directly for CI or sandboxed agents. |
| ORIYN_API_BASE | Override the API base URL. |
| ORIYN_PRODUCT | Override the linked product. |
| ORIYN_ORG | Override the linked organization. |
| ORIYN_CONFIG_DIR | Move the global config directory. |
| ORIYN_TELEMETRY=off | Disable anonymous CLI usage events. |