Use Doozy from your terminal
The Doozy CLI is a terminal client for the same workspace you use in the app, over the same scoped API key.
Install
You need Node 20 or newer. On macOS or Linux:
curl -fsSL https://usedoozy.com/install-cli.sh | shThe script downloads https://usedoozy.com/cli/0.1.0/doozy.js, verifies its SHA-256 checksum from the adjacent .sha256 file, and installs ~/.doozy/bin/doozy. Re-run it to upgrade. Verify the installed file with:
export PATH="$HOME/.doozy/bin:$PATH" # only needed until you open a new shell
doozy --versionNpm and pip packages: coming soon. The npm package remains private until package-manager distribution is ready.
Contributors can run it from source:
git clone https://github.com/dcouple/doozy.git
cd doozy
npm ci
npx nx build @doozy/cli
node apps/cli/bin/doozy.js --versionGet a key
Create a key under Settings > API keys, then export it. Authentication and keys covers scopes, rotation, and revocation.
export DOOZY_API_KEY="doozy_sk_..."Prove it works
doozy meworkspace Acme customer success 4f30d6f1-...
user You <you@acme.com>
credential api_key: Terminal
expires never
scopes todos:read, todos:write, chats:read
base url https://api.usedoozy.com/api/v1The workspace name must match the workspace where you created the key.
Day one commands
List active work:
doozy todos ls --status activeID PRI STATUS TITLE UPDATED
1b4c9d2e high ready Review the Q3 numbers 3m ago
8ad15c40 none in progress Draft customer reply 1m ago
2 todosCount it without printing every row:
doozy todos counttotal 12
active 10
ready 8
in_progress 2
done 2Create a todo:
doozy todos create "Review the Q3 numbers" --priority highcreated 1b4c9d2e-... Review the Q3 numbersComplete it:
doozy todos done 1b4c9d2e-...done 1b4c9d2e-... Review the Q3 numbersList conversations with agents:
doozy chats ls --limit 5ID STATUS TITLE MSGS LAST
7ed091af completed Q3 review follow-up 4 2m agoUse it from a script
Every create and agent run sends an idempotency key by default, so a retry after a timeout returns the first result instead of creating duplicate work. Use --json on any command for machine-readable output:
doozy todos ls --status active --jsonExit codes are stable: 0 success, 1 API or network failure, 2 invalid usage, and 3 missing or invalid local credentials.
Run doozy --help for the full command reference generated from the CLI’s own command table, or doozy help <command> for every option on one command.