Skip to content

AgentTiming

View as Markdown

Defined in: agent/src/transport/types.ts:9

Property Type Description Defined in
backoffMaxMs number Default 30 000. agent/src/transport/types.ts:13
backoffMinMs number Reconnect backoff: starts here, doubles per failed attempt (with jitter). Default 1 000. agent/src/transport/types.ts:11
httpRetryMaxMs number HTTP upstream retries (hub answered retry, or the POST failed): 500 ms doubling up to this. Default 10 000. agent/src/transport/types.ts:34
idleTimeoutMs number No data from the hub for this long → the connection is presumed dead. Default 35 000 (hub pings every 10 s). agent/src/transport/types.ts:21
stableMs number The backoff only resets after a connection stayed up this long. Default 30 000. agent/src/transport/types.ts:23
toolTimeoutMs number A tool_call without tool_result fails with tool_failed after this. Default 150 000: longer than the hub’s own limit (toolTimeoutMs 120 000 + 10 000 lease grace), so the hub’s answer (result or “timed out on the website”) normally arrives first. agent/src/transport/types.ts:19
uploadIdleMs number A chunked attachment upload with no frame for this long is dropped. Default 60 000. agent/src/transport/types.ts:25
wsFallbackAfter number Consecutive WebSocket attempts that never got a welcome or lasted less than stableMs before the agent switches to HTTP streaming (when the site offers it). Default 3. agent/src/transport/types.ts:30
wsReprobeMs number After falling back to HTTP, WebSocket is tried again after this long. Default 1 800 000 (30 min). agent/src/transport/types.ts:32