Skip to content
Oriyn
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

VariableEffect
ORIYN_ACCESS_TOKENUse a token directly for CI or sandboxed agents.
ORIYN_API_BASEOverride the API base URL.
ORIYN_PRODUCTOverride the linked product.
ORIYN_ORGOverride the linked organization.
ORIYN_CONFIG_DIRMove the global config directory.
ORIYN_TELEMETRY=offDisable anonymous CLI usage events.

On this page