> ## Documentation Index
> Fetch the complete documentation index at: https://dench.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Dench CLI command reference

> Full reference for dench CLI commands covering sign in, context, CRM, outreach campaigns, integrations, memory, billing, files, routines, and chat.

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

> [card] [CRM](https://dench.com/docs/crm.md)
>
> objects, fields, entries, cells, query

> [card] [Integrations](https://dench.com/docs/integrations.md)
>
> apps, tool status/connect/run

> [card] [Memory](https://dench.com/docs/memory.md)
>
> search, save

> [card] [Browser](https://dench.com/docs/cli/browser.md)
>
> actions, Playwright sessions

> [card] [Billing](https://dench.com/docs/billing.md)
>
> status, topup, upgrade

> [card] [API](https://dench.com/docs/api/overview.md)
>
> the HTTP equivalent

> [!TIP]
>
> Add `--json` to almost any command for machine-readable output.

## Sign In

```bash theme={null}
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

```bash theme={null}
dench context --json
dench status --mine --json
dench agents --json
```

## CRM

```bash theme={null}
dench crm objects list --json
dench crm objects get <object> --json
dench crm objects create <name> --icon database --json
dench crm objects update meeting --visibility workspace|owner_only|owner_plus_members --json   # meeting, calendar_event, email_thread only
dench crm fields list <object> --json
dench crm entries list <object> --json
dench crm entries list <object> --mine --json            # personal scope: assigned to me
dench crm views entries <object> <view> --assigned-to <userId|email|unassigned> --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, with shortcuts:

```bash theme={null}
dench crm entries list task --json
# Field names are validated on write (unknown fields are rejected). Check
# them first with `dench crm fields list task`.
dench crm entries create task --data '{"Name":"Follow up","Status":"To Do"}' --json
dench crm tasks mine [--priority high] --json
dench crm tasks list <object> <entryId> --json
dench crm tasks create <object> <entryId> --name "Follow up" --assignee <userId> --due 2026-09-05 --priority high
dench crm tasks priority <taskEntryId> <low|medium|high | --none>
dench crm tasks subtasks <taskEntryId> --json
dench crm tasks create-subtask <taskEntryId> --name "Write runbook" [--assignee <userId>] [--due YYYY-MM-DD] [--priority low]
dench crm tasks parent <taskEntryId> <parentTaskEntryId | --none>
dench crm tasks repeat <taskEntryId> [daily|weekdays|weekly|monthly|yearly] [--on mon,wed] [--every N] [--day 17|last] [--nth 2 --on tue] [--ends-after N | --until YYYY-MM-DD] [--on-schedule] [--skip-weekends]
dench crm tasks repeat <taskEntryId> --rrule "FREQ=WEEKLY;BYDAY=MO"
dench crm tasks repeat <taskEntryId> --skip | --pause | --resume | --off
dench crm tasks series [--status active|paused|ended]
dench crm tasks series <seriesId> --occurrences
dench crm tasks complete <taskEntryId>
dench crm tasks reopen <taskEntryId>
dench crm tasks delete <taskEntryId> [--keep-subtasks]
```

## Comments

Threaded comments on a record; `[@Name](/?member=<userId>)` mentions notify,
`--dench` summons the agent into the thread.

```bash theme={null}
dench crm comments list <object> <entryId> --json
dench crm comments replies <commentId> --json
dench crm comments create <object> <entryId> --body "…" [--reply-to <commentId>] [--dench]
dench crm comments update <commentId> --body "…"
dench crm comments delete <commentId>
dench crm comments react <commentId> 👍
dench crm watch <object> <entryId> [--off]
```

## Analytics

The dashboard above every object table — same math the UI draws. See
[Analytics](https://dench.com/docs/analytics.md).

```bash theme={null}
dench crm analytics get <object> [--view <view>] --json
dench crm analytics compute <object> [--view <view>] [--period this_month] [--panel <id> …] [--panels '<json>'] [--filters '<FilterGroup>'] --json
dench crm analytics save <object> <panelId> --panel '<json>' [--view <view>]
dench crm analytics delete <object> <panelId> [--view <view>]
dench crm analytics reorder <object> <id1> <id2> … [--view <view>]
dench crm analytics roles <object> --roles '<json>'
dench crm analytics collapse <object> | expand <object>
dench crm analytics scope <object> <view> --mode own|shared
```

## Meetings

Meetings are `meeting` CRM records (create/update/delete with `dench crm
entries … meeting`). These verbs reach the transcript, action items and
attendance beside the record, and import many calls at once.

A meeting is private by default. You can read one if you own it, if you were
on the invite, or if it has been shared with the workspace — and that is the
same rule for the record, its transcript, its action items and its roster.
`dench meetings share` is how a meeting is opened to the team; the default
for your new meetings is your own setting (Settings → Personal → Meetings →
My new meetings).

```bash theme={null}
dench meetings list [--limit N | --all] [--shared] --json
dench meetings get <meetingId> --json
dench meetings recording <meetingId> [--download <path>] [--audio] --json
dench meetings share <meetingId>                # who can read it today
dench meetings share <meetingId> --workspace    # open it to every member
dench meetings share <meetingId> --private      # back to owner + invitees
dench meetings transcript get <meetingId> [--json|--text]
dench meetings transcript set <meetingId> --text transcript.txt | --jsonl segments.jsonl [--append]
dench meetings action-items list|add|set|done|undone|delete …
dench meetings participants list <meetingId> --json
dench meetings participants set <meetingId> --people 'Hank <hank@globex.com>; ada@acme.com' [--replace]
dench meetings import --csv calls.csv | --jsonl calls.jsonl [--map '{…}'] [--dedupe-key <col>] [--on-conflict skip|update|error] --json
```

## Members

Profiles, presence, and what each teammate is doing. `<userId|email>` accepts either.

```bash theme={null}
dench members list --json
dench members get <userId|email> --json
dench members activity <userId|email> [--limit 30] [--kinds comments,changes]
dench members tasks <userId|email>
dench members presence [<userId|email>...]
dench members me [--name "…"] [--tagline "…"] [--timezone <IANA>] [--avatar ./me.png]
```

## Notifications

```bash theme={null}
dench notifications list [--filter inbox|unread|archived|all|mentions] --json
dench notifications count
dench notifications read <id> [--unread]
dench notifications read-all
dench notifications archive <id>
dench notifications prefs [--set emailEnabled=false] [--set <kind>.email=false]
```

## Dench Integrations

`dench integrations` lists every connected app: apps from the catalog plus the
Gmail, Outlook, Calendar and LinkedIn accounts Dench connects itself. Each row
carries `source` (`app` or `dench`) — only `app` rows have a
`connectedAccountId` to pass to `dench tool run --account`.

(For the App Store — installing and publishing apps — see `dench apps`.)

```bash theme={null}
dench integrations --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

```bash theme={null}
dench memory search "deployment policy" --json
dench memory save deployment-policy "Never deploy without approval." --kind decision --json
```

## Browser

```bash theme={null}
dench browser open https://example.com --json
dench browser inspect --json
dench browser click --text "Sign in"
dench browser screenshot --output page.jpg --json
dench browser session create --json
dench browser session status <session_id> --json
dench browser session stop <session_id> --json
```

Interactive actions and Playwright/CDP sessions are covered in
[Browser](https://dench.com/docs/cli/browser.md).

## Chat

```bash theme={null}
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

```bash theme={null}
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`.

## Outreach Campaigns

Email and LinkedIn steps sent to a list of people on one schedule, from a brief
to a launch. `<campaign>` is an id or an exact name. Confirm `dench campaign help`
lists `draft`, `search`, `add`, `steps`, `person` and `preview`. Needs a
workspace member's credentials (`dench signin`), a paid workspace for searches
and connected sender accounts.

```bash theme={null}
dench campaign accounts --json
dench campaign draft --name "Founder outreach" --request-id founders-q4 --timezone America/Los_Angeles --window "Mon-Fri 9-18" --daily-cap 30 --email-mailboxes <mailboxId1>,<mailboxId2> --linkedin-accounts <linkedinId> --json
dench campaign create --name "Founder outreach" --timezone America/Los_Angeles --window "Mon-Fri 9-18" --daily-cap 30 --json
dench campaign search --filters '{"titles":["Founder"],"locations":["United States"]}' --not-industries "Staffing and Recruiting" --limit 25 --out audience.json
dench campaign add <campaign> --people-file audience.json --json
dench campaign add <campaign> --search '{"titles":["Founder"]}' --limit 50 --json
dench campaign add <campaign> --csv people.csv --preview
dench campaign add <campaign> --list <artifactId> --json
dench campaign add <campaign> --object lead --view "Q3 targets" --json
dench campaign add <campaign> --object people --entries <id1>,<id2> --json
dench campaign add <campaign> --name "Ada Lovelace" --email ada@example.com --json
dench campaign steps get <campaign> --with-ids > steps.json
dench campaign steps set <campaign> --file steps.json --json
dench campaign steps edit <campaign> --file steps.json --json
dench campaign personalize set <campaign> --file lines.json
dench campaign preview <campaign> --person "Ada Lovelace" --step 1
dench campaign launch <campaign> --check --json
dench campaign launch <campaign> --ack-linkedin-risk --json
dench campaign get <campaign> --json
dench campaign list --all --json
dench campaign people <campaign> --status paused --json
dench campaign events <campaign> --max-pages 2 --json
dench campaign replies <campaign> --since 7d --json
dench campaign person show <campaign> --person <enrollmentId> --json
dench campaign pipeline <campaign> --json
dench campaign where <entryId> --json
dench campaign set <campaign> --window "Mon-Fri 9-18" --window "Sat 10-12" --no-stop-on-reply --start 2026-09-03 --json
dench campaign set <campaign> --email-mailboxes <mailboxId1>,<mailboxId2> --linkedin-accounts none --json
dench campaign duplicate <campaign> --name "Founder outreach 2" --json
dench campaign remove <campaign> --person <enrollmentId> --json
dench campaign person set <campaign> --person <enrollmentId> --field "Company=Acme" --json
dench campaign sync <campaign> --json
dench campaign stop <campaign> --person <enrollmentId> --json
dench campaign resume-person <campaign> --person <enrollmentId> --json
dench campaign pause <campaign> --json
dench campaign resume <campaign> --json
dench campaign archive <campaign> --json
dench campaign delete <campaign> --json
dench campaign builder profile --json
dench campaign builder lookalike --linkedin-url <best lead's LinkedIn URL> --json
dench campaign builder save --file draft.json --json
dench campaign builder build <draftId> --json
dench campaign builder sequence <draftId> --goal "Book a demo" --help-with "..." --json
dench campaign builder outreach <draftId> --file outreach.json --approval manual --json
dench campaign builder create <draftId> --name "Hiring teams" --paused --json
dench campaign builder drafts --json
dench campaign sources get <campaign> --json
dench campaign sources overview <campaign> --json
dench campaign sources run <campaign> --json
dench campaign sources pending <campaign> --json
dench campaign sources approve <campaign> --people <enrollmentId>,<enrollmentId> --json
dench campaign queue <campaign> --json
```

`builder` is the app's New campaign flow for signal and lookalike campaigns:
save the source, audience, signals and terms, build the first people, write the
sequence, choose senders, schedule and approval, then create the campaign.
`sources` manages a live campaign's signals: `run` searches now (Run now),
`pending`, `approve` and `reject` handle people waiting for approval, and
`queue` shows who goes out today.

A search costs 1 cent per person returned and prints the most a call can cost
before it runs. `add --people-file` adds the searched people without searching
again (up to 300 per file, in batches of 50); `--not-industries`, `--not-titles`,
`--not-domains` and the other `--not-<filter>` flags leave values out of a
search. A campaign holds at most 300 people: `duplicate` copies the steps,
schedule and senders into a new draft with no people, and the next page of the
search goes into the copy.

`steps.json` is a JSON array of steps (`email`, `wait`, `linkedin_visit`,
`linkedin_connection`, `linkedin_message`). `steps set` replaces every step and
works while the campaign is a draft; it refuses a field the step would drop and
`{TOKEN}` with single braces (write `{{TOKEN}}`). `steps edit` changes the text
and waits of a launched campaign in place and keeps every step's type and order.
`--window` takes `"<days> <start>-<end>"`, e.g. `"Mon-Fri 9-18"` or
`"Mon,Wed,Fri 10-16"`, and may repeat. A bare `--start` / `--end` date is
midnight in the campaign's timezone. `launch --check` never launches: it prints
each blocker in plain words with the command that fixes it and exits 1 when the
campaign is blocked; `launch` runs the same check and then launches. `get`
shows the funnel, what is being sent now, what comes next and why anything is
holding. `personalize` sets up to 5 AI-written lines (about 3 cents a person)
used as `{{key}}` in steps; `preview` shows the exact messages one person gets.
Outreach needs a workspace member's credentials; an organization-only API key
cannot run it.

Sender pools are configured once with `--email-mailboxes` and
`--linkedin-accounts` (up to 50 ids per channel, comma-separated or a JSON
array). Omit to preserve existing settings; `none` or `'[]'` clears a pool.
These map to `emailMailboxAccountIds` / `linkedinAccountIds` in the API. Steps
in a pool campaign omit sender ids; legacy step senders are kept until
conversion. Only accessible accounts may be selected, launch validates
availability, and existing conversations keep their assigned sender.

`dench campaign accounts --json` lists email and LinkedIn senders with local
ids and display labels, never provider credentials. Discovery follows the
acting member's permissions: their private accounts plus teammates' shared
connections. LinkedIn rows include `linkedinAccountId`, availability,
`remainingToday` (invites/messages/profiles) and `remainingInvitesThisWeek`.
Today's invites also respect the weekly cap. Counts are account-local usage
snapshots before queued work and campaign limits; launch/dispatch revalidate.
For API clients, `GET $DENCH_API_BASE/campaigns/accounts/linkedin` returns the same LinkedIn
summaries using a member-bound API key or agent session.

## Files

```bash theme={null}
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

```bash theme={null}
dench search "latest AI CRM workflows" --json
dench search "senior ML engineers at fintech companies" --category people --json
dench search "Swiss fintech founded after 2020" --category company --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
```

`--category people` and `--category company` return structured entity data.
They do not return email addresses or phone numbers. Domain filters work for
company search but are refused for people search. Published-date filters are
refused for both entity categories because the search does not apply them reliably.

## Dench Web

Page reads, brand kits, sitemaps, crawls, screenshots, and structured
extracts. Prefer these over writing your own scraper. Search stays
`dench search`. `dench context` is workspace orientation, not this.

```bash theme={null}
dench web scrape https://example.com --json
dench web brand stripe.com --json
dench web sitemap example.com --limit 1000 --json
dench web crawl https://example.com --max-pages 15 --json
dench web screenshot https://example.com --full-page --json
dench web extract https://example.com --schema '{"type":"object","properties":{"title":{"type":"string"}}}' --json
dench web product https://example.com/product --json
dench web competitors stripe.com --json
dench web styleguide stripe.com --json
dench web classify stripe.com --scheme naics --json
```

Crawl defaults to 15 pages and is hard-capped at 50.

## Billing

```bash theme={null}
dench billing status --json
dench billing topup --amount 10 --json
dench upgrade --tier max --json
```

## Sessions

```bash theme={null}
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

```bash theme={null}
dench context --sections identity,organisation,user,memory,rules,tools --json
dench context set organisation --stdin < organisation.md
dench model default dench.instant
```

## Reusable setups and credentials

`dench memory` stores knowledge. It does not persist installed dependencies or API keys.

```bash theme={null}
dench env save report --path ./report --wait 10 --json
dench env show report --json
dench secrets set REPORT_TOKEN --stdin < /private/path/token.txt
dench env run report -- node report.mjs
dench chat new "Run the saved report." --environment report --follow
dench cron create "Daily report" --prompt "Run the report." --every 1d --environment report
```

Only explicitly saved setups are reused. Package installation happens during preparation;
ready jobs reuse the snapshot or prepared bundle. Credentials are workspace-shared,
encrypted separately and refreshed at execution. The secure question form keeps values
out of chat history. See [the environment reference](https://dench.com/references/ENVIRONMENTS.md)
for the manifest, private state, rotating credentials and local preparation.

The generated [CLI index](https://dench.com/references/CLI.md) and
[API reference](https://dench.com/references/API.md) track the released parser and registry.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.