Skip to content

Command reference

Every command and flag of the two command-line tools, generated from their code.

  • jezero: the server, its maintenance commands and the commands for people (installed with the package).
  • jezero_client.py: the client core that every plugin carries (one Python file, standard library only).

Contents

jezero

Command line interface: jezero <command>.

Global options, before the command:

Option Meaning
-c, --config CONFIG Path to jezero.toml. Default: $JEZERO_CONFIG, then ./jezero.toml.
--version Print the version and exit.

Without a command, in a terminal, jezero opens the app.

jezero ui

Open the Jezero app (also: jezero with no command).

jezero ui [-h] [--demo]
Argument Meaning
--demo optional made-up data, no server needed

jezero find

Search Jezero with this computer's key, like an agent.

jezero find [-h] [--project PROJECT] [--limit LIMIT] [--demo] query [query ...]
Argument Meaning
query ... required 2 to 5 distinctive words
--project PROJECT optional only this project
--limit LIMIT optional maximum results (default 10)
--demo optional made-up data, no server needed

jezero show

One memory in full; --newer checks if it changed later.

jezero show [-h] [--newer] [--demo] id
Argument Meaning
id required item id, as shown by find (#123)
--newer optional also list newer items on the subject
--demo optional made-up data, no server needed

jezero agents

Which agents on this computer use Jezero.

jezero agents [-h] [--demo]
Argument Meaning
--demo optional made-up data, no server needed

jezero connect

Create this computer's key (asks what it needs).

jezero connect [-h] [--url URL] [--device DEVICE] [--read-only] [--force]
Argument Meaning
--url URL optional the server, https://YOUR-JEZERO (asked if missing)
--device DEVICE optional a name for this computer (asked if missing)
--read-only optional search only, never upload
--force optional replace this computer's key

jezero init

Create or verify the database.

jezero init [-h]

jezero check-config

Validate the config and report missing env vars.

jezero check-config [-h]

jezero stats

Item counts per source.

jezero stats [-h]

Search from the terminal (admin: sees every source).

jezero search [-h] [--source SOURCE] [--project PROJECT] [--limit LIMIT] query
Argument Meaning
query required words to look for (matching is literal)
--source SOURCE optional only this source
--project PROJECT optional only this project
--limit LIMIT optional maximum results (default: search.default_limit)

jezero import-jsonl

Import pre-summarised items from a JSONL file.

jezero import-jsonl [-h] --source SOURCE [--project PROJECT]
                           [--trust {own,external}]
                           path
Argument Meaning
path required JSONL file, one item per line
--source SOURCE required source name for the imported items
--project PROJECT optional project for items that do not name one
--trust TRUST optional trust of the items (one of own, external)

jezero new-token

Generate a client token and its SHA-256 digest.

jezero new-token [-h]

jezero run

Run connectors once: collect, summarise, store.

jezero run [-h] [--connector CONNECTOR] [--limit LIMIT] [--sample SAMPLE]
                  [--dry-run] [--due]
Argument Meaning
--connector CONNECTOR optional only this connector (default: every enabled one)
--limit LIMIT optional process at most N units, oldest first
--sample SAMPLE optional process the newest N units, cursor untouched
--dry-run optional count work without calling the LLM
--due optional only connectors whose interval_minutes has elapsed

jezero redact-stored

Apply the current redaction rules to stored items.

jezero redact-stored [-h] [--dry-run]
Argument Meaning
--dry-run optional count secrets without writing

jezero device

Devices that upload sessions (Jezero plugins).

jezero device [-h] {approve,list,revoke,rotate} ...

jezero device approve

Accept a device key printed by jezero_client init.

jezero device approve [-h] [--sources SOURCES [SOURCES ...]]
                             [--source-prefix SOURCE_PREFIX] [--read-only]
                             name digest
Argument Meaning
name required name of the device, as given to jezero_client init
digest required sha256 of the device key, as printed by the client
--sources SOURCES optional what it may read (default ['agent-*'])
--source-prefix SOURCE_PREFIX optional prefix of its sources; anything but 'agent' keeps them out of agent-* readers (default agent)
--read-only optional it may read but not upload

jezero device list

List clients: devices and token_env clients.

jezero device list [-h] [--json]
Argument Meaning
--json optional print JSON instead of a table

jezero device revoke

Remove a client's key; its inbox connectors are disabled, stored items kept.

jezero device revoke [-h] [--remove-connectors] name
Argument Meaning
name required client to remove, as shown by jezero device list
--remove-connectors optional remove its inbox connectors from the config instead of disabling them

jezero device rotate

Replace a device key; the old key stops working.

jezero device rotate [-h] name digest
Argument Meaning
name required device whose key changes
digest required sha256 of the new device key, as printed by the client

jezero connector

Inspect connectors or make one read its source again.

jezero connector [-h] {list,reset} ...

jezero connector list

Connectors with last run, last success, error and items.

jezero connector list [-h] [--json]
Argument Meaning
--json optional print JSON instead of a table

jezero connector reset

Forget a connector's cursor so its next run reads the source from the start; stored items are kept and unchanged ones are skipped by content hash (no LLM calls).

jezero connector reset [-h] [--yes] name
Argument Meaning
name required connector to reset
--yes optional do not ask for confirmation

jezero resummarize

Summarise stored items again from their original.

jezero resummarize [-h] [--ids IDS] [--ids-file IDS_FILE]
Argument Meaning
--ids IDS optional comma-separated item ids
--ids-file IDS_FILE optional file with item ids, one per line

jezero retag

Re-apply project hints from the source, without the LLM.

jezero retag [-h] --connector CONNECTOR [--dry-run]
Argument Meaning
--connector CONNECTOR required connector whose items are retagged
--dry-run optional count changes without writing

jezero health

Report stale or failing connectors (exit 1 if any); alert if set.

jezero health [-h]

jezero serve

Run the MCP server.

jezero serve [-h]

jezero_client.py

Jezero client: shared core of the Jezero plugins. Run it with python3; it needs Python 3.9 or newer and nothing else. See the client reference for its files and environment variables.

jezero_client.py init

Create this device's key.

jezero_client init [-h] --url URL --device DEVICE [--force] [--no-upload]
                          [--mcp-path MCP_PATH]
Argument Meaning
--url URL required Jezero server, e.g. https://jezero.example.org
--device DEVICE required a short name for this computer
--force optional replace an existing key on this computer
--no-upload optional only read Jezero; never upload this computer's sessions
--mcp-path MCP_PATH optional URL path of the server's MCP endpoint, when its admin changed it (default /mcp)

jezero_client.py status

Check the key with the server and show the queue.

jezero_client status [-h]
                            [--agent {claude-code,codex,opencode,hermes,antigravity}]
Argument Meaning
--agent AGENT optional the key this agent uses (one of claude-code, codex, opencode, hermes, antigravity)

jezero_client.py setup

Register the Jezero MCP server in the agents.

jezero_client setup [-h]
                           [--agent {claude-code,codex,opencode,hermes,antigravity}]
                           [--opencode-plugin OPENCODE_PLUGIN]
Argument Meaning
--agent AGENT optional one of claude-code, codex, opencode, hermes, antigravity
--opencode-plugin OPENCODE_PLUGIN optional path to jezero.ts to install for OpenCode

jezero_client.py mcp

Stdio MCP server that forwards to Jezero with this key.

jezero_client mcp [-h]
                         [--agent {claude-code,codex,opencode,hermes,antigravity}]
Argument Meaning
--agent AGENT optional one of claude-code, codex, opencode, hermes, antigravity

jezero_client.py hook

Run a hook (reads the agent's JSON on stdin).

jezero_client hook [-h] --agent {claude-code,codex,opencode,hermes,antigravity}
                          {session-start,user-prompt,stop,session-end}
Argument Meaning
event required one of session-start, user-prompt, stop, session-end
--agent AGENT required one of claude-code, codex, opencode, hermes, antigravity

jezero_client.py flush

Upload queued sessions now.

jezero_client flush [-h]
                           [--agent {claude-code,codex,opencode,hermes,antigravity}]
Argument Meaning
--agent AGENT optional the queue of the key this agent uses (one of claude-code, codex, opencode, hermes, antigravity)

jezero_client.py backfill

Queue sessions already on this computer.

jezero_client backfill [-h]
                              [--agent {claude-code,codex,opencode,hermes,antigravity}]
                              [--days DAYS] [--hermes-home HERMES_HOME]
Argument Meaning
--agent AGENT optional one of claude-code, codex, opencode, hermes, antigravity
--days DAYS optional default 90
--hermes-home HERMES_HOME optional Hermes profile folder (default: $HERMES_HOME)

jezero_client.py protocol

Print the instructions given to agents.

jezero_client protocol [-h]