Skip to content
DocsReference

Settings reference

Every runtime setting, with its default and allowed range. Set them under knobs: in <runtime-home>/settings/config.yaml, or override one with an environment variable: TESS_CORE_<SECTION>_<NAME>, for example TESS_CORE_SUBAGENTS_MAX_LIVE=4.

See Configuration for how the files fit together.

agent

SettingDefaultRangeMeaning
agent.hook_timeout_ms60000500..3600000Default milliseconds a hook command may run; per-hook timeouts win.
agent.max_question_nudges30..20Maximum [REPLY REQUIRED] nudges before an unanswered child question is backstopped.
agent.no_progress_limit122..1000Consecutive no-progress turns tolerated before the turn is stopped.
agent.repeated_tool_cycle_limit32..100Identical tool-call cycles tolerated before the progress guard intervenes.

collab

SettingDefaultRangeMeaning
collab.bridge_poll_deadline_ms100001000..600000Milliseconds a bridge poll cycle may run before it yields.
collab.bridge_poll_ms75050..60000Milliseconds between remote-bridge inbox polls.
collab.min_update_spacing_ms200001000..3600000Minimum milliseconds between assistant collaboration updates.
collab.tick_ms1500100..60000Milliseconds between collaboration runtime ticks.

comms

SettingDefaultRangeMeaning
comms.inline_result_bytes480004096..512000Inline byte allowance for inter-agent payloads (SendMessage/Agent tool results and drained child messages) before artifact spill or truncation; they are conversation, not raw command output.
comms.reply_poll_ms50050..10000Milliseconds between reply-mailbox polls while a SendMessage call is blocked waiting for a reply.
comms.reply_timeout_ms3000001000..3600000Default milliseconds a SendMessage(expects_reply=true) call waits for the counterpart's reply before returning a visible non-answer.

compaction

SettingDefaultRangeMeaning
compaction.command_preview_char_limit6000100..1000000Character cap for command output previews in compaction evidence.
compaction.compact_tool_result_char_limit60050..1000000Character cap per tool result in the compact evidence fallback passes.
compaction.evidence_token_budget900005000..1000000Token budget for the transcript evidence given to the compaction model.
compaction.file_preview_lines484..10000Line cap for file previews in compaction evidence.
compaction.match_preview_limit321..10000Maximum search matches quoted in compaction evidence.
compaction.max_preserved_tool_pairs103..100Maximum recent tool exchange pairs preserved verbatim across compaction.
compaction.message_text_char_limit8000200..1000000Character cap per message text when building compaction evidence.
compaction.min_recent_messages202..1000Minimum recent messages always kept out of compaction.
compaction.preserved_trace_token_budget200001000..1000000Token budget for a preserved agentic-trace record carried across compaction.
compaction.raw_tail_token_budget400001000..10000000Token budget for the raw tail retained alongside a checkpoint.
compaction.raw_tail_token_target1000001000..10000000Token size of the raw transcript tail compaction aims to preserve.
compaction.synthesis_max_retries30..10Retries for a failed compaction synthesis call before compaction is abandoned for the turn.
compaction.synthesis_timeout_ms30000010000..3600000Milliseconds a compaction synthesis model call may run before it is failed.
compaction.tool_input_char_limit2400100..1000000Character cap per tool input when building compaction evidence.
compaction.tool_result_char_limit8000100..1000000Character cap per tool result when building compaction evidence.
compaction.verification_max_retries30..10Retries for a failed compaction verification call before the unverified checkpoint path is taken.
compaction.verification_timeout_ms30000010000..3600000Milliseconds a compaction verification model call may run before it is failed.
compaction.working_context_token_limit20000010000..10000000Token ceiling for the working-context document compaction maintains.

context

SettingDefaultRangeMeaning
context.estimate_margin_tokens20000..100000Safety margin tokens added to estimated request input sizes.
context.raw_checkpoint_token_limit20000010000..10000000Raw-context token level at which a durable checkpoint is considered.
context.relief_context_token_limit20000010000..10000000Context token ceiling that triggers relief handling.
context.relief_message_text_chars1200100..1000000Character cap per message text under context relief.
context.relief_preserve_min_messages122..1000Minimum messages always preserved when context-relief trimming activates.
context.relief_raw_tail_tokens240001000..10000000Preferred raw-tail token size when context relief rebuilds the transcript.
context.relief_tool_input_chars50050..1000000Character cap per tool input under context relief.
context.relief_tool_result_chars75050..1000000Character cap per tool result under context relief.

daemon

SettingDefaultRangeMeaning
daemon.auth_timeout_ms200025..30000Milliseconds a connecting client gets to complete the daemon auth handshake.
daemon.boot_grace_ms3000001000..3600000Milliseconds a booting daemon's not-yet-running state file is honored before the boot is treated as wedged and the instance replaced.
daemon.close_grace_ms25025..30000Milliseconds the daemon transport waits for a client connection to close cleanly during shutdown.
daemon.dead_work_grace_ms9000001000..86400000Milliseconds a task record whose process has died keeps its last status before the boot sweep finalizes it as lost.
daemon.dispatch_drain_ms5000100..300000Milliseconds in-flight daemon RPC dispatches get to finish before shutdown cancels them.
daemon.events_rotate_bytes3355443265536..1073741824Byte size at which a daemon instance's events log is rotated.
daemon.events_rotate_check_ms3000001000..3600000Milliseconds between the daemon's checks of its events log for size-based rotation.
daemon.events_tail_bytes655364096..16777216Bytes read from the tail of a daemon events log when loading recent events.
daemon.health_tick_ms2000100..300000Milliseconds between the task supervisor's health reconcile sweeps.
daemon.heartbeat_ms300050..60000Milliseconds between the runtime's liveness checks of its containment daemon; a dead daemon is replaced by exactly one fresh instance.
daemon.instance_lock_timeout_ms5000100..30000Milliseconds to wait for the per-instance daemon-ensure lock before giving up on daemon startup coordination.
daemon.instance_reap_ms360000060000..86400000Milliseconds a dead daemon instance's on-disk directory is kept for diagnosis before the garbage collector removes it.
daemon.live_work_cache_ttl_ms300000..600000Milliseconds the supervisor's live-work verdict cache stays fresh before process liveness is re-verified.
daemon.mailbox_watch_ms1500100..60000Milliseconds between the containment daemon's sweeps of live children's mailboxes for unannounced to_parent messages (the parent-wake signal).
daemon.owner_poll_ms200050..60000Milliseconds between the containment daemon's liveness checks of its owner runtime process; owner death kills all owned workers and exits the daemon.
daemon.rpc_timeout_ms3000025..300000Default milliseconds a daemon RPC may run before the client fails the call; explicit per-call overrides win.
daemon.start_timeout_ms3000025..600000Milliseconds to wait for a starting containment daemon to accept connections before startup is failed.

images

SettingDefaultRangeMeaning
images.max_aggregate_bytes2097152065536..41943040Default byte cap for all input images together when the provider profile is silent.
images.max_bytes524288065536..20971520Default byte cap per input image when the provider profile is silent.
images.max_count81..32Default images accepted per request when the provider profile is silent; bounded by the hardcoded provider ceilings.
images.max_encoded_request_bytes2516582465536..58720256Default byte cap for the encoded request carrying image inputs when the provider profile is silent.

mcp

SettingDefaultRangeMeaning
mcp.blob_keep641..10000Most-recent MCP blob files kept per blob directory.
mcp.body_idle_timeout_ms10000500..600000Default milliseconds of MCP HTTP body silence tolerated.
mcp.close_grace_ms75050..60000Milliseconds an MCP stdio server gets to exit after close before escalation.
mcp.close_kill_wait_ms2000100..60000Milliseconds to wait for an MCP server to die after SIGKILL.
mcp.close_stdin_grace_ms10010..10000Milliseconds after closing an MCP server's stdin before termination proceeds.
mcp.connect_timeout_ms10000500..600000Default milliseconds to establish an MCP HTTP connection.
mcp.headers_timeout_ms10000500..600000Default milliseconds to receive MCP HTTP response headers.
mcp.inline_bytes8000500..10000000Inline byte budget for MCP resource payloads before artifact spill.
mcp.max_resource_page401..1000MCP resources listed per page.
mcp.request_timeout_ms30000500..3600000Default milliseconds per MCP request; per-server settings win.
mcp.startup_timeout_ms10000500..600000Default milliseconds for an MCP server to start; per-server settings win.

memory

SettingDefaultRangeMeaning
memory.max_records481..10000Maximum durable memory records persisted per project.
memory.max_text_chars48040..100000Character cap per durable memory record.
memory.retrieved_records81..1000Maximum durable memory records retrieved into a session's context.
memory.retrieved_token_budget1600100..1000000Token budget for retrieved durable memory in a session's context.

payloads

SettingDefaultRangeMeaning
payloads.file_change_diff_max_lines12010..100000Line cap for the inline diff in a file-change tool result.
payloads.file_change_diff_target_bytes8000500..10000000Byte target the file-change diff is trimmed toward when the payload is over budget.
payloads.file_change_result_max_bytes120001000..10000000Byte cap for a file-change tool result payload before its diff is trimmed.
payloads.inline_output_chars300001000..512000Characters of a tool result returned inline. A larger result is saved to a file and the model gets its path and a preview.
payloads.notebook_cell_source_bytes2000100..10000000Byte cap per notebook cell source in a NotebookRead page.
payloads.notebook_cells_per_page201..1000Notebook cells per NotebookRead page.
payloads.notebook_output_sample_bytes60050..10000000Byte cap per sampled notebook cell output.
payloads.preview_bytes2000200..30000Bytes from the start of a saved tool result shown to the model as its preview.
payloads.read_default_lines20001..100000Lines Read returns when the call gives no limit.
payloads.read_max_tokens250001000..250000Estimated tokens one Read may return. A larger read is refused and the model is told to page with offset and limit.

process

SettingDefaultRangeMeaning
process.activation_timeout_ms300001000..600000Milliseconds an owned worker process waits for its activation payload on stdin before exiting.
process.bash_termination_fallback_ms4000500..600000Milliseconds the Bash termination ladder waits overall before giving up.
process.bash_termination_grace_ms1000100..60000Milliseconds a Bash process gets after SIGTERM before SIGKILL.
process.kill_grace_ms1000100..60000Milliseconds an owned worker process gets to disappear after SIGKILL before termination is reported as failed.
process.spool_max_bytes671088641048576..4294967296Byte cap for a subprocess output spool file before output is truncated.
process.stdio_leak_grace_ms2000100..60000Milliseconds to wait for leaked stdio readers after a Bash process exits.
process.term_grace_ms3000100..60000Milliseconds an owned worker process gets to exit after SIGTERM before the runtime escalates to SIGKILL.

provider

SettingDefaultRangeMeaning
provider.anthropic_max_attempts21..20Default attempts per Anthropic request before the turn fails; per-call maxAttempts wins.
provider.anthropic_retry_delays_ms[350, 700]0..600000Quick-retry delay ladder in milliseconds for Anthropic messages requests; a small random jitter is added on top.
provider.compaction_headroom_ratio0.250.01..0.9Fraction of the compaction threshold reserved as output headroom for the compaction model.
provider.compaction_preservation_ratio0.10.01..0.9Fraction of the source transcript compaction aims to preserve verbatim.
provider.compaction_threshold_tokens20000010000..100000000Default token level that triggers compaction when the profile does not declare compactionThresholdTokens.
provider.google_max_attempts41..20Default attempts per Google Gemini request before the turn fails; per-call maxAttempts wins.
provider.google_retry_delays_ms[1000, 3000, 5000, 10000]0..600000Escalating retry backoff ladder in milliseconds for Google Gemini requests; attempts beyond the ladder reuse its last entry and a small random jitter is added on top.
provider.json_response_timeout_ms1200001000..3600000Milliseconds to wait for a complete non-streaming provider JSON response.
provider.max_context_length2000008000..100000000Default provider context length in tokens when the profile does not declare maxContextLength and no model rule infers one.
provider.max_output_tokens16384256..1000000Fallback max output tokens per provider request when neither the request nor the provider profile specifies one.
provider.openai_max_attempts61..20Default attempts per OpenAI-kind request before the turn fails; per-call maxAttempts wins.
provider.openai_retry_delays_ms[1000, 3000, 5000, 10000, 30000]0..600000Escalating retry backoff ladder in milliseconds for OpenAI-kind provider requests; attempts beyond the ladder reuse its last entry.
provider.output_budget_safety_margin_tokens40960..1000000Safety margin subtracted from the provider output budget when sizing requests.
provider.partial_output_ack_timeout_ms5000100..600000Milliseconds to wait for a partial-output sink acknowledgement before proceeding without it.
provider.request_start_timeout_ms1200001000..3600000Milliseconds to wait for a provider request to start streaming before the attempt is failed as timed out.
provider.stream_idle_timeout_ms600001000..3600000Milliseconds of stream silence tolerated before a provider attempt is failed as idle.
provider.token_count_timeout_ms150001000..600000Default milliseconds for a provider token-count request; per-profile tokenCountTimeoutMs and per-call options win.
provider.total_request_timeout_ms60000010000..7200000Default milliseconds for a whole provider request; per-profile totalRequestTimeoutMs and per-call options win.

runtime

SettingDefaultRangeMeaning
runtime.close_failure_ms10000500..600000Milliseconds runtime close waits for component cleanup before reporting the close as failed.

scheduler

SettingDefaultRangeMeaning
scheduler.clock_check_ms300001000..3600000Longest the scheduler's timer sleeps before re-reading the wall clock and the job records: a machine that slept, a changed clock or a job written by another process is noticed within this. It sleeps less when a job is due sooner and wakes at once for jobs added through this process.
scheduler.max_late_msunset1000..How late a scheduled job may still fire after its time (the host was down or asleep); a later fire is skipped with a visible notice. Unset: no bound; it fires late and says by how much.

sessions

SettingDefaultRangeMeaning
sessions.background_max_provider_callsunset1..Provider calls a background turn the runtime starts itself (continuity for a child's message) may make before it is ended. Unset: no ceiling.
sessions.background_max_tool_callsunset1..Tool calls a background turn the runtime starts itself may make before it is ended. Unset: no ceiling.
sessions.background_max_wait_ms120000100..3600000Milliseconds the oldest waiting background turn of a session (a child's message, a monitor delivery) may wait behind user turns before it takes the next slot. The age is never reset by newer arrivals.
sessions.background_timeout_msunset1..Milliseconds a background turn the runtime starts itself may run before it is ended. Unset: no ceiling.
sessions.idle_close_ms90000050..86400000Milliseconds an open session may stay idle (no turn running, nothing queued) before the runtime unloads it. It stays resumable and any turn reopens it; having children is not a reason to stay open.
sessions.monitor_claim_lease_msunset1000..300000Lease taken on a monitor delivery while the runtime works on it, renewed while the work runs; a crashed runtime's claim expires after it. Unset: the controller's maximum, 300000 (a lease is fencing, not a ceiling).
sessions.monitor_cleanup_msunset1..Milliseconds reserved at the end of the delivery deadline for failure bookkeeping and cancellation cleanup (at most a third of it). Unset: no reserve; cleanup is cancel-and-quarantine.
sessions.monitor_poll_ms1000100..3600000Milliseconds between the runtime's monitor intake polls: observe every monitor, then offer pending deliveries to their sessions.
sessions.monitor_renew_ms50050..60000Milliseconds between lease renewals while a monitor delivery is worked on; a renewal is also where a stop or mute is noticed and the work abandoned.
sessions.monitor_total_deadline_msunset1..Milliseconds one monitor delivery (claim, authoring, checkpoint, publication) may take in total. Unset: no ceiling.
sessions.pending_retry_msunset1..Base delay before pending work for a session the host answered Unavailable(retry=True) is offered again; it doubles per refusal up to 15 minutes. Unset: offered again at the daemon's next announcement.

storage

SettingDefaultRangeMeaning
storage.lock_timeout_ms5000500..60000Default milliseconds to wait for a storage file lock before the operation fails; explicit per-call timeouts win.

subagents

SettingDefaultRangeMeaning
subagents.continuation_lease_ms300001000..3600000Milliseconds a subagent continuation lease stays valid before it may be re-claimed.
subagents.max_depth21..10Maximum nesting depth for subagents spawning subagents.
subagents.max_live81..64Maximum live subagent processes per runtime instance; at capacity the Agent tool returns the live-children roster instead of spawning.
subagents.resident_idle_ttl_ms900000100..86400000Milliseconds a resident subagent may stay idle (no turn, no queued message, no open question, no work of its own) before it stops for good. Working time never counts.
subagents.resident_poll_ms1000100..60000Milliseconds between a resident subagent's mailbox polls while idle between turns.

tasks

SettingDefaultRangeMeaning
tasks.health_drain_timeout_ms10000500..600000Milliseconds health-check work gets to drain during shutdown.
tasks.health_event_excerpt_bytes4096256..10000000Byte cap per recorded health-check event excerpt.
tasks.health_log_max_bytes419430465536..1073741824Byte size at which a health-check log rotates.
tasks.health_log_rotations31..100Rotated health-check log files kept.
tasks.monitor_check_interval_ms5000250..3600000Default milliseconds between monitor checks; per-monitor checkIntervalMs wins.
tasks.monitor_heartbeat_interval_ms600001000..86400000Default milliseconds between monitor heartbeats; per-monitor value wins.
tasks.monitor_min_progress_bytes1201..1000000Minimum new output bytes for a monitor observation to count as progress.
tasks.monitor_narration_spacing_ms200001000..3600000Minimum milliseconds between narrated monitor updates.
tasks.monitor_output_excerpt_chars6000200..1000000Character cap for narrated monitor output excerpts.
tasks.monitor_tick_ms1500100..60000Milliseconds between monitor runtime ticks; per-call tickIntervalMs wins.

tools

SettingDefaultRangeMeaning
tools.diff_context_lines30..100Unchanged context lines around each hunk in file-change diffs.
tools.search_timeout_ms1200001000..3600000Default milliseconds a streaming code search may run; per-call timeouts win.
tools.task_output_poll_ms25050..60000Milliseconds between TaskOutput polls while blocking on a running task.

web

SettingDefaultRangeMeaning
web.fetch_body_idle_timeout_ms10000500..600000Milliseconds of WebFetch body silence tolerated before the fetch fails; per-call overrides win.
web.fetch_connect_timeout_ms10000500..600000Milliseconds to establish a WebFetch connection; per-call overrides win.
web.fetch_headers_timeout_ms10000500..600000Milliseconds to receive WebFetch response headers; per-call overrides win.
web.fetch_max_redirects50..20Maximum redirects followed per WebFetch acquisition.
web.fetch_private_host_allowlist""Comma-separated hostnames, IP addresses, or CIDR blocks exempted from the web fetch plane's private-address block (loopback, RFC1918, and other non-global destinations); link-local and cloud-metadata endpoints are never exempted.
web.fetch_total_timeout_ms300001000..3600000Total milliseconds for one WebFetch acquisition; per-call overrides win.

Found a mistake? Edit this page on GitHub.