Quickstart
From "no key" to triaging your inbox in under a minute.
CLI quickstart
1
Install
bashnpm install -g @rogeriq/cli# or: brew install rogeriq/tap/rogeriq
2
Authenticate
bashrogeriq auth login
Opens your browser. Confirm. The CLI saves the API key locally.
3
Pick a project
bashrogeriq projects listrogeriq projects use prj_xxxxxxxxxxxx
4
Triage your inbox
bashrogeriq conversations list --status openrogeriq conversations get con_xxxxxxxxxxxxrogeriq conversations reply con_xxxxxxxxxxxx "Thanks — looking into this now."rogeriq conversations resolve con_xxxxxxxxxxxx
5
Let the AI draft a reply
bashrogeriq agent respond con_xxxxxxxxxxxx
Common workflows
Search the knowledge base before replying
bashrogeriq kb search "refund policy"
Ingest a docs site into the KB
bashrogeriq kb crawl https://docs.example.comrogeriq kb crawl status crawl_xxx
Customize the chat widget
bashrogeriq widget configrogeriq widget set --theme dark --primary-color '#5b21b6'
Subscribe to webhooks
bashrogeriq webhooks create \ --url https://your-app.com/rogeriq-hook \ --events 'conversation.*,message.created'rogeriq webhooks test wh_xxxxx # fire a sample eventrogeriq webhooks deliveries wh_xxxxx
Pipe IDs through a shell loop
bash# Resolve every conversation an agent classified as low-priorityfor id in $(rogeriq conversations list --status open --priority low --quiet); do rogeriq conversations resolve "$id"done
Output
- Defaults to a human-readable table when stdout is a TTY.
- Defaults to JSON when stdout is piped — agent/jq-friendly.
- Force JSON with
--json. Print only IDs with--quiet.
bashrogeriq conversations list --status open --json | jq '.[].id'
Project switching
Most commands operate against a single project. Three ways to pick one:
bash# 1. Set the default (saved in ~/.rogeriq/config.json)rogeriq projects use prj_xxx# 2. Override per shell sessionexport RIQ_PROJECT_ID=prj_xxx# 3. Override per commandrogeriq conversations list --project prj_xxx
Help
bashrogeriq --help # top-levelrogeriq <group> --help # subcommand listrogeriq <group> <subcommand> --help # flags + examples