Skip to content

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 ​

OptionWhat it does
-p, --print TEXTOne 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 DIRIn print mode, download the files the reply saved
--workspace DIRThe folder the agent works in (default: the current folder)
--no-workspaceNo folder: no file, command or git tools
--mode ask|edits|workspaceThis run's permission mode, never kept
--model auto|light|default|strongThe model tier
--assistant NAMEA new chat with one of your assistants
--allow-commandsLet print mode run commands
--dangerously-skip-permissionsFully free for this chat: nothing on this computer asks, and commands run without the sandbox. Destructive writes in apps still ask
--hub URLThe Crewdesk server to talk to

Subcommands ​

CommandWhat 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 versionThis version, and whether a newer one is published
crewdesk sessions [-n N] [--json]Recent sessions
crewdesk token status|set|clearYour Enterprise Action Token
crewdesk assistants [--json], crewdesk assistants show REFYour assistants
crewdesk devices [--json], crewdesk devices revoke IDYour devices
crewdesk activity [CATEGORY…] [-n N] [--session ID] [--json]What Crewdesk did for you
crewdesk schedules [--json], crewdesk schedules resume NYour 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|removeKnowledge notes (note admins)
crewdesk policy [--json], crewdesk policy set JSONYour 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 ​

KeyDoes
EnterSend
Up / DownWalk through what you sent
Ctrl+CStop the reply; twice with nothing running quits
Ctrl+NNew session
Ctrl+BShow / hide the sessions sidebar
Ctrl+RGo to the sidebar
Ctrl+OSwitch AMP organization
a / cOn a proposal: approve / cancel
o / sOn a file row: open it / save it to Downloads

Environment ​

VariableUse
CREWDESK_HUBThe Crewdesk server, as --hub
CREWDESK_TOKENA token for non-interactive use such as CI; wins over the stored one
CREWDESK_PROJECTS_DIRWhere new projects go (default ~/Crewdesk)

Crewdesk is built on CrewAI AMP. It is not an official CrewAI product.