Skip to main content
Noēsis can be configured through multiple sources. This page documents all available options and how to set them.

Configuration precedence

Configuration is resolved in this order (highest to lowest priority):
  1. ns.set() calls in Python code
  2. Environment variables (e.g., NOESIS_PLANNER)
  3. noesis.toml configuration file
  4. Default values

Configuration options

runs_dir

Directory where episode artifacts are stored (episodes root).

planner_mode

Controls planning strategy and direction behavior. Values:
planner_mode controls planning strategy. Governance is controlled separately via governance_mode and governance_failure_policy.

agents

Reserved/unused in v1.0.0. Parsed into the runtime config but not read by the CLI/runtime execution paths in this release.

tasks

Reserved/unused in v1.0.0. Parsed into the runtime config but not read by the CLI/runtime execution paths in this release.

timeout_sec

Episode timeout in seconds.

learn_mode

Controls how learning proposals are handled. Values:

learn_auto_apply_min_confidence

Minimum confidence for auto-applying learn proposals.

learn_auto_apply_min_successes

Minimum successful triggers before auto-applying.

intuition_mode

Controls intuition advisory posture. Values:

direction_min_confidence

Minimum confidence threshold for applying plan directives.

governance_mode

Controls pre-act governance behavior. Values:

governance_failure_policy

How to handle governance errors/timeouts. Values:

governance_timeout_ms

Reserved/unused in v1.0.0. Parsed into the runtime config but not enforced during episode execution in this release.

governance_pause_on_veto

Enable pause semantics for enforce-mode vetoes. When enabled, Noēsis emits:
  • run.interrupt
  • run.checkpoint
and halts side effects instead of finalizing/sealing the run.

policy_aliases

Mapping of policy alias → import spec. Used by the CLI --policy flag to resolve short names.

learn_home

Directory for learning data storage.

prompt_provenance_enabled

Enable prompt provenance logging.

prompt_provenance_mode

Mode for prompt provenance storage. Values:
prompt_provenance_mode="full" may record prompt content. Use hash_only or redacted for sensitive environments.

Configuration file

Noēsis searches for a config file by walking upward from the current working directory. Supported filenames are noesis.toml and .noesis.toml. The recommended form is a [noesis] table (if the table is missing, Noēsis falls back to treating the full TOML file as the config mapping):
noesis.toml

Environment variables

The following runtime configuration options have environment variable equivalents:
policy_aliases has no environment variable form in v1.0.0 (configure it via ns.set() or noesis.toml).NOESIS_DIR_MIN_CONFIDENCE is a deprecated alias for NOESIS_DIRECTION_MIN_CONFIDENCE (if set, Noēsis warns and uses it).
Example:

Python API

Setting configuration

Reading configuration

Resetting configuration

Per-episode parameters

Some parameters can be set per episode at call time:
Global configuration (via ns.set()) applies to all episodes. Per-call parameters like seed, tags, and intuition are set at run time.

CLI configuration

Most CLI configuration is done via environment variables:

Configuration validation

Noēsis validates configuration on startup:

Best practices

Use environment variables for deployment. Set NOESIS_RUNS_DIR, NOESIS_PLANNER, and related knobs per environment.
Don’t commit secrets. If using noesis.toml, ensure it doesn’t contain sensitive values and is in .gitignore if needed.
Use per-call seeds for debugging. Pass seed= to ns.run/ns.solve when you need reproducibility; unset it for production.

Example configurations

Development

noesis.toml

Staging

noesis.toml

Production

noesis.toml

Next steps

Quickstart

Get started with Noēsis.

Planner modes

Configure governance levels.