Skip to main content
The noesis CLI entrypoint is implemented in noesis/cli/__main__.py.
If you see docs or examples mentioning noesis list, noesis show, or noesis solve, those refer to an older CLI surface. The current shipped commands are documented on this page.

Install

Install from source:

Global options

Most commands accept:

Command map

Core workflows

Run an episode

Run with verification inputs:
Emit JSON envelope:
--json output includes episode_id, episode_dir, artifacts, outcome, adapter_result, and verification summary fields.

Inspect and filter episodes

Inspect one episode

view accepts either an episode ID or an episode directory path.

Read events

Filter by phase:

Process-oriented inspection

Diagnostics and integrity

Trace integrity is fail-closed. Commands that read events.jsonl (for example noesis events and noesis view) return a non-zero exit code when the event log is corrupted, rather than skipping bad lines.

Other utility commands

Command constraints

Verification flags on run

The verification parser enforces:
  • --verify-no-modifications cannot be combined with --verify-only-modified
  • --text requires --verify-file-contains
  • each --verify-file-contains entry must have a matching --text
  • --verify-file must point to an existing JSON file containing a list

JSON output shape by command

  • run --json emits a run-result envelope (episode_id, episode_dir, artifacts, outcome, verification, capabilities)
  • ps --json emits {"episodes":[...], ...}
  • processes --json emits {"processes":[...], ...}
  • events --json emits JSONL (one event per line)
  • events --envelope emits one JSON object containing all selected events

Troubleshooting

usage error: each --verify-file-contains must have a matching --text

Cause: mismatch between repeated --verify-file-contains and --text flags. Fix: provide both flags in matching order and count.

usage error: --verify-no-modifications cannot be combined with --verify-only-modified

Cause: mutually exclusive verification constraints. Fix: keep only one of the two flags.

episode not found: <id>

Cause: the ID is unknown in the configured runs directory. Fix:
  • check NOESIS_RUNS_DIR / runtime config
  • pass a direct episode directory path to noesis view
  • inspect available episodes with noesis ps

error: corrupted events.jsonl at ...

Cause: the episode trace failed integrity checks (for example malformed JSON, invalid UTF-8, or a truncated record). Fix:
  • inspect events.jsonl near the reported line number
  • restore the run artifacts from a known-good copy if available
  • re-run the episode if recovery is not possible

Textual not available: ... on noesis browse

Cause: textual is not installed in the current environment. Fix: install UI dependencies, then re-run noesis browse.

invalid cli version (expected cli/MAJOR.MINOR) on run --json

Cause: unsupported --cli-version value. Fix: use cli/1.0 or omit --cli-version.