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:ui,find,show,agents,connect,init,check-config,stats,search,import-jsonl,new-token,run,redact-stored,device,connector,resummarize,retag,health,servejezero_client.py:init,status,setup,mcp,hook,flush,backfill,protocol
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).
| Argument | Meaning | |
|---|---|---|
--demo |
optional | made-up data, no server needed |
jezero find¶
Search Jezero with this computer's key, like an agent.
| 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.
| 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.
| Argument | Meaning | |
|---|---|---|
--demo |
optional | made-up data, no server needed |
jezero connect¶
Create this computer's key (asks what it needs).
| 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 check-config¶
Validate the config and report missing env vars.
jezero stats¶
Item counts per source.
jezero search¶
Search from the terminal (admin: sees every source).
| 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.
| 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 run¶
Run connectors once: collect, summarise, store.
| 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.
| Argument | Meaning | |
|---|---|---|
--dry-run |
optional | count secrets without writing |
jezero device¶
Devices that upload sessions (Jezero plugins).
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.
| 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.
| 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.
| 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 list¶
Connectors with last run, last success, error and items.
| 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).
| Argument | Meaning | |
|---|---|---|
name |
required | connector to reset |
--yes |
optional | do not ask for confirmation |
jezero resummarize¶
Summarise stored items again from their original.
| 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.
| 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 serve¶
Run the MCP server.
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.
| 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.
| 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.
| 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.
| 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.