Command line
Every command reads the settings file named by TESS_MEMORY_SETTINGS.
tess-memory <command> [options]Inside the checkout, run it as uv run tess-memory ....
Everyday commands
| Command | What it does |
|---|---|
setup | Set everything up in the browser; needs no settings file |
ingest | Read new and changed sessions into memory |
search "<query>" | Search memory |
plan <project-or-path> | Print a project's plan board |
status | What is stored, pending and failing |
serve | Run the MCP server on stdio |
setup
tess-memory setup # ~/.tess-memory, opens the browser
tess-memory setup --home ~/work-memory
tess-memory setup --no-browser # print the link instead of opening it
tess-memory setup --no-keychain # keep keys in a private file, not the system keychain
tess-memory setup --port 4600Serves a setup page on 127.0.0.1 until you finish or press Ctrl+C. It chooses sources,
connects and tests a model and an embedding model, writes settings.toml and a provider
file into the store's folder, registers the MCP server with Claude Code and Codex, and
runs a first ingestion. It is the one command that does not read TESS_MEMORY_SETTINGS.
ingest
tess-memory ingest # everything new or changed
tess-memory ingest --no-llm # no distillation
tess-memory ingest --retry-extractive # distil sessions that have only an extractive summary
tess-memory ingest --limit 20
tess-memory ingest --skip-aggregates # leave profiles and digests for latersearch
tess-memory search "decision on idempotency keys for the billing cutover"
tess-memory search "..." --project -work-billing --level memory --limit 5
tess-memory search "..." --static # plain search, no retrieval agentplan
tess-memory plan . # the project for the current directory
tess-memory plan . --all # include complete and dropped itemsserve
tess-memory serve
tess-memory serve --user ana # bind this server to one userMaintenance
| Command | What it does |
|---|---|
refresh-aggregates | Refresh pending project profiles and weekly digests, without reading sources |
audit-sources | A read-only inventory of sources against what is in memory. No model calls. |
reconcile-attribution | Move sessions to the right project after a configuration change. No model calls. |
reembed | Move the store to the embedding model the settings name, in place. Resumable; nothing is distilled again. |
redistil | Distil chosen sessions again with the current model and prompts. The only thing that redoes published memory. |
Both show what they would do and change nothing until you add --yes.
reconcile-attribution --dry-run reports what would move.
Codex
| Command | What it does |
|---|---|
inspect-codex <home>... | Show what would be read from Codex homes. No model calls, no writes. |
codex-ingest --settings <file> | Ingest into a store dedicated to Codex |
codex-serve --settings <file> | Serve a store dedicated to Codex |
The dedicated commands refuse to run against a store that holds anything other than Codex
sessions. A store that mixes Codex with other sources uses plain ingest and serve.
Users and teams
tess-memory users list
tess-memory users set-owner <user>
tess-memory users add <user> [--name "..."] [--admin]
tess-memory users disable <user>
tess-memory users team-add <team>
tess-memory users member-add <team> <user>
tess-memory users member-remove <team> <user>
tess-memory users project-map <project> [--team <team>] [--owner <user>]
tess-memory users share memory:<id>|session:<id> private|team|org|default
tess-memory users who-can-see <memory-id>See Teams and visibility.
Scheduler
tess-memory scheduler --config <file> <action>| Action | What it does |
|---|---|
serve | Run the scheduler in the foreground |
install, start, stop, restart | Manage the background service (macOS) |
status | Running, queued and failing work |
run --instance <store> [--kind ...] | One pass now |
retry --instance <store> [--kind ...] | Retry failed work |
enable, disable --instance <store> | Turn scheduling for a store on or off |
ingest-once [--until-caught-up] | One pass over every store, or passes until nothing is left |
usage | Observed model usage |
stop-run --run-id <id> | Stop one running job |
--kind is one of ingest, profiles, digests, detect, recovery.
See Scheduler.
Evaluation
| Command | What it does |
|---|---|
evaluate --cases <file> | Score retrieval against your own labelled cases, read-only |
evaluate-public | Run public synthetic fixtures through the configured retrieval model |
observe | Record service health over time, without model calls |
Exit codes
ingest exits 3 when the settings name another embedding model than the store was built
with; nothing is changed, and reembed resolves it.
Commands exit nonzero when errors remain, for example when a session could not be distilled by either model. A run that preserved existing memory after a failure still reports the error.