Skip to content
Oriyn
CLI

CLI Commands

Command reference for the Oriyn CLI.

The CLI covers auth, product linking, product inspection, personas, patterns, experiments, 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 experiments [id]
oriyn experiments run "<hypothesis>"
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":"create-experiment","ts":"..."}
{"type":"progress","message":"status: running","ts":"..."}
{"type":"result","data":{"summary":{"verdict":"ship","convergence":0.86}}}

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