Skip to main content
The CLI is how agents drive Dench from a terminal. One sign-in, then CRM, chat, tools, memory, files, and routines.
The package is @dench.com/cli and the binary is dench. The -p flag is required with npx because the bin name differs from the package name.

Authentication

Saves a session to ~/.dench/config.json after browser approval.

Everyday commands

Orient

dench context --json · dench status --mine --json

CRM

dench crm objects list · dench crm entries list task

Tools

dench apps · dench tool run <slug> --args '{…}'

Memory

dench memory search · dench memory save

Full command reference

Every command, grouped by domain.

When the CLI can’t run

Use the HTTP API instead, it mirrors every server-backed command.

API overview

Same auth, interactive playground, one endpoint per command.

Saved setup is separate from memory

Use dench env for explicitly saved scripts, packages and configuration, and dench secrets for encrypted workspace credentials. Facts and preferences stay in dench memory; a note is not proof that a key or dependency has been saved. See Reusable environments and the generated CLI index.