> ## 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.

# Agent memory for durable knowledge

> Save and search durable workspace facts, decisions, preferences, and conventions so Dench agents reuse stable knowledge across sessions.

Memory is for stable knowledge that should outlive a single run, not scratch
notes and not secrets.

## Save and search

<CodeGroup>
  ```bash Save theme={null}
  dench memory save deployment-policy \
    "Never deploy without human approval." \
    --kind decision --tags deployment,policy --json
  ```

  ```bash Search theme={null}
  dench memory search "deployment policy" --json
  ```
</CodeGroup>

## What belongs here

<Columns cols={2}>
  <Card title="Save" icon="circle-check">
    Facts, decisions, preferences, recurring goals, conventions, and tool notes.
  </Card>

  <Card title="Never save" icon="circle-xmark">
    Passwords, tokens, private keys, one-time codes, raw secret-bearing email, or
    one-off scratch notes.
  </Card>
</Columns>

<Info>
  Entry-specific prose belongs in the CRM `Notes` field. Memory is for durable,
  workspace-wide knowledge. Sensitive memories are held for human review.
</Info>

## Kinds

`fact`, `decision`, `preference`, `goal`, `tool_note`, `convention`,
`project_context`, `agent_lesson`, `docs_knowledge`, `open_goal`, `other`.
