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

# memanto daily-summary

> Generate an AI-written daily summary from an agent's session memories.

# memanto daily-summary

Generate a daily AI summary from an agent's session memories. Also triggers a memory export to keep the local `memory.md` cache in sync.

```bash theme={null}
memanto daily-summary [OPTIONS]
```

**Options:**

* `-d, --date TEXT` - Date in `YYYY-MM-DD` format (defaults to today)
* `-a, --agent TEXT` - Agent identifier (defaults to active agent)
* `-o, --output PATH` - Custom output path for the summary Markdown file

**Examples:**

Summary for current agent, today:

```bash theme={null}
memanto daily-summary
```

Summary for a specific agent and date:

```bash theme={null}
memanto daily-summary --agent customer-support --date 2026-05-08
```

Custom output path:

```bash theme={null}
memanto daily-summary --output ./reports/summary.md
```

**Output:**

```
Daily summary generated: ~/.memanto/summaries/customer-support_2026-05-08.md
Memory export generated: 42 memories saved to cache

Conflict detection runs separately. Run 'memanto detect-conflicts' or enable
the schedule with 'memanto schedule enable'.
Completed in 1.84s
```

**Notes:**

* Requires an active agent, or pass `--agent` explicitly.
* Conflict detection is a separate step — see [`memanto detect-conflicts`](/cli/ai/detect-conflicts) or [`memanto schedule enable`](/cli/schedule/enable) to run both automatically.
* Backed by the [Generate Daily Summary](/api-reference/ai/generate-daily-summary) API endpoint.
