# ed memory reflect

> Asks Memory's reasoning provider to distill durable beliefs from recent episodes.

- Canonical URL: https://getedith.pro/docs/cli/memory/reflect
- Updated: 2026-12-02

Asks Memory's reasoning provider to distill durable beliefs from recent episodes.

Usage:

```
ed memory reflect [--json] [--endpoint <url>]
```

Options:

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `--json` | flag | off | Emits one JSON document on stdout. |
| `--endpoint` | URL | resolution order | Uses this Memory API base URL. |

`--json` shape:

```json
{
  "beliefsFormed": 2,
  "episodesConsidered": 7,
  "model": "openai-compatible at http://ollama:11434/v1, model qwen3:1.7b"
}
```

`episodesConsidered` counts the episodes read this run, `beliefsFormed` the new beliefs that survived validation, and `model` names the provider that did the thinking.

Examples:

```
$ ed memory reflect
considered 7 episodes, formed 2 beliefs (openai-compatible at http://ollama:11434/v1, model qwen3:1.7b)
```

Behaviour: Memory reads its most recent episodes and asks the configured
reasoner for two to five higher-order beliefs, each citing the episode ids it
rests on. Candidates that cite unknown episodes, cite nothing, or restate an
existing active belief are dropped. An OpenAI-compatible endpoint is selected
with `REASON_PROVIDER=openai` and `REASON_URL`. Without a configured provider,
the backend rejects the request and the CLI exits 1.

## Where to go next

- [`ed memory`](https://getedith.pro/docs/cli/memory), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
