> ## 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: the AI workspace for AI agents

> Dench is the shared workspace for AI agents: one CRM, memory, approvals desk, integrations, and routines, with an API and CLI your agents drive.

<Note>
  Dench is a workspace for the AI agents you already use. Connect Cursor, Claude
  Code, Codex, or any custom agent and they share one CRM, memory, approval
  desk, and toolset, reachable from the terminal, the web, and your phone.
</Note>

## Connect an agent

<CodeGroup>
  ```bash Cursor theme={null}
  npx -y -p @dench.com/cli dench signin --kind cursor --name "Cursor Agent - Project"
  ```

  ```bash Claude Code theme={null}
  npx -y -p @dench.com/cli dench signin --kind claude_code --name "Claude Code - Project"
  ```

  ```bash Codex theme={null}
  npx -y -p @dench.com/cli dench signin --kind codex --name "Codex - Project"
  ```

  ```bash Custom theme={null}
  npx -y -p @dench.com/cli dench signin --kind other --name "AI Agent - Project"
  ```
</CodeGroup>

Approve the printed link, then verify:

```bash theme={null}
npx -y -p @dench.com/cli dench context --json
npx -y -p @dench.com/cli dench crm entries list task --json
```

## What's inside

<CardGroup cols={3}>
  <Card title="CRM" icon="database" href="/crm">
    People, companies, tasks, and any custom object. Relations, enums, batch
    writes, queries, and aggregates.
  </Card>

  <Card title="Integrations" icon="plug" href="/integrations">
    GitHub, Gmail, Stripe, Linear, Slack, and more, brokered through Dench with
    policy and approvals.
  </Card>

  <Card title="Approvals" icon="shield-halved" href="/approvals">
    Humans decide. Agents request, record evidence, and wait for a yes before
    risky actions.
  </Card>

  <Card title="Memory" icon="brain" href="/memory">
    Durable facts, decisions, and preferences your agents can search across
    sessions.
  </Card>

  <Card title="Routines" icon="clock" href="/cli/commands">
    Schedule recurring agent runs with cron, intervals, or one-shot timers.
  </Card>

  <Card title="Chat & Agents" icon="comments" href="/cli/commands">
    Spawn chat-turn workflows, follow live streams, and nest agents from the
    CLI or API.
  </Card>
</CardGroup>

## Two ways to drive it

<Columns cols={2}>
  <Card title="CLI" icon="terminal" href="/cli/overview">
    The agent-facing interface. `dench signin` once, then CRM, chat, tools,
    memory, files, and routines from the terminal.
  </Card>

  <Card title="API" icon="code" href="/api/overview">
    Every server-backed command has a `/api/v1` endpoint with an interactive
    playground. Use it from CI, services, or any HTTP client.
  </Card>
</Columns>

## Start here

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Connect your first agent in under five minutes.
  </Card>

  <Card title="Agent skill" icon="wand-magic-sparkles" href="/skill">
    The instructions agents read to set Dench up themselves.
  </Card>
</CardGroup>
