Command reference
ed memory doctor
Asks the backend to check each service it depends on.
Usage:
ed memory doctor [--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:
{ "checks": [ { "detail": "connected", "name": "postgres", "ok": true, "severity": "blocker" }, { "detail": "installed", "name": "pgvector", "ok": true, "severity": "blocker" }, { "detail": "connected", "name": "redis", "ok": true, "severity": "optional" }, { "detail": "not configured, fusion order kept", "name": "reranker", "ok": false, "severity": "optional" } ], "degraded": true, "ok": true}Each item in checks has the dependency name, its own Boolean ok, a
human-readable detail from the backend, and a severity:
| Severity | Meaning |
|---|---|
blocker |
Memory cannot do its job without it. |
degraded |
One capability is lost, the rest still works. |
optional |
Off by choice; nothing is broken. |
ok is true when no blocker check is failing, so an unconfigured reranker
does not make Memory unhealthy while an unconfigured reasoning provider
does. degraded is true when any check at all is failing, including optional
ones. /v1/health answers 200 when ok and 503 otherwise.
The full check set is Postgres, migrations, pgvector, Redis, vault
writability, embeddings, speech-to-text, reasoning, reranker, grounding,
vision, Notion, GitHub, media tooling and personas. Embeddings verifies both
the Ollama version and a real model response. A successful model response is
cached for five minutes so repeated health polling does not keep loading the
model. Vision checks that the configured model appears in /api/tags. Media
tooling requires ffmpeg and ffprobe; exiftool is reported when present
but is not required. The vault check creates, writes and removes a temporary
file.
Examples:
$ ed memory doctorpostgres ok connectedmigrations ok 12 of 12 migrations appliedpgvector ok installedembeddings ok ollama 0.32.6, model qwen3-embedding:0.6b loadedreasoning ok openai-compatible at http://ollama:11434/v1, model qwen3:1.7breranker off not configured, fusion order keptgithub off no token; set it from the app or `ed memory connectors set`$ ed memory doctor --json{ "checks": [ { "detail": "connected", "name": "postgres", "ok": true, "severity": "blocker" } ], "degraded": false, "ok": true}A failing blocker is also summarised on stderr after the human-readable table:
$ ed memory doctorreasoning FAIL no reasoning provider; set one from the app or `ed memory reason set`1 blocking: reasoningBehaviour: doctor decodes the health report even when the API returns HTTP
503. A reachable but unhealthy backend still exits 0 because health lives in
the payload, where scripts can inspect ok. Failure to reach the API exits 4.
--json writes only the report to stdout. In human mode the per-check table is
stdout and the blocking summary, when present, is stderr.
Where to go next
ed memory, the rest of this group- All
edcommands