Skip to content
Docs
Request access

Configuration reference

This page is generated from the configuration schema, which is itself generated from the pydantic models in nuramesh.core. Unknown fields are rejected: every object below sets additionalProperties: false. A test regenerates this page and fails if it is out of date. The NURAMESH_* settings of the server and the worker are on Environment variables.

One nuramesh.yaml file describes one organization. org is the only required field; every other field has a default.

Field Type Default Notes
breakers BreakersConfig { "halt_after_failed_ticks": 3, "rules": [], "tick_seconds": 10 }
budgets list of Budget []
calibration CalibrationConfig or null null
canon CanonSource or null null
content ContentSettings {"reason_days":null,"retention_days":30}
evals EvalConfig or null null
models ModelCatalog or null null
org OrgGraph required
policies PolicySet {"policies":[]}
presets PresetConfig or null null
price_overrides list of PriceOverride []
prices PriceBook {"prices":[]}
version 1 1

One member of the organization. reports_to is its manager’s id; None for the root. checks lists the agents whose work this agent verifies (the verification line: only agents whose role is a verifier may check, and never inside their own reporting chain).

Field Type Default Notes
checks list of string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) []
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
model string (length 1 to 200) or null null
name string (length 1 to 120) required
reports_to string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) or null null
role string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required

One breaker. Exactly one of max_events (count signals) or max_spend (spend).

Field Type Default Notes
action BreakerAction "halt_org"
dry_run boolean false
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
max_events integer (0 to any) or null null
max_spend Money or null null
role string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) or null null
signal Signal required
window_seconds integer (1 to 86400) required

The breakers: section: how often the server evaluates, when a failing evaluation halts the organization, and the rules.

Field Type Default Notes
halt_after_failed_ticks integer (1 to 100) 3
rules list of BreakerRule
tick_seconds integer (1 to 3600) 10

A spending cap for one scope. scope_id is the run, task or agent id (team: its lead; org: the org’s id). With a window the cap applies per UTC day or month.

Field Type Default Notes
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
limit Money required
on_breach BreachMode or null null
scope BudgetScope required
scope_id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
window BudgetWindow "none"

All suites of an organization (the calibration: section).

Field Type Default Notes
suites list of CalibrationSuite []

One labelled output. defect_criteria are the criteria a bad sample really fails.

Field Type Default Notes
critical boolean false
defect_criteria list of string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) []
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
label Label required
output any required

Labelled samples for the criteria of a verifier gate, with the bar to clear.

Field Type Default Notes
canon list of CanonDocument []
criteria list of Criterion required
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
max_output_tokens integer (1 to 16000) 1500
notes string (length 0 to 5000) ""
samples list of CalibrationSample required
task CalibrationTask required
thresholds CalibrationThresholds { "max_false_accept_rate": "0.0500", "min_accept_rate": "0.8000", "min_catch_rate": "0.9500" }
valid_days integer (1 to 365) 30
version integer (1 to any) 1

The task text the verifier is shown with every sample.

Field Type Default Notes
instructions string (length 0 to 100000) ""
title string (length 1 to 500) required

The bar: at most 4 decimal places (more is refused, never rounded).

Field Type Default Notes
max_false_accept_rate number (0 to 1) or string "0.0500"
min_accept_rate number (any to 1, greater than 0) or string "0.8000"
min_catch_rate number (any to 1, greater than 0) or string "0.9500"

One document of the organization’s canon.

Field Type Default Notes
name string (pattern ^[^\x00-\x1f\x7f<>]+$, length 1 to 500) required
text string (length 0 to 1000000) required

Where the canon lives: a local repository path, a pinned commit and path patterns.

Field Type Default Notes
commit string (pattern ^[0-9a-f]{40}$) required
paths list of string (length 1 to 300) required
repository string (length 1 to 1000) required

One model an organization may use: who serves it, its family and where it is processed.

Field Type Default Notes
endpoint_id string (pattern ^[a-z0-9][a-z0-9-]{0,39}$) or null null
family string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
model string (pattern ^[A-Za-z0-9][A-Za-z0-9._:/@+-]{0,199}$) required
processing string required
provider string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
status approved or paused or retired "approved"

The text contains value.

Field Type Default Notes
case_sensitive boolean true
type "contains" required
value string (length 1 to 10000) required

An organization’s content setting. retention_days is how long a task output is kept after its task is final: the default is 30 days; 0 means delete it when the task is final. Hosted deployments cap it at the 90-day hosted maximum (problems); self-hosted ones set their own value. reason_days is how long a person’s reason (an approval answer, a stop reason, an unblock or override reason) is kept: unset means the default, 396 days (13 months) self-hosted and the 90-day maximum hosted; a value above 90 is refused on a hosted deployment. It can only raise the default: a value below 396 is refused.

Field Type Default Notes
reason_days integer (1 to 36500) or null null
retention_days integer (0 to 36500) 30

One item of a definition of done, written so a checker can say met or not met.

Field Type Default Notes
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
text string (length 1 to 20000) required

One question for the agent and the rules a good answer meets.

Field Type Default Notes
critical boolean false
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
prompt string (length 1 to 20000) required
rules list of Rule required
weight integer (1 to 100) 1

All suites and which roles require which.

Field Type Default Notes
requirements list of EvalRequirement []
suites list of EvalSuite []

The suites a role’s agents must have passed to take new work.

Field Type Default Notes
role string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
suites list of string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required

The cases for one role, with the bar to clear and how long a pass stays valid.

Field Type Default Notes
cases list of EvalCase required
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
pass_threshold number (any to 1, greater than 0) or string "0.8000"
role string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
valid_days integer (1 to 365) 30
version integer (1 to any) 1

A named, ordered list of gate templates and the eval suites that go with them.

Field Type Default Notes
description string (length 0 to 500) ""
evals list of string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) []
gates list of GateTemplate required
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
name string (length 1 to 120) required

A gate without its criteria: the task using the preset says what each gate checks.

Field Type Default Notes
config object
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
kind GateKind required
required boolean true

The text has between min and max characters (inclusive).

Field Type Default Notes
max integer (0 to any) or null null
min integer (0 to any) 0
type "length_between" required

The text matches the regular expression pattern somewhere.

Field Type Default Notes
pattern string (length 1 to 1000) required
type "matches" required

The approved catalog (configuration part models, and the ledger’s folded state).

Field Type Default Notes
customer_regions list of string []
entries list of CatalogEntry []

An exact amount of money. Immutable; +, -, comparison and sum within one currency.

Field Type Default Notes
amount number or string required
currency Currency "USD"

The text doesn’t contain value.

Field Type Default Notes
case_sensitive boolean true
type "not_contains" required
value string (length 1 to 10000) required

A valid organization: it can’t exist while any error remains. Use OrgGraph.build(data) to get an OrgValidationError listing every issue. Direct construction or model_validate raise pydantic’s ValidationError instead. model_copy re-validates; never use model_construct, which skips validation.

Field Type Default Notes
agents list of Agent required
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
name string (length 1 to 120) required
roles list of Role required

Structured output has exactly value at path.

Field Type Default Notes
path string (pattern ^[A-Za-z_][A-Za-z0-9_-]*(\.[A-Za-z_][A-Za-z0-9_-]*|\[\d+\])*$, length 0 to 500) required
type "path_equals" required
value any required

Structured output has a value at path.

Field Type Default Notes
path string (pattern ^[A-Za-z_][A-Za-z0-9_-]*(\.[A-Za-z_][A-Za-z0-9_-]*|\[\d+\])*$, length 0 to 500) required
type "path_exists" required

The rules for one role, and optionally which humans may answer its approval requests.

Field Type Default Notes
approvers list of string (pattern ^human:[A-Za-z0-9_-]{1,64}$) []
role string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
rules list of PolicyRule []

A named set of permission rules.

Field Type Default Notes
description string (length 0 to 500) ""
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
name string (length 1 to 120) required
rules list of PolicyRule []

allow, ask or deny one kind of action whose target matches target.

Field Type Default Notes
action ActionKind required
decision Decision required
over Money or null null
reason string (length 0 to 500) ""
target string (length 1 to 500) "*"

Every role’s policy. A role with no policy can do nothing (default deny).

Field Type Default Notes
policies list of Policy []
solo_approvals_per_hour integer (1 to 30)

The presets one role uses.

Field Type Default Notes
gate_preset string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) or null null
policy_presets list of string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) []
role string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required

All presets and their assignments (the presets key of a configuration).

Field Type Default Notes
assignments list of PresetAssignment []
gate list of GatePreset []
policy list of PolicyPreset []

What one model costs per 1M tokens, from effective_from until a newer price replaces it. Optional rates (cached_input_per_million, cache_write_per_million) are unknown when absent; a call that uses those token kinds then has an unknown cost.

Field Type Default Notes
bound_endpoint string or null null
bound_epoch integer (1 to any) or null null
cache_write_per_million number or string or null null
cached_input_per_million number or string or null null
currency Currency "USD"
effective_from string required
endpoint_id string (pattern ^[a-z0-9][a-z0-9-]{0,39}$) or null null
input_per_million number or string required
model string (pattern ^[A-Za-z0-9][A-Za-z0-9._:/@+-]{0,199}$) required
output_per_million number or string required
provider string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
source string (length 3 to 500) required

Every known price. lookup returns the one in effect at a moment.

Field Type Default Notes
prices list of Price []

An approved provisional price for a model with no known price. Both rates are required, so budgets can still reserve and stop. Costs computed with it are recorded as provisional, and each use is a ledger event naming who set it and when.

Field Type Default Notes
currency Currency "USD"
endpoint_id string (pattern ^[a-z0-9][a-z0-9-]{0,39}$) or null null
input_per_million number or string required
model string (pattern ^[A-Za-z0-9][A-Za-z0-9._:/@+-]{0,199}$) required
output_per_million number or string required
provider string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
reason string (length 3 to 2000) required
set_at string required
set_by string (pattern ^human:[A-Za-z0-9_-]{1,64}$) required

A job description shared by one or more agents.

Field Type Default Notes
default_model string (length 1 to 200) or null null
description string (length 0 to 2000) ""
id string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required
instructions string (length 0 to 50000) ""
kind RoleKind "worker"
max_tokens integer (1 to 1000000000000) or null null
name string (length 1 to 120) required
tools list of string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) []

One check and the criterion it is evidence for.

Field Type Default Notes
check Contains or NotContains or Matches or LengthBetween or PathExists or PathEquals required
criterion string (pattern ^[a-z0-9][a-z0-9_-]{0,62}$) required

What kind of thing an agent wants to do.

Values: delegate, call_model, use_tool, run_command, write_file, spend, external_message, merge, network.

What a breach (spending over the limit) does to a windowed budget at the next window.

Values: reset, hold.

What a tripped (non dry-run) rule does.

Values: halt_org, pause_role.

What a budget caps.

Values: run, task, agent, team, org.

How long a budget’s balance lives. UTC calendar windows.

Values: none, day, month.

ISO 4217 codes accepted today.

Values: USD.

What a policy says about an action.

Values: allow, ask, deny.

How a gate checks work. Deterministic kinds run before verifier agents.

Values: test_command, rule, schema, verifier, human, custom.

What a sample is: an output that meets its criteria, or one that does not.

Values: good, bad.

What a role is for. Exactly one agent, the root, has the Chief of Staff role.

Values: chief_of_staff, worker, verifier.

What a breaker counts.

Values: policy_denied, gate_failed, model_blocked, model_called, spend.

Was this page helpful?