Per-Step-Kind Costs

REAL

The model profiles the tool kinds whose execution was read in the worker and tools code (step_kinds.kinds, as_of 2026-11-11). For each it says how the kind runs, how long it holds a worker slot, and what timeout applies by default. The rest of the parser's kinds (artifact, gateway, gcs, iterator, nats, playbooks, secrets, snowflake_transfer, workbook) are listed as not profiled; nothing is measured for them.

KindRunsHolds the slotDefault timeout
pythonsubprocesswhole runnone unless the step sets timeout_seconds
shellsubprocesswhole runnone unless the step sets timeout_seconds
httpin processwhole request30 s client default; timeout_seconds overrides. The body is read in full, no cap
postgresin process, a pool per connection stringwhole querynone set by the tool
duckdbin processwhole query, in the worker's memorynone
rhaiin processwhole scriptnone, and no operation limits
wasmin process, one module at a time per workerinvocation plus any wait for the wasm lock30 s (21.3)
mcpremote JSON-RPCwhole callNOETL_MCP_REQUEST_TIMEOUT_SECONDS, clamped to 180 s
agentin-process loop of remote model callsthe whole loopbounded by tool-call and child limits
playbooka separate child executiononly for the start request; with return_result / return_step the whole child, polling every 2 s30 s to start; the await is the step's timeout, else 180 s / 300 s
scriptKubernetes Job, polled every 2 suntil the Job finishes600 s
containerKubernetes Jobno: freed once the Job is created; a callback ends the stepnone by default
snowflakeremote RESTwhole statement60 s statement timeout
task_sequencein process, sub-tasks in orderall sub-tasksper sub-task
noopin processbrieflyit still pays the per-step orchestration cost

(Each row cites tools v4.6.0 or worker d1c9584, which is in v6.15.0; the per-kind citations are in Appendix B.)

Two rules that hold for every kind

  • No global timeout. "The worker sets no wall-clock timeout per command" (step_kinds.no_global_timeout, tools v4.6.0 src/registry.rs:241-259). A kind with no default timeout can hold a slot indefinitely unless the step sets one.
  • The tool retry config is inert. ToolConfig.retry is parsed but no executor applies it (step_kinds.retry_config_inert). Do not budget for automatic retries (6.5).

What has been measured

Only a few kinds have numbers, and most of them are about orchestration around the kind, not the kind itself:

KindFigureLabel
python0.66 s warm / 1.20 s cold for a simple playbook end to endMEASURED, idle kind, 2026-05
python9.3 s → 3.0 s when a provider call moved from a kind: playbook child to inline pythonMEASURED, prod, 2026-08-24
playbook~9 s of orchestration per hop, regardless of the work insideMEASURED, prod, 2026-08-24
playbookmedian 34.7 s → 19.4 s (−44%) when provider children were inlinedMEASURED, prod, 2026-06-29 (paired A/B)
wasm~1.5 s once, first dispatch of a ~1.6 MB module on a fresh podMEASURED, kind, 2026-06
agenta hosted LLM call inside a real stepNOT_YET_MEASURED

The per-step latency of http, duckdb, postgres and mcp steps on prod is not measured (21.6).

Check your understanding