Skip to content
DocsOperate it

Command line

Every command reads the settings file named by TESS_MEMORY_SETTINGS.

Shell
tess-memory <command> [options]

Inside the checkout, run it as uv run tess-memory ....

Everyday commands

CommandWhat it does
setupSet everything up in the browser; needs no settings file
ingestRead new and changed sessions into memory
search "<query>"Search memory
plan <project-or-path>Print a project's plan board
statusWhat is stored, pending and failing
serveRun the MCP server on stdio

setup

Shell
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 4600

Serves 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

Shell
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 later
Shell
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 agent

plan

Shell
tess-memory plan .         # the project for the current directory
tess-memory plan . --all   # include complete and dropped items

serve

Shell
tess-memory serve
tess-memory serve --user ana    # bind this server to one user

Maintenance

CommandWhat it does
refresh-aggregatesRefresh pending project profiles and weekly digests, without reading sources
audit-sourcesA read-only inventory of sources against what is in memory. No model calls.
reconcile-attributionMove sessions to the right project after a configuration change. No model calls.
reembedMove the store to the embedding model the settings name, in place. Resumable; nothing is distilled again.
redistilDistil 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

CommandWhat 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

Shell
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

Shell
tess-memory scheduler --config <file> <action>
ActionWhat it does
serveRun the scheduler in the foreground
install, start, stop, restartManage the background service (macOS)
statusRunning, 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
usageObserved model usage
stop-run --run-id <id>Stop one running job

--kind is one of ingest, profiles, digests, detect, recovery.

See Scheduler.

Evaluation

CommandWhat it does
evaluate --cases <file>Score retrieval against your own labelled cases, read-only
evaluate-publicRun public synthetic fixtures through the configured retrieval model
observeRecord 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.

Found a mistake? Edit this page on GitHub.