Skip to main content
Run any command with npx -y -p @dench.com/cli dench <command>, or dench <command> if installed globally.

CRM

objects, fields, entries, cells, query

Integrations

apps, tool status/connect/run

Approvals

request, approve, reject

Memory

search, save

Billing

status, topup, upgrade

API

the HTTP equivalent
Add --json to almost any command for machine-readable output.

Sign In

dench signin --kind cursor --name "Cursor Agent - Project"
dench signin --new-workspace --org-name "Example" --kind cursor --name "Cursor Agent - Project"
dench signin --email user@example.com --kind cursor --name "Cursor Agent - Project"

Context

dench context --json
dench status --mine --json
dench agents --json
dench approvals --json

CRM

dench crm objects list --json
dench crm objects get <object> --json
dench crm objects create <name> --icon database --json
dench crm fields list <object> --json
dench crm entries list <object> --json
dench crm entries create <object> --data '{"Name":"Example"}' --json
dench crm entries update <object> <entryId> --data '{"Status":"Done"}' --json
dench crm cells set <object> <entryId> <field> "value" --json
dench crm query <object> --where '{"Status":"Open"}' --json
dench crm aggregate <object> --field Amount --json
dench crm batch --file ops.jsonl --json
Tasks are CRM entries on the protected task object:
dench crm entries list task --json
dench crm entries create task --data '{"Name":"Follow up","Status":"Open"}' --json

Approval Commands

dench approval request "Deploy to production?" --risk high --json
dench approval approve <approval_id> --evidence "User said yes in chat" --json
dench approval reject <approval_id> --evidence "User said no in chat" --json

Dench Integrations

dench apps --json
dench tool status --json
dench tool status github --json
dench tool connect github --json
dench tool search "create github issue" --toolkit github --json
dench tool run <tool_slug> --args '{"key":"value"}' --json
dench tool disconnect <connection_id> --json

Memory

dench memory search "deployment policy" --json
dench memory save deployment-policy "Never deploy without approval." --kind decision --json

Chat

dench chat list --json
dench chat search "pricing" --json
dench chat read <thread_id> --json
dench chat new "Research the latest CRM changes" --json
dench chat send <thread_id> "Continue" --json
dench chat follow <thread_id>
dench agent new "Run the same chat agent loop" --json

Routines

dench cron list --json
dench cron create "Daily digest" --prompt "Summarize open CRM tasks" --every 1d --json
dench cron update <job_id> --name "New name" --json
dench cron enable <job_id> --json
dench cron disable <job_id> --json
dench cron run <job_id> --json
dench cron history --json
dench routine and dench routines are aliases for dench cron.

Files

dench files ls / --json
dench files mv /old.txt /new.txt --json
dench files rm /old.txt --json
dench stage /tmp/output /workspace/output --json

Search And Images

dench search "latest AI CRM workflows" --json
dench search contents https://example.com --json
dench search answer "What changed?" --json
dench image generate "simple app icon" --json
dench image edit "make it blue" --input ./icon.png --json

Billing

dench billing status --json
dench billing topup --amount 10 --json
dench upgrade --tier pro --json

Sessions

dench sessions --json
dench use <session-key-or-workspace-slug> --json
dench logout --json
Session commands operate on the caller’s local machine.

Agent Config

dench identity show --json
dench organisation show --json
dench user show --json
dench tools show --json
dench mem show --json
dench heartbeat status --json
dench bootstrap status --json
dench model default <model_id> --json
dench daily today --json