Appearance
CLI reference
crewdesk with no subcommand opens the chat window. Everything below also works as crewai desk … where the crewai CLI mounts it. crewdesk --help and crewdesk COMMAND --help print the same.
Chat options
| Option | What it does |
|---|---|
-p, --print TEXT | One turn: the reply to stdout, tool rows to stderr. -p - reads the text from stdin |
--resume [ID] | Continue a session (a picker without ID) |
--save-files DIR | In print mode, download the files the reply saved |
--workspace DIR | The folder the agent works in (default: the current folder) |
--no-workspace | No folder: no file, command or git tools |
--mode ask|edits|workspace | This run's permission mode, never kept |
--model auto|light|default|strong | The model tier |
--assistant NAME | A new chat with one of your assistants |
--allow-commands | Let print mode run commands |
--dangerously-skip-permissions | Fully free for this chat: nothing on this computer asks, and commands run without the sandbox. Destructive writes in apps still ask |
--hub URL | The Crewdesk server to talk to |
Subcommands
| Command | What it does |
|---|---|
crewdesk login [--no-browser] [--with-token] | Sign in with your CrewAI account (device code), or with a token an admin issued, read from stdin |
crewdesk logout [--everywhere] | Sign out this device, or every device |
crewdesk version | This version, and whether a newer one is published |
crewdesk sessions [-n N] [--json] | Recent sessions |
crewdesk token status|set|clear | Your Enterprise Action Token |
crewdesk assistants [--json], crewdesk assistants show REF | Your assistants |
crewdesk devices [--json], crewdesk devices revoke ID | Your devices |
crewdesk activity [CATEGORY…] [-n N] [--session ID] [--json] | What Crewdesk did for you |
crewdesk schedules [--json], crewdesk schedules resume N | Your schedules; resume paused schedule N from its next time |
crewdesk stop-all [--off] [--status] [--org] [--reason TEXT] | Stop all from the shell; --org for your organization (its admins) |
crewdesk notes list|show|add|edit|approve|remove | Knowledge notes (note admins) |
crewdesk policy [--json], crewdesk policy set JSON | Your organization's policy (org admins set it) |
crewdesk config, crewdesk config projects-dir [DIR] | Client settings; where new projects go |
Keys in the chat window
| Key | Does |
|---|---|
| Enter | Send |
| Up / Down | Walk through what you sent |
| Ctrl+C | Stop the reply; twice with nothing running quits |
| Ctrl+N | New session |
| Ctrl+B | Show / hide the sessions sidebar |
| Ctrl+R | Go to the sidebar |
| Ctrl+O | Switch AMP organization |
a / c | On a proposal: approve / cancel |
o / s | On a file row: open it / save it to Downloads |
Environment
| Variable | Use |
|---|---|
CREWDESK_HUB | The Crewdesk server, as --hub |
CREWDESK_TOKEN | A token for non-interactive use such as CI; wins over the stored one |
CREWDESK_PROJECTS_DIR | Where new projects go (default ~/Crewdesk) |