The CLI.

For one-off scripts, Make targets, and CI jobs. The CLI is a thin wrapper around the API; anything you can do via the API, you can do here.

Install

# macOS / Linux
brew install wrxstack

# Linux (direct)
curl -fsSL https://wrxstack.com/install.sh | sh

# Windows
scoop install wrxstack

Verify:

wrxstack --version
# wrxstack 0.4.2 (darwin/arm64)

Authenticate

wrxstack login
# Opens the browser → finishes the OAuth flow
# Stores the token in ~/.config/wrxstack/credentials

For CI, prefer environment variables:

export WRX_API_KEY="sk_live_..."
export WRX_WORKSPACE="acme"

Common commands

# Tasks
wrxstack tasks create --title "Review MSA" --assignee priya@
wrxstack tasks list   --assignee priya@ --status open
wrxstack tasks complete tsk_01HQ3K...

# Assistants
wrxstack assistants list
wrxstack assistants invoke triage --input '{"task_id":"tsk_01HQ3K..."}'

# Workflows
wrxstack workflow apply ./support-triage.toml
wrxstack workflow run   ./support-triage.toml --dry-run

# Search
wrxstack search "Acme MSA renewal" --type Document --type Contract

Output formats

Default output is human-readable. For scripting, use --output json or --output yaml.

wrxstack tasks list --output json | jq '.data[] | {id, title, assignee}'

Shell completion

wrxstack completion bash > /etc/bash_completion.d/wrxstack
wrxstack completion zsh  > "${fpath[1]}/_wrxstack"
wrxstack completion fish > ~/.config/fish/completions/wrxstack.fish