Limits: WASM Fuel, Agent Caps, Context Sizes

REAL

A limit is a number that stops something. The model lists the ones a worker or server enforces, each with the variable that changes it (limits, as_of 2026-11-11). All are DEFAULT: code values a deployment may override. The ones checked for this page against worker v6.15.0 are marked ✓.

Plug-ins (kind: wasm)

LimitDefaultVariable
fuel per invocation10,000,000,000 ✓NOETL_WASM_FUEL (0, off, none or unlimited removes it)
wall clock per invocation30 s ✓ (10 ms granularity)NOETL_WASM_TIMEOUT_MS
linear memory1024 MiB ✓NOETL_WASM_MAX_MEMORY_MB

(worker src/plugin.rs:41-47.) A trip increments noetl_worker_plugin_limit_trips_total{limit}. No metric reports the fuel a run actually spent; the model says to read it from the worker's debug log.

Agent steps (kind: agent)

LimitDefaultVariable
tool calls per agent step32 ✓NOETL_AGENT_MAX_TOOL_CALLS
time per playbook-bound child180 s ✓NOETL_AGENT_TOOL_TIMEOUT_SECS
turns8step max_turns
tokens per model call4096step max_tokens

(worker src/executor/agent_host.rs:50-51; tools v4.6.0 src/tools/agent.rs.) The model cannot raise the tool-call budget; exceeding it ends the step with agent.final refused: tool_call_budget. Worst case for one step: 32 × 180 s = 96 minutes of one held slot (GUIDANCE).

Sizes

LimitDefaultWhat happens past it
step result in an event (NOETL_EVENT_RESULT_CONTEXT_MAX_BYTES)100 KiBspilled to the result store; a downstream read becomes a fetch (5.3)
command context (NOETL_COMMAND_CONTEXT_MAX_BYTES)512 KiBoffloaded as a __context_ref__
request body on /api/execute and /api/events2 MiBrefused (the axum default; no explicit layer)
events returned by GET /api/executions/{id}the 2000 most recentolder ones are not in the response

Waiting and draining

LimitDefaultVariable
extra retry window for event emits while the server is down (the slot stays held)120 sNOETL_EVENT_EMIT_OUTAGE_BUDGET_SECS
finishing in-flight commands on SIGTERM150 sNOETL_WORKER_DRAIN_TIMEOUT_SECS
slots per worker4 ✓WORKER_MAX_CONCURRENT (21.4)

What is not a limit

There is no per-command wall-clock timeout, no cap on back-edge re-runs, and no cap on loop: items (6.4). A step is bounded by its own tool's timeout and nothing else (21.2).

Check your understanding